~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle.h

  • Committer: Brian Aker
  • Date: 2008-08-09 04:36:27 UTC
  • Revision ID: brian@tangent.org-20080809043627-zory1tydbjboleok
Cleanup of my_bool from extra and libdrizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
/** 
38
38
 * @TODO cleanup global.h and include only the necessary stuff here... 
39
39
 * 
40
 
 * Also, my_bool should go bye-bye...
 
40
 * Also, bool should go bye-bye...
41
41
 */
42
42
#ifndef DRIZZLE_SERVER_GLOBAL_H   /* If not standard header */
43
43
#include <sys/types.h>
44
 
typedef char my_bool;
 
44
typedef char bool;
45
45
#define STDCALL
46
46
 
47
47
#endif /* DRIZZLE_SERVER_GLOBAL_H */
145
145
  char *ssl_cipher;        /* cipher to use */
146
146
  char *shared_memory_base_name;
147
147
  unsigned long max_allowed_packet;
148
 
  my_bool use_ssl;        /* if to use SSL or not */
149
 
  my_bool compress,named_pipe;
150
 
  my_bool unused1;
151
 
  my_bool unused2;
152
 
  my_bool unused3;
153
 
  my_bool unused4;
 
148
  bool use_ssl;        /* if to use SSL or not */
 
149
  bool compress,named_pipe;
 
150
  bool unused1;
 
151
  bool unused2;
 
152
  bool unused3;
 
153
  bool unused4;
154
154
  enum drizzle_option methods_to_use;
155
155
  char *client_ip;
156
156
  /* Refuse client connecting to server if it uses old (pre-4.1.1) protocol */
157
 
  my_bool secure_auth;
 
157
  bool secure_auth;
158
158
  /* 0 - never report, 1 - always report (default) */
159
 
  my_bool report_data_truncation;
 
159
  bool report_data_truncation;
160
160
 
161
161
  /* function pointers for local infile support */
162
162
  int (*local_infile_init)(void **, const char *, void *);