3 /* File autogenerated by gengetopt version 2.20 */
8 /* If we use autoconf. */
15 #endif /* __cplusplus */
17 #ifndef CMDLINE_PARSER_PACKAGE
18 #define CMDLINE_PARSER_PACKAGE "gimmick"
21 #ifndef CMDLINE_PARSER_VERSION
22 #define CMDLINE_PARSER_VERSION "0.1.0"
25 struct gengetopt_args_info
27 const char *help_help; /* Print help and exit help description. */
28 const char *version_help; /* Print version and exit help description. */
29 int print_flag; /* Prints the local database tree (default=off). */
30 const char *print_help; /* Prints the local database tree help description. */
31 char * file_arg; /* Adds the file to local database. */
32 char * file_orig; /* Adds the file to local database original value given at command line. */
33 const char *file_help; /* Adds the file to local database help description. */
34 char * dir_arg; /* Adds the directory to local database. */
35 char * dir_orig; /* Adds the directory to local database original value given at command line. */
36 const char *dir_help; /* Adds the directory to local database help description. */
37 int recurse_flag; /* Recurse into sub-directories (default=off). */
38 const char *recurse_help; /* Recurse into sub-directories help description. */
39 int verbose_arg; /* Verbosity level (default='1'). */
40 char * verbose_orig; /* Verbosity level original value given at command line. */
41 const char *verbose_help; /* Verbosity level help description. */
42 int debug_arg; /* Debug messages level (default='0'). */
43 char * debug_orig; /* Debug messages level original value given at command line. */
44 const char *debug_help; /* Debug messages level help description. */
46 int help_given ; /* Whether help was given. */
47 int version_given ; /* Whether version was given. */
48 int print_given ; /* Whether print was given. */
49 int file_given ; /* Whether file was given. */
50 int dir_given ; /* Whether dir was given. */
51 int recurse_given ; /* Whether recurse was given. */
52 int verbose_given ; /* Whether verbose was given. */
53 int debug_given ; /* Whether debug was given. */
57 extern const char *gengetopt_args_info_purpose;
58 extern const char *gengetopt_args_info_usage;
59 extern const char *gengetopt_args_info_help[];
61 int cmdline_parser (int argc, char * const *argv,
62 struct gengetopt_args_info *args_info);
63 int cmdline_parser2 (int argc, char * const *argv,
64 struct gengetopt_args_info *args_info,
65 int override, int initialize, int check_required);
66 int cmdline_parser_file_save(const char *filename,
67 struct gengetopt_args_info *args_info);
69 void cmdline_parser_print_help(void);
70 void cmdline_parser_print_version(void);
72 void cmdline_parser_init (struct gengetopt_args_info *args_info);
73 void cmdline_parser_free (struct gengetopt_args_info *args_info);
75 int cmdline_parser_required (struct gengetopt_args_info *args_info,
76 const char *prog_name);
81 #endif /* __cplusplus */
82 #endif /* GIMMICK_GGO_H */