22 #ifndef CMDLINE_PARSER_PACKAGE 
   24 #define CMDLINE_PARSER_PACKAGE PACKAGE 
   27 #ifndef CMDLINE_PARSER_PACKAGE_NAME 
   30 #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE_NAME 
   32 #define CMDLINE_PARSER_PACKAGE_NAME PACKAGE 
   36 #ifndef CMDLINE_PARSER_VERSION 
   38 #define CMDLINE_PARSER_VERSION VERSION 
   89 extern const char *gengetopt_args_info_purpose;
 
   91 extern const char *gengetopt_args_info_usage;
 
   93 extern const char *gengetopt_args_info_description;
 
   95 extern const char *gengetopt_args_info_help[];
 
  104 int cmdline_parser (
int argc, 
char **argv,
 
  118 int cmdline_parser2 (
int argc, 
char **argv,
 
  120   int override, 
int initialize, 
int check_required);
 
  130 int cmdline_parser_ext (
int argc, 
char **argv,
 
  140 int cmdline_parser_dump(FILE *outfile,
 
  150 int cmdline_parser_file_save(
const char *filename,
 
  156 void cmdline_parser_print_help(
void);
 
  160 void cmdline_parser_print_version(
void);
 
  197   const char *prog_name);
 
int msg_info_flag
Output informational messages about the progress of the library (default=on). 
int initialize
whether to initialize the option structure gengetopt_args_info (default 1) 
const char * msg_status_help
Output status messages help description. 
int msg_warning_flag
Output warning messages about abnormal conditions and unknown constructs (default=on). 
char * import_format_arg
Force the file format of the file(s) specified (default='AUTODETECT'). 
unsigned int msg_warning_given
Whether msg_warning was given. 
Where the command line options are stored. 
unsigned int msg_error_given
Whether msg_error was given. 
unsigned int help_given
Whether help was given. 
unsigned int msg_debug_given
Whether msg_debug was given. 
unsigned int msg_status_given
Whether msg_status was given. 
unsigned int msg_parser_given
Whether msg_parser was given. 
int msg_debug_flag
Output messages meant for debuging (default=off). 
unsigned int list_import_formats_given
Whether list-import-formats was given. 
const char * msg_parser_help
Output file parsing messages help description. 
The additional parameters to pass to parser functions. 
const char * list_import_formats_help
List available import file formats 'import-format' command help description. 
unsigned int import_format_given
Whether import-format was given. 
const char * version_help
Print version and exit help description. 
char * import_format_orig
Force the file format of the file(s) specified original value given at command line. 
const char * msg_error_help
Output error messages help description. 
const char * import_format_help
Force the file format of the file(s) specified help description. 
const char * help_help
Print help and exit help description. 
int msg_error_flag
Output error messages (default=on). 
const char * msg_debug_help
Output messages meant for debuging help description. 
unsigned inputs_num
unamed options number 
int msg_status_flag
Output status messages (default=on). 
int msg_parser_flag
Output file parsing messages (default=off). 
int print_errors
whether getopt_long should print an error message for a bad option (default 1) 
int check_ambiguity
whether to check for options already specified in the option structure gengetopt_args_info (default 0...
int check_required
whether to check that all required options were provided (default 1) 
const char * msg_info_help
Output informational messages about the progress of the library help description. ...
unsigned int msg_info_given
Whether msg_info was given. 
char ** inputs
unamed options (options without names) 
const char * msg_warning_help
Output warning messages about abnormal conditions and unknown constructs help description. 
unsigned int version_given
Whether version was given.