~ubuntu-branches/ubuntu/trusty/gengetopt/trusty

« back to all changes in this revision

Viewing changes to src/cmdline.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-09-26 10:27:31 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: package-import@ubuntu.com-20110926102731-vh42p0vriqz4kp3h
Tags: 2.22.5-1
* New upstream release:
  - correctly wraps and preprocess the specified usage string
  - handle escaped newline chars in the .ggo file correctly
  - initialize enum variables with a generated null value (makes
    the parser compilable in C++)
  - removed warnings in generated parser when only flags are used
* Fix gbp config file.
* Bump Standards.
* Drop unneeded dependency on dpkg (>= 1.15.4), stable has a newer version.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/** @file cmdline.h
2
2
 *  @brief The header file for the command line option parser
3
 
 *  generated by GNU Gengetopt version 2.22.3
 
3
 *  generated by GNU Gengetopt version 2.22.5
4
4
 *  http://www.gnu.org/software/gengetopt.
5
5
 *  DO NOT modify this file, since it can be overwritten
6
6
 *  @author GNU Gengetopt by Lorenzo Bettini */
160
160
 * @param args_info the structure where option information will be stored
161
161
 * @return 0 if everything went fine, NON 0 if an error took place
162
162
 */
163
 
int cmdline_parser (int argc, char * const *argv,
 
163
int cmdline_parser (int argc, char **argv,
164
164
  struct gengetopt_args_info *args_info);
165
165
 
166
166
/**
174
174
 * @return 0 if everything went fine, NON 0 if an error took place
175
175
 * @deprecated use cmdline_parser_ext() instead
176
176
 */
177
 
int cmdline_parser2 (int argc, char * const *argv,
 
177
int cmdline_parser2 (int argc, char **argv,
178
178
  struct gengetopt_args_info *args_info,
179
179
  int override, int initialize, int check_required);
180
180
 
186
186
 * @param params additional parameters for the parser
187
187
 * @return 0 if everything went fine, NON 0 if an error took place
188
188
 */
189
 
int cmdline_parser_ext (int argc, char * const *argv,
 
189
int cmdline_parser_ext (int argc, char **argv,
190
190
  struct gengetopt_args_info *args_info,
191
191
  struct cmdline_parser_params *params);
192
192