| 1 |
/* thermalizerCmd.h */ |
| 2 |
|
| 3 |
/* File autogenerated by gengetopt version 2.17 */ |
| 4 |
|
| 5 |
#ifndef THERMALIZERCMD_H |
| 6 |
#define THERMALIZERCMD_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 "thermalizer" |
| 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 |
const char *help_help; /* Print help and exit help description. */ |
| 28 |
const char *version_help; /* Print version and exit help description. */ |
| 29 |
char * output_arg; /* Output file name. */ |
| 30 |
char * output_orig; /* Output file name original value given at command line. */ |
| 31 |
const char *output_help; /* Output file name help description. */ |
| 32 |
double temperature_arg; /* temperature (K). */ |
| 33 |
char * temperature_orig; /* temperature (K) original value given at command line. */ |
| 34 |
const char *temperature_help; /* temperature (K) help description. */ |
| 35 |
|
| 36 |
int help_given ; /* Whether help was given. */ |
| 37 |
int version_given ; /* Whether version was given. */ |
| 38 |
int output_given ; /* Whether output was given. */ |
| 39 |
int temperature_given ; /* Whether temperature was given. */ |
| 40 |
|
| 41 |
char **inputs ; /* unamed options */ |
| 42 |
unsigned inputs_num ; /* unamed options number */ |
| 43 |
} ; |
| 44 |
|
| 45 |
extern const char *gengetopt_args_info_purpose; |
| 46 |
extern const char *gengetopt_args_info_usage; |
| 47 |
extern const char *gengetopt_args_info_help[]; |
| 48 |
|
| 49 |
int cmdline_parser (int argc, char * const *argv, |
| 50 |
struct gengetopt_args_info *args_info); |
| 51 |
int cmdline_parser2 (int argc, char * const *argv, |
| 52 |
struct gengetopt_args_info *args_info, |
| 53 |
int override, int initialize, int check_required); |
| 54 |
int cmdline_parser_file_save(const char *filename, |
| 55 |
struct gengetopt_args_info *args_info); |
| 56 |
|
| 57 |
void cmdline_parser_print_help(void); |
| 58 |
void cmdline_parser_print_version(void); |
| 59 |
|
| 60 |
void cmdline_parser_init (struct gengetopt_args_info *args_info); |
| 61 |
void cmdline_parser_free (struct gengetopt_args_info *args_info); |
| 62 |
|
| 63 |
int cmdline_parser_required (struct gengetopt_args_info *args_info, |
| 64 |
const char *prog_name); |
| 65 |
|
| 66 |
|
| 67 |
#ifdef __cplusplus |
| 68 |
} |
| 69 |
#endif /* __cplusplus */ |
| 70 |
#endif /* THERMALIZERCMD_H */ |