diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-01-13 18:34:04 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2011-01-13 18:34:04 +0100 |
commit | 2917e71aadae004f3a353c3de0672d7534e1a2bf (patch) | |
tree | de254390ede76ba980bb0a39a4f2abb42a69ee67 /tests/torture.h | |
parent | 551b87b65b209255e60fbcaf146c43f2188ddc39 (diff) | |
download | libssh-2917e71aadae004f3a353c3de0672d7534e1a2bf.tar.gz libssh-2917e71aadae004f3a353c3de0672d7534e1a2bf.tar.xz libssh-2917e71aadae004f3a353c3de0672d7534e1a2bf.zip |
Replaced argp support for platforms that support it
Argp is really useful, but it's not mandatory.
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h index 271fdd20..3aa73112 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -12,6 +12,15 @@ #include <setjmp.h> #include <google/cmockery.h> + +/* Used by main to communicate with parse_opt. */ +struct argument_s { + char *args[2]; + int verbose; +}; + +void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments); + /* * Returns the verbosity level asked by user */ |