ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/nanoRodBuilder/nanorodBuilderCmd.h
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/nanoRodBuilder/nanorodBuilderCmd.h (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2215 by chuckv, Thu Apr 28 00:24:11 2005 UTC

# Line 1 | Line 1
1   /* nanorodBuilderCmd.h */
2  
3 < /* File autogenerated by gengetopt version 2.12  */
3 > /* File autogenerated by gengetopt version 2.13  */
4  
5   #ifndef NANORODBUILDERCMD_H
6   #define NANORODBUILDERCMD_H
# Line 22 | Line 22 | extern "C" {
22   #define CMDLINE_PARSER_VERSION "1.0"
23   #endif
24  
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. (default='fcc').  */
29 <    double length_arg;  /* length of nanorod in Angstroms.  */
30 <    double width_arg;   /* diameter  of nanorod in Angstroms.  */
31 <    double latticeCnst_arg;     /* lattice spacing in Angstrons for cubic lattice.  */
32 <    long genGeomview_arg;       /* generate a geomview file with the object geometry.  */
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. (default='fcc').  */
29 >  double length_arg;    /* length of nanorod in Angstroms.  */
30 >  double width_arg;     /* diameter  of nanorod in Angstroms.  */
31 >  double latticeCnst_arg;       /* lattice spacing in Angstrons for cubic lattice.  */
32 >  int genGeomview_flag; /* generate a geomview file with the object geometry (default=off).  */
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 length_given ;    /* Whether length was given.  */
39 >  int width_given ;     /* Whether width was given.  */
40 >  int latticeCnst_given ;       /* Whether latticeCnst was given.  */
41 >  int genGeomview_given ;       /* Whether genGeomview was given.  */
42  
43 <    int help_given ;    /* Whether help was given.  */
44 <    int version_given ; /* Whether version was given.  */
45 <    int output_given ;  /* Whether output was given.  */
37 <    int latticetype_given ;     /* Whether latticetype was given.  */
38 <    int length_given ;  /* Whether length was given.  */
39 <    int width_given ;   /* Whether width was given.  */
40 <    int latticeCnst_given ;     /* Whether latticeCnst was given.  */
41 <    int genGeomview_given ;     /* Whether genGeomview was given.  */
43 >  char **inputs ; /* unamed options */
44 >  unsigned inputs_num ; /* unamed options number */
45 > } ;
46  
47 <    char **inputs ; /* unamed options */
48 <    unsigned inputs_num ; /* unamed options number */
45 <  } ;
47 > int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
48 > int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);
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);
50 > void cmdline_parser_print_help(void);
51 > void cmdline_parser_print_version(void);
52  
53 <  void cmdline_parser_print_help(void);
54 <  void cmdline_parser_print_version(void);
53 > void cmdline_parser_init (struct gengetopt_args_info *args_info);
54 > void cmdline_parser_free (struct gengetopt_args_info *args_info);
55  
56 <  void cmdline_parser_init (struct gengetopt_args_info *args_info);
54 <  void cmdline_parser_free (struct gengetopt_args_info *args_info);
56 > int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name);
57  
58 +
59   #ifdef __cplusplus
60   }
61   #endif /* __cplusplus */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines