/* cmdline.h */ /* File autogenerated by gengetopt version 2.4 */ #ifndef _cmdline_h #define _cmdline_h #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Don't define PACKAGE and VERSION if we use automake. */ #ifndef PACKAGE /* ******* WRITE THE NAME OF YOUR PROGRAM HERE ******* */ #define PACKAGE "" #endif #ifndef VERSION /* ******* WRITE THE VERSION OF YOUR PROGRAM HERE ******* */ #define VERSION "" #endif struct gengetopt_args_info { char * css_arg; /* use a css for formatting. Implies --doc. */ char * title_arg; /* give a title to the html. Implies --doc. */ char * input_arg; /* input file. default std input. */ char * output_arg; /* output file. default std output. */ int tab_arg; /* specify tab length. default 8. */ char * header_arg; /* file to insert as header. */ char * footer_arg; /* file to insert as footer. */ char * tags_file_arg; /* specify format options (def. tags.j2h). */ int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int verbose_given ; /* Whether verbose was given. */ int doc_given ; /* Whether doc was given. */ int css_given ; /* Whether css was given. */ int title_given ; /* Whether title was given. */ int input_given ; /* Whether input was given. */ int output_given ; /* Whether output was given. */ int tab_given ; /* Whether tab was given. */ int header_given ; /* Whether header was given. */ int footer_given ; /* Whether footer was given. */ int tags_file_given ; /* Whether tags-file 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 /* _cmdline_h */