~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_getopt.h

  • Committer: Brian Aker
  • Date: 2008-07-13 22:45:08 UTC
  • Revision ID: brian@tangent.org-20080713224508-hb20z4okblotb39a
longlong replacement

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
  struct st_typelib *typelib;           /* Pointer to possible values */
53
53
  ulong     var_type;
54
54
  enum get_opt_arg_type arg_type;
55
 
  longlong   def_value;                 /* Default value */
56
 
  longlong   min_value;                 /* Min allowed value */
57
 
  longlong   max_value;                 /* Max allowed value */
58
 
  longlong   sub_size;                  /* Subtract this from given value */
 
55
  int64_t   def_value;                 /* Default value */
 
56
  int64_t   min_value;                 /* Min allowed value */
 
57
  int64_t   max_value;                 /* Max allowed value */
 
58
  int64_t   sub_size;                  /* Subtract this from given value */
59
59
  long       block_size;                /* Value should be a mult. of this */
60
60
  void       *app_type;                 /* To be used by an application */
61
61
};
78
78
 
79
79
uint64_t getopt_ull_limit_value(uint64_t num, const struct my_option *optp,
80
80
                                 bool *fix);
81
 
longlong getopt_ll_limit_value(longlong, const struct my_option *,
 
81
int64_t getopt_ll_limit_value(int64_t, const struct my_option *,
82
82
                               bool *fix);
83
83
bool getopt_compare_strings(const char *s, const char *t, uint length);
84
84