/* no_multi_strings_cmd.h */ /* File autogenerated by gengetopt */ #ifndef NO_MULTI_STRINGS_CMD_H #define NO_MULTI_STRINGS_CMD_H /* If we use autoconf. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef NO_MULTI_STRINGS_CMD_PARSER_PACKAGE #define NO_MULTI_STRINGS_CMD_PARSER_PACKAGE "no multi strings" #endif #ifndef NO_MULTI_STRINGS_CMD_PARSER_VERSION #define NO_MULTI_STRINGS_CMD_PARSER_VERSION "0.1" #endif struct gengetopt_args_info { const char *help_help; /* Print help and exit help description. */ const char *version_help; /* Print version and exit help description. */ int test_arg; /* This is a test option (default='5'). */ char * test_orig; /* This is a test option original value given at command line. */ const char *test_help; /* This is a test option help description. */ int* multi_arg; /* This is a multi option. */ char ** multi_orig; /* This is a multi option original value given at command line. */ int multi_min; /* This is a multi option's minimum occurreces */ int multi_max; /* This is a multi option's maximum occurreces */ const char *multi_help; /* This is a multi option help description. */ int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int test_given ; /* Whether test was given. */ unsigned int multi_given ; /* Whether multi was given. */ char **inputs ; /* unamed options */ unsigned inputs_num ; /* unamed options number */ } ; extern const char *gengetopt_args_info_purpose; extern const char *gengetopt_args_info_usage; extern const char *gengetopt_args_info_help[]; int no_multi_strings_cmd_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); int no_multi_strings_cmd_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); int no_multi_strings_cmd_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); void no_multi_strings_cmd_parser_print_help(void); void no_multi_strings_cmd_parser_print_version(void); void no_multi_strings_cmd_parser_init (struct gengetopt_args_info *args_info); void no_multi_strings_cmd_parser_free (struct gengetopt_args_info *args_info); int no_multi_strings_cmd_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* NO_MULTI_STRINGS_CMD_H */