ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/simpleBuilderCmd.h
Revision: 1436
Committed: Thu Jul 29 19:12:00 2004 UTC (19 years, 11 months ago) by tim
Content type: text/plain
File size: 1575 byte(s)
Log Message:
simpleBuilder version 1.0

File Contents

# User Rev Content
1 tim 1424 /* simpleBuilderCmd.h */
2    
3     /* File autogenerated by gengetopt version 2.11 */
4    
5     #ifndef SIMPLEBUILDERCMD_H
6     #define SIMPLEBUILDERCMD_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 tim 1432 #define CMDLINE_PARSER_PACKAGE "simpleBuilder"
19 tim 1424 #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 * output_arg; /* Output file name. */
28 tim 1432 char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water. (default='fcc'). */
29 tim 1436 double density_arg; /* density (g/cm^3). */
30 tim 1424 int nx_arg; /* number of unit cells in x. */
31     int ny_arg; /* number of unit cells in y. */
32     int nz_arg; /* number of unit cells in z. */
33    
34     int help_given ; /* Whether help was given. */
35     int version_given ; /* Whether version was given. */
36     int output_given ; /* Whether output was given. */
37     int latticetype_given ; /* Whether latticetype was given. */
38     int density_given ; /* Whether density was given. */
39     int nx_given ; /* Whether nx was given. */
40     int ny_given ; /* Whether ny was given. */
41     int nz_given ; /* Whether nz was given. */
42    
43     char **inputs ; /* unamed options */
44     unsigned inputs_num ; /* unamed options number */
45     } ;
46    
47     int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
48    
49     void cmdline_parser_print_help(void);
50     void cmdline_parser_print_version(void);
51    
52     #ifdef __cplusplus
53     }
54     #endif /* __cplusplus */
55     #endif /* SIMPLEBUILDERCMD_H */