~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_getopt.h

  • Committer: Brian Aker
  • Date: 2008-07-11 17:17:17 UTC
  • mfrom: (77.1.79 codestyle)
  • Revision ID: brian@tangent.org-20080711171717-039qp03g93w70rlq
MergeĀ 

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);