aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/torture.h')
-rw-r--r--tests/torture.h9
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
*/