source file

    /* cmdline.h */

    /* File autogenerated by gengetopt version 2.12rc6  */

    #ifndef CMDLINE_H
    #define CMDLINE_H

    /* If we use autoconf.  */
    #ifdef HAVE_CONFIG_H
    #include "config.h"
    #endif

    #ifdef __cplusplus
    extern "C" {
    #endif /* __cplusplus */

    #ifndef CMDLINE_PARSER_PACKAGE
    #define CMDLINE_PARSER_PACKAGE PACKAGE
    #endif

    #ifndef CMDLINE_PARSER_VERSION
    #define CMDLINE_PARSER_VERSION VERSION
    #endif

    struct gengetopt_args_info
    {
      char * input_arg;	/* input file. default std input.  */
      char * output_arg;	/* output file. default std output.  */
      char * src_lang_arg;	/* source language (e.g. java, javascript, cpp, prolog, perl, php3, python, ruby, flex, changelog,lua,caml,sml).   If not specified, the source language will be guessed from the file extension..  */
      char * out_format_arg;	/* output format (e.g. html, xhtml, esc).  */
      char * css_arg;	/* use a css for formatting. Implies --doc.  */
      char * title_arg;	/* give a title to the html. Implies --doc.  */
      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).  */
      char * output_dir_arg;	/* output directory.  */
      int gen_version_flag;	/* put gengetopt version in the generated file (default=on).  */

      int help_given ;	/* Whether help was given.  */
      int version_given ;	/* Whether version was given.  */
      int input_given ;	/* Whether input was given.  */
      int output_given ;	/* Whether output was given.  */
      int src_lang_given ;	/* Whether src-lang was given.  */
      int out_format_given ;	/* Whether out-format was given.  */
      int verbose_given ;	/* Whether verbose was given.  */
      int doc_given ;	/* Whether doc was given.  */
      int no_doc_given ;	/* Whether no-doc was given.  */
      int css_given ;	/* Whether css was given.  */
      int title_given ;	/* Whether title 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.  */
      int line_number_given ;	/* Whether line-number was given.  */
      int line_number_ref_given ;	/* Whether line-number-ref was given.  */
      int output_dir_given ;	/* Whether output-dir was given.  */
      int gen_version_given ;	/* Whether gen-version 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);
    int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize);

    void cmdline_parser_print_help(void);
    void cmdline_parser_print_version(void);

    void cmdline_parser_init (struct gengetopt_args_info *args_info);
    void cmdline_parser_free (struct gengetopt_args_info *args_info);

    #ifdef __cplusplus
    }
    #endif /* __cplusplus */
    #endif /* CMDLINE_H */