summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/my_getopt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index 8321ad4cd1c..a1a052ac8e2 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -45,3 +45,8 @@ struct my_option
my_bool opt_is_var; /* If true, the option is a variable */
};
+extern int handle_options (int *argc, char ***argv,
+ const struct my_option *longopts,
+ my_bool (*get_one_option)(int,
+ const struct my_option *,
+ char *));