ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/hydrodynamics/HydroCmd.h
(Generate patch)

Comparing trunk/src/applications/hydrodynamics/HydroCmd.h (file contents):
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC

# Line 1 | Line 1
1   /** @file HydroCmd.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 */
# Line 20 | Line 20 | extern "C" {
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 "Hydro"
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 "Hydro"
30 + #endif
31 +
32   #ifndef CMDLINE_PARSER_VERSION
33   /** @brief the program version */
34   #define CMDLINE_PARSER_VERSION "1.0"
# Line 53 | Line 58 | struct gengetopt_args_info
58    unsigned int model_given ;    /**< @brief Whether model was given.  */
59    unsigned int beads_given ;    /**< @brief Whether beads was given.  */
60  
61 +  char **inputs ; /**< @brief unamed options (options without names) */
62 +  unsigned inputs_num ; /**< @brief unamed options number */
63   } ;
64  
65   /** @brief The additional parameters to pass to parser functions */
# Line 79 | Line 86 | extern const char *gengetopt_args_info_help[];
86   * @param args_info the structure where option information will be stored
87   * @return 0 if everything went fine, NON 0 if an error took place
88   */
89 < int cmdline_parser (int argc, char * const *argv,
89 > int cmdline_parser (int argc, char **argv,
90    struct gengetopt_args_info *args_info);
91  
92   /**
# Line 93 | Line 100 | int cmdline_parser (int argc, char * const *argv,
100   * @return 0 if everything went fine, NON 0 if an error took place
101   * @deprecated use cmdline_parser_ext() instead
102   */
103 < int cmdline_parser2 (int argc, char * const *argv,
103 > int cmdline_parser2 (int argc, char **argv,
104    struct gengetopt_args_info *args_info,
105    int override, int initialize, int check_required);
106  
# Line 105 | Line 112 | int cmdline_parser2 (int argc, char * const *argv,
112   * @param params additional parameters for the parser
113   * @return 0 if everything went fine, NON 0 if an error took place
114   */
115 < int cmdline_parser_ext (int argc, char * const *argv,
115 > int cmdline_parser_ext (int argc, char **argv,
116    struct gengetopt_args_info *args_info,
117    struct cmdline_parser_params *params);
118  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines