COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance
authorArmin Novak <armin.novak@thincast.com>
Mon, 28 Oct 2019 09:10:14 +0000 (10:10 +0100)
committerArmin Novak <armin.novak@thincast.com>
Mon, 28 Oct 2019 12:30:05 +0000 (13:30 +0100)
commit0c87eaee4d7067b613105d423033bab1729dc2e0
tree343a53f03541ca05e5c1b9178bd65bf8f03e5ae1
parent9e32899347e749670795456bccd7140fb8a2cc8d
COMMAND_LINE_ARGUMENT structs contain parser results, use one per instance

Remove the old global structs as the parser modifies them. When using
multiple instances in the same process space this could break parsing.
21 files changed:
channels/audin/client/alsa/audin_alsa.c
channels/audin/client/audin_main.c
channels/audin/client/mac/audin_mac.c
channels/audin/client/opensles/audin_opensl_es.c
channels/audin/client/oss/audin_oss.c
channels/audin/client/pulse/audin_pulse.c
channels/audin/client/winmm/audin_winmm.c
channels/rdpsnd/client/alsa/rdpsnd_alsa.c
channels/rdpsnd/client/fake/rdpsnd_fake.c
channels/rdpsnd/client/opensles/rdpsnd_opensles.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/rdpsnd/client/pulse/rdpsnd_pulse.c
channels/rdpsnd/client/rdpsnd_main.c
channels/tsmf/client/tsmf_main.c
channels/urbdrc/client/libusb/libusb_udevman.c
channels/urbdrc/client/urbdrc_main.c
client/common/cmdline.c
client/common/cmdline.h
client/common/compatibility.c
server/shadow/shadow_server.c
winpr/libwinpr/utils/test/TestCmdLine.c