ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/simpleBuilderCmd.h
Revision: 1432
Committed: Thu Jul 29 03:31:50 2004 UTC (20 years, 1 month ago) by tim
Content type: text/plain
File size: 1677 byte(s)
Log Message:
simpleBuilder is built but Makefile is broken

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 1424 double density_arg; /* density g/cm^3. */
30     double ndensity_arg; /* number density. */
31     int nx_arg; /* number of unit cells in x. */
32     int ny_arg; /* number of unit cells in y. */
33     int nz_arg; /* number of unit cells in z. */
34    
35     int help_given ; /* Whether help was given. */
36     int version_given ; /* Whether version was given. */
37     int output_given ; /* Whether output was given. */
38     int latticetype_given ; /* Whether latticetype was given. */
39     int density_given ; /* Whether density was given. */
40     int ndensity_given ; /* Whether ndensity was given. */
41     int nx_given ; /* Whether nx was given. */
42     int ny_given ; /* Whether ny was given. */
43     int nz_given ; /* Whether nz was given. */
44    
45     char **inputs ; /* unamed options */
46     unsigned inputs_num ; /* unamed options number */
47     } ;
48    
49     int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
50    
51     void cmdline_parser_print_help(void);
52     void cmdline_parser_print_version(void);
53    
54     #ifdef __cplusplus
55     }
56     #endif /* __cplusplus */
57     #endif /* SIMPLEBUILDERCMD_H */