| 1 |
|
/** @file thermalizerCmd.h |
| 2 |
|
* @brief The header file for the command line option parser |
| 3 |
< |
* generated by GNU Gengetopt version 2.22 |
| 3 |
> |
* generated by GNU Gengetopt version 2.22.4 |
| 4 |
|
* http://www.gnu.org/software/gengetopt. |
| 5 |
|
* DO NOT modify this file, since it can be overwritten |
| 6 |
|
* @author GNU Gengetopt by Lorenzo Bettini */ |
| 20 |
|
#endif /* __cplusplus */ |
| 21 |
|
|
| 22 |
|
#ifndef CMDLINE_PARSER_PACKAGE |
| 23 |
< |
/** @brief the program name */ |
| 23 |
> |
/** @brief the program name (used for printing errors) */ |
| 24 |
|
#define CMDLINE_PARSER_PACKAGE "thermalizer" |
| 25 |
|
#endif |
| 26 |
|
|
| 27 |
+ |
#ifndef CMDLINE_PARSER_PACKAGE_NAME |
| 28 |
+ |
/** @brief the complete program name (used for help and version) */ |
| 29 |
+ |
#define CMDLINE_PARSER_PACKAGE_NAME "thermalizer" |
| 30 |
+ |
#endif |
| 31 |
+ |
|
| 32 |
|
#ifndef CMDLINE_PARSER_VERSION |
| 33 |
|
/** @brief the program version */ |
| 34 |
|
#define CMDLINE_PARSER_VERSION "1.0" |
| 79 |
|
* @param args_info the structure where option information will be stored |
| 80 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 81 |
|
*/ |
| 82 |
< |
int cmdline_parser (int argc, char * const *argv, |
| 82 |
> |
int cmdline_parser (int argc, char **argv, |
| 83 |
|
struct gengetopt_args_info *args_info); |
| 84 |
|
|
| 85 |
|
/** |
| 93 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 94 |
|
* @deprecated use cmdline_parser_ext() instead |
| 95 |
|
*/ |
| 96 |
< |
int cmdline_parser2 (int argc, char * const *argv, |
| 96 |
> |
int cmdline_parser2 (int argc, char **argv, |
| 97 |
|
struct gengetopt_args_info *args_info, |
| 98 |
|
int override, int initialize, int check_required); |
| 99 |
|
|
| 105 |
|
* @param params additional parameters for the parser |
| 106 |
|
* @return 0 if everything went fine, NON 0 if an error took place |
| 107 |
|
*/ |
| 108 |
< |
int cmdline_parser_ext (int argc, char * const *argv, |
| 108 |
> |
int cmdline_parser_ext (int argc, char **argv, |
| 109 |
|
struct gengetopt_args_info *args_info, |
| 110 |
|
struct cmdline_parser_params *params); |
| 111 |
|
|