/* cmdline1.h */ /* File autogenerated by gengetopt version 2.7.1 */ #ifndef _cmdline1_h #define _cmdline1_h #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Don't define PACKAGE and VERSION if we use automake. */ #ifndef PACKAGE #define PACKAGE "sample1" #endif #ifndef VERSION #define VERSION "2.0" #endif struct gengetopt_args_info { char * str_opt_arg; /* A string option. */ int my_opt_arg; /* Another integer option. */ int int_opt_arg; /* A int option. */ int flag_opt_flag; /* A flag option (default=off). */ long long_opt_arg; /* A long option. */ char * def_opt_arg; /* A string option with default (default='Hello'). */ int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int str_opt_given ; /* Whether str-opt was given. */ int my_opt_given ; /* Whether my-opt was given. */ int int_opt_given ; /* Whether int-opt was given. */ int flag_opt_given ; /* Whether flag-opt was given. */ int funct_opt_given ; /* Whether funct-opt was given. */ int long_opt_given ; /* Whether long-opt was given. */ int def_opt_given ; /* Whether def-opt was given. */ char **inputs ; /* unamed options */ unsigned inputs_num ; /* unamed options number */ } ; int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); void cmdline_parser_print_help(void); void cmdline_parser_print_version(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* _cmdline1_h */