/* test_values_cmd.h */ /* File autogenerated by gengetopt */ #ifndef TEST_VALUES_CMD_H #define TEST_VALUES_CMD_H /* If we use autoconf. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef TEST_VALUES_CMD_PARSER_PACKAGE #define TEST_VALUES_CMD_PARSER_PACKAGE "test_values" #endif #ifndef TEST_VALUES_CMD_PARSER_VERSION #define TEST_VALUES_CMD_PARSER_VERSION "1.0" #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. */ char * string_values_arg; /* string option with values. */ char * string_values_orig; /* string option with values original value given at command line. */ const char *string_values_help; /* string option with values help description. */ char * string_values_def_arg; /* string option with values and default (default='bar'). */ char * string_values_def_orig; /* string option with values and default original value given at command line. */ const char *string_values_def_help; /* string option with values and default help description. */ char * string_values_def_argopt_arg; /* string option with values and default and optional argument (default='foobar'). */ char * string_values_def_argopt_orig; /* string option with values and default and optional argument original value given at command line. */ const char *string_values_def_argopt_help; /* string option with values and default and optional argument help description. */ char * string_values_no_short_arg; /* string option with values no short. */ char * string_values_no_short_orig; /* string option with values no short original value given at command line. */ const char *string_values_no_short_help; /* string option with values no short help description. */ char ** multistring_values_arg; /* multiple string option with values. */ char ** multistring_values_orig; /* multiple string option with values original value given at command line. */ int multistring_values_min; /* multiple string option with values's minimum occurreces */ int multistring_values_max; /* multiple string option with values's maximum occurreces */ const char *multistring_values_help; /* multiple string option with values help description. */ char ** multistring_values_def_arg; /* multiple string option with values and default (default='foo'). */ char ** multistring_values_def_orig; /* multiple string option with values and default original value given at command line. */ int multistring_values_def_min; /* multiple string option with values and default's minimum occurreces */ int multistring_values_def_max; /* multiple string option with values and default's maximum occurreces */ const char *multistring_values_def_help; /* multiple string option with values and default help description. */ char ** multistring_values_no_short_arg; /* multiple string option with values no-short. */ char ** multistring_values_no_short_orig; /* multiple string option with values no-short original value given at command line. */ int multistring_values_no_short_min; /* multiple string option with values no-short's minimum occurreces */ int multistring_values_no_short_max; /* multiple string option with values no-short's maximum occurreces */ const char *multistring_values_no_short_help; /* multiple string option with values no-short help description. */ char * string_values_group_arg; /* group string option with values and default (default='bar'). */ char * string_values_group_orig; /* group string option with values and default original value given at command line. */ const char *string_values_group_help; /* group string option with values and default help description. */ int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int string_values_given ; /* Whether string-values was given. */ int string_values_def_given ; /* Whether string-values-def was given. */ int string_values_def_argopt_given ; /* Whether string-values-def-argopt was given. */ int string_values_no_short_given ; /* Whether string-values-no-short was given. */ unsigned int multistring_values_given ; /* Whether multistring-values was given. */ unsigned int multistring_values_def_given ; /* Whether multistring-values-def was given. */ unsigned int multistring_values_no_short_given ; /* Whether multistring-values-no-short was given. */ int string_values_group_given ; /* Whether string-values-group was given. */ char **inputs ; /* unamed options */ unsigned inputs_num ; /* unamed options number */ int group1_group_counter; /* counter for group group1 */ } ; extern const char *gengetopt_args_info_purpose; extern const char *gengetopt_args_info_usage; extern const char *gengetopt_args_info_help[]; int test_values_cmd_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); int test_values_cmd_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); int test_values_cmd_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); void test_values_cmd_parser_print_help(void); void test_values_cmd_parser_print_version(void); void test_values_cmd_parser_init (struct gengetopt_args_info *args_info); void test_values_cmd_parser_free (struct gengetopt_args_info *args_info); int test_values_cmd_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); extern char *test_values_cmd_parser_string_values_values[] ; /* Possible values for string-values. */ extern char *test_values_cmd_parser_string_values_def_values[] ; /* Possible values for string-values-def. */ extern char *test_values_cmd_parser_string_values_def_argopt_values[] ; /* Possible values for string-values-def-argopt. */ extern char *test_values_cmd_parser_string_values_no_short_values[] ; /* Possible values for string-values-no-short. */ extern char *test_values_cmd_parser_multistring_values_values[] ; /* Possible values for multistring-values. */ extern char *test_values_cmd_parser_multistring_values_def_values[] ; /* Possible values for multistring-values-def. */ extern char *test_values_cmd_parser_multistring_values_no_short_values[] ; /* Possible values for multistring-values-no-short. */ extern char *test_values_cmd_parser_string_values_group_values[] ; /* Possible values for string-values-group. */ #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* TEST_VALUES_CMD_H */