~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_getopt.h

  • Committer: Monty Taylor
  • Date: 2008-07-11 15:49:04 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 134.
  • Revision ID: monty@inaugust.com-20080711154904-nrtkef3bo1jvzrds
A crapton more warning cleanups (I turned on more warnings) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  const char *name;                     /* Name of the option */
48
48
  int        id;                        /* unique id or short option */
49
49
  const char *comment;                  /* option comment, for autom. --help */
50
 
  uchar      **value;                   /* The variable value */
51
 
  uchar      **u_max_value;             /* The user def. max variable value */
 
50
  char      **value;                   /* The variable value */
 
51
  char      **u_max_value;             /* The user def. max variable value */
52
52
  struct st_typelib *typelib;           /* Pointer to possible values */
53
53
  ulong     var_type;
54
54
  enum get_opt_arg_type arg_type;
73
73
extern void my_cleanup_options(const struct my_option *options);
74
74
extern void my_print_help(const struct my_option *options);
75
75
extern void my_print_variables(const struct my_option *options);
76
 
extern void my_getopt_register_get_addr(uchar ** (*func_addr)(const char *, uint,
77
 
                                                           const struct my_option *));
 
76
extern void my_getopt_register_get_addr(char ** (*func_addr)(const char *, uint,
 
77
                                                             const struct my_option *));
78
78
 
79
79
ulonglong getopt_ull_limit_value(ulonglong num, const struct my_option *optp,
80
80
                                 my_bool *fix);