| 1 | tim | 2596 | /* HydroCmd.h */ | 
| 2 |  |  |  | 
| 3 | gezelter | 2717 | /* File autogenerated by gengetopt version 2.16  */ | 
| 4 | tim | 2596 |  | 
| 5 |  |  | #ifndef HYDROCMD_H | 
| 6 |  |  | #define HYDROCMD_H | 
| 7 |  |  |  | 
| 8 |  |  | /* If we use autoconf.  */ | 
| 9 |  |  | #ifdef HAVE_CONFIG_H | 
| 10 |  |  | #include "config.h" | 
| 11 |  |  | #endif | 
| 12 |  |  |  | 
| 13 |  |  | #ifdef __cplusplus | 
| 14 |  |  | extern "C" { | 
| 15 |  |  | #endif /* __cplusplus */ | 
| 16 |  |  |  | 
| 17 |  |  | #ifndef CMDLINE_PARSER_PACKAGE | 
| 18 |  |  | #define CMDLINE_PARSER_PACKAGE "Hydro" | 
| 19 |  |  | #endif | 
| 20 |  |  |  | 
| 21 |  |  | #ifndef CMDLINE_PARSER_VERSION | 
| 22 |  |  | #define CMDLINE_PARSER_VERSION "1.0" | 
| 23 |  |  | #endif | 
| 24 |  |  |  | 
| 25 |  |  | struct gengetopt_args_info | 
| 26 |  |  | { | 
| 27 |  |  | char * input_arg;     /* input dump file.  */ | 
| 28 | gezelter | 2717 | char * input_orig;    /* input dump file original value given at command line.  */ | 
| 29 | tim | 2596 | char * output_arg;    /* output file prefix (default='hydro').  */ | 
| 30 | gezelter | 2717 | char * output_orig;   /* output file prefix original value given at command line.  */ | 
| 31 | tim | 2596 | char * model_arg;     /* hydrodynamics model (support RoughShell and BeadModel).  */ | 
| 32 | gezelter | 2717 | char * model_orig;    /* hydrodynamics model (support RoughShell and BeadModel) original value given at command line.  */ | 
| 33 | tim | 2675 | int beads_flag;       /* generate the beads only, hydrodynamics will be performed (default=off).  */ | 
| 34 | gezelter | 2717 |  | 
| 35 | tim | 2596 | int help_given ;      /* Whether help was given.  */ | 
| 36 |  |  | int version_given ;   /* Whether version was given.  */ | 
| 37 |  |  | int input_given ;     /* Whether input was given.  */ | 
| 38 |  |  | int output_given ;    /* Whether output was given.  */ | 
| 39 |  |  | int model_given ;     /* Whether model was given.  */ | 
| 40 | tim | 2675 | int beads_given ;     /* Whether beads was given.  */ | 
| 41 | tim | 2596 |  | 
| 42 |  |  | } ; | 
| 43 |  |  |  | 
| 44 |  |  | int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); | 
| 45 | gezelter | 2717 | int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); | 
| 46 |  |  | int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); | 
| 47 | tim | 2596 |  | 
| 48 |  |  | void cmdline_parser_print_help(void); | 
| 49 |  |  | void cmdline_parser_print_version(void); | 
| 50 |  |  |  | 
| 51 | gezelter | 2717 | void cmdline_parser_init (struct gengetopt_args_info *args_info); | 
| 52 |  |  | void cmdline_parser_free (struct gengetopt_args_info *args_info); | 
| 53 |  |  |  | 
| 54 |  |  | int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); | 
| 55 |  |  |  | 
| 56 |  |  |  | 
| 57 | tim | 2596 | #ifdef __cplusplus | 
| 58 |  |  | } | 
| 59 |  |  | #endif /* __cplusplus */ | 
| 60 |  |  | #endif /* HYDROCMD_H */ |