Commit Graph

15 Commits

Author SHA1 Message Date
Armin Novak
72ca88f49c Reformatted to new style 2019-11-07 10:53:54 +01:00
Armin Novak
0c87eaee4d 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.
2019-10-28 13:30:05 +01:00
Bernhard Miklautz
472f7ea936 fix [winpr/util]: memory leak in TestCmdLine 2018-11-05 12:29:06 +01:00
Pascal J. Bourguignon
17a3782d1a FIX: moved declarations above the statements for strict C 90 compliance. 2018-06-07 13:29:44 +02:00
Pascal J. Bourguignon
15f2bafeab Cleaned up const char** -> char** for argv, since we definitely do modify the argv!
(we overwrite the password and pin arguments).
This implies changes in the argument parsing tests that now must pass a mutable argv
(copied from the statically declared test argvs).
Some other const inconsistency have been dealt with too.
2018-06-06 16:43:09 +02:00
Armin Novak
4eb5b8e349 Replaced atoi 2017-11-15 15:52:16 +01:00
Norbert Federa
f71b6b46e8 fix string format specifiers
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Bernhard Miklautz
103171a98e Fixed compiler warnings (-Wall) 2013-03-15 20:41:10 +01:00
Marc-André Moreau
d4045895ef libwinpr-utils: added post/pre command-line filters 2012-11-06 23:07:03 -05:00
Marc-André Moreau
e133d01376 libfreerdp-client: improved set of new command-line options 2012-11-06 22:08:09 -05:00
Marc-André Moreau
5ad116b468 libwinpr-utils: extended command-line API 2012-11-06 18:49:02 -05:00
Marc-André Moreau
b250cce496 libwinpr-utils: improved command-line API 2012-11-04 16:09:43 -05:00
Marc-André Moreau
a4bf11cdb6 libwinpr-utils: improve command-line parsing API 2012-11-02 14:16:37 -04:00
Marc-André Moreau
37886515a0 libwinpr-utils: extended command-line parsing api 2012-11-02 00:58:32 -04:00
Marc-André Moreau
f62180ec2a libwinpr-utils: started command-line parser 2012-11-02 00:20:46 -04:00