1 |
|
/* simpleBuilderCmd.h */ |
2 |
|
|
3 |
< |
/* File autogenerated by gengetopt version 2.11 */ |
3 |
> |
/* File autogenerated by gengetopt version 2.16 */ |
4 |
|
|
5 |
|
#ifndef SIMPLEBUILDERCMD_H |
6 |
|
#define SIMPLEBUILDERCMD_H |
25 |
|
struct gengetopt_args_info |
26 |
|
{ |
27 |
|
char * output_arg; /* Output file name. */ |
28 |
< |
char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water. (default='fcc'). */ |
28 |
> |
char * output_orig; /* Output file name original value given at command line. */ |
29 |
|
double density_arg; /* density (g/cm^3). */ |
30 |
+ |
char * density_orig; /* density (g/cm^3) original value given at command line. */ |
31 |
|
int nx_arg; /* number of unit cells in x. */ |
32 |
+ |
char * nx_orig; /* number of unit cells in x original value given at command line. */ |
33 |
|
int ny_arg; /* number of unit cells in y. */ |
34 |
+ |
char * ny_orig; /* number of unit cells in y original value given at command line. */ |
35 |
|
int nz_arg; /* number of unit cells in z. */ |
36 |
< |
|
36 |
> |
char * nz_orig; /* number of unit cells in z original value given at command line. */ |
37 |
> |
|
38 |
|
int help_given ; /* Whether help was given. */ |
39 |
|
int version_given ; /* Whether version was given. */ |
40 |
|
int output_given ; /* Whether output was given. */ |
37 |
– |
int latticetype_given ; /* Whether latticetype was given. */ |
41 |
|
int density_given ; /* Whether density was given. */ |
42 |
|
int nx_given ; /* Whether nx was given. */ |
43 |
|
int ny_given ; /* Whether ny was given. */ |
48 |
|
} ; |
49 |
|
|
50 |
|
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |
51 |
+ |
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); |
52 |
+ |
int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); |
53 |
|
|
54 |
|
void cmdline_parser_print_help(void); |
55 |
|
void cmdline_parser_print_version(void); |
56 |
|
|
57 |
+ |
void cmdline_parser_init (struct gengetopt_args_info *args_info); |
58 |
+ |
void cmdline_parser_free (struct gengetopt_args_info *args_info); |
59 |
+ |
|
60 |
+ |
int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); |
61 |
+ |
|
62 |
+ |
|
63 |
|
#ifdef __cplusplus |
64 |
|
} |
65 |
|
#endif /* __cplusplus */ |