~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
struct character_set;
2
struct rand_struct;
3
struct st_list;
4
struct st_mem_root;
206.3.1 by Patrick Galbraith
Most everything working with client rename
5
struct st_drizzle;
6
struct st_drizzle_bind;
7
struct st_drizzle_daemon;
8
struct st_DRIZZLE_DATA;
9
struct st_DRIZZLE_FIELD;
10
struct st_drizzle_ftparser;
11
struct st_drizzle_ftparser_boolean_info;
12
struct st_drizzle_ftparser_param;
13
struct st_drizzle_information_schema;
14
struct st_drizzle_lex_string;
15
struct st_drizzle_methods;
16
struct st_drizzle_options;
17
struct st_drizzle_parameters;
18
struct st_drizzle_plugin;
19
struct st_drizzle_res;
20
struct st_DRIZZLE_ROWs;
21
struct st_drizzle_show_var;
22
struct st_drizzle_storage_engine;
23
struct st_drizzle_time;
24
struct st_drizzle_value;
25
struct st_drizzle_xid;
1 by brian
clean slate
26
struct st_net;
27
struct st_typelib;
28
struct st_udf_args;
29
struct st_udf_init;
30
struct st_used_mem;
31
enum Item_result;
32
enum enum_cursor_type;
33
enum enum_field_types;
34
enum enum_ft_token_type;
35
enum enum_ftparser_mode;
206.3.1 by Patrick Galbraith
Most everything working with client rename
36
enum enum_drizzle_set_option;
1 by brian
clean slate
37
enum enum_mysql_show_type;
38
enum enum_mysql_timestamp_type;
39
enum enum_server_command;
206.3.1 by Patrick Galbraith
Most everything working with client rename
40
enum drizzle_enum_shutdown_level;
41
enum drizzle_option;
42
enum drizzle_protocol_type;
43
enum drizzle_status;
44
# 139 "drizzle.h"
45
typedef struct st_DRIZZLE_ROWs DRIZZLE_ROWS;
1 by brian
clean slate
46
# 23 "my_list.h"
47
typedef struct st_list LIST;
48
# 34 "my_alloc.h"
49
typedef struct st_mem_root MEM_ROOT;
206.3.1 by Patrick Galbraith
Most everything working with client rename
50
# 235 "drizzle.h"
51
typedef struct st_drizzle MYSQL;
52
# 542 "drizzle.h"
53
typedef struct st_drizzle_bind MYSQL_BIND;
54
# 95 "drizzle.h"
55
typedef struct st_DRIZZLE_FIELD DRIZZLE_FIELD;
56
# 120 "drizzle.h"
57
typedef unsigned int DRIZZLE_FIELD_OFFSET;
1 by brian
clean slate
58
# 35 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
59
typedef struct st_drizzle_lex_string MYSQL_LEX_STRING;
60
# 304 "drizzle.h"
61
typedef struct st_drizzle_parameters DRIZZLE_PARAMETERS;
62
# 280 "drizzle.h"
63
typedef struct st_drizzle_res DRIZZLE_RES;
64
# 119 "drizzle.h"
65
typedef char * * DRIZZLE_ROW;
66
# 145 "drizzle.h"
67
typedef DRIZZLE_ROWS * DRIZZLE_ROW_OFFSET;
1 by brian
clean slate
68
# 52 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
69
typedef struct st_drizzle_xid MYSQL_XID;
70
# 220 "drizzle.h"
1 by brian
clean slate
71
typedef struct character_set MY_CHARSET_INFO;
206.3.1 by Patrick Galbraith
Most everything working with client rename
72
# 204 "drizzle_com.h"
1 by brian
clean slate
73
typedef struct st_net NET;
74
# 22 "typelib.h"
75
typedef struct st_typelib TYPELIB;
206.3.1 by Patrick Galbraith
Most everything working with client rename
76
# 194 "drizzle_com.h"
1 by brian
clean slate
77
typedef struct st_vio Vio;
78
# 28 "my_list.h"
79
typedef int (* list_walk_action)(void *, void *);
206.3.1 by Patrick Galbraith
Most everything working with client rename
80
# 51 "drizzle.h"
1 by brian
clean slate
81
typedef char my_bool;
206.3.1 by Patrick Galbraith
Most everything working with client rename
82
# 128 "drizzle.h"
1 by brian
clean slate
83
typedef unsigned long long int my_ulonglong;
84
# 214 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h"
85
typedef unsigned int size_t;
206.3.1 by Patrick Galbraith
Most everything working with client rename
86
# 149 "drizzle.h"
1 by brian
clean slate
87
typedef struct embedded_query_result EMBEDDED_QUERY_RESULT;
206.3.1 by Patrick Galbraith
Most everything working with client rename
88
# 150 "drizzle.h"
89
typedef struct st_DRIZZLE_DATA DRIZZLE_DATA;
1 by brian
clean slate
90
# 495 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
91
typedef struct st_drizzle_ftparser_boolean_info MYSQL_FTPARSER_BOOLEAN_INFO;
1 by brian
clean slate
92
# 557 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
93
typedef struct st_drizzle_ftparser_param MYSQL_FTPARSER_PARAM;
94
# 641 "drizzle.h"
95
typedef struct st_drizzle_methods DRIZZLE_METHODS;
1 by brian
clean slate
96
# 47 "mysql_time.h"
236.1.24 by Monty Taylor
Renamed MYSQL_TIME to DRIZZLE_TIME.
97
typedef struct st_drizzle_time DRIZZLE_TIME;
206.3.1 by Patrick Galbraith
Most everything working with client rename
98
# 394 "drizzle_com.h"
1 by brian
clean slate
99
typedef struct st_udf_args UDF_ARGS;
206.3.1 by Patrick Galbraith
Most everything working with client rename
100
# 408 "drizzle_com.h"
1 by brian
clean slate
101
typedef struct st_udf_init UDF_INIT;
102
# 26 "my_alloc.h"
103
typedef struct st_used_mem USED_MEM;
104
# 123 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
105
typedef int (* mysql_show_var_func)(void *, struct st_drizzle_show_var *, char *);
1 by brian
clean slate
106
# 170 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
107
typedef int (* mysql_var_check_func)(void * thd, struct st_drizzle_sys_var * var, void * save, struct st_drizzle_value * value);
1 by brian
clean slate
108
# 188 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
109
typedef void (* mysql_var_update_func)(void * thd, struct st_drizzle_sys_var * var, void * var_ptr, void * save);
110
# 220 "drizzle.h"
1 by brian
clean slate
111
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) character_set
112
  {
113
    unsigned int number;
114
    unsigned int state;
115
    char const * csname;
116
    char const * name;
117
    char const * comment;
118
    char const * dir;
119
    unsigned int mbminlen;
120
    unsigned int mbmaxlen;
121
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
122
# 380 "drizzle_com.h"
1 by brian
clean slate
123
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(double)))) rand_struct
124
  {
125
    unsigned long int seed1;
126
    unsigned long int seed2;
127
    unsigned long int max_value;
128
    double max_value_dbl;
129
  };
130
# 23 "my_list.h"
131
struct __attribute__((aligned(__alignof__(void *)))) st_list
132
  {
133
    struct st_list * prev;
134
    struct st_list * next;
135
    void * data;
136
  };
137
# 34 "my_alloc.h"
138
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_mem_root
139
  {
140
    USED_MEM * free;
141
    USED_MEM * used;
142
    USED_MEM * pre_alloc;
143
    size_t min_malloc;
144
    size_t block_size;
145
    unsigned int block_num;
146
    unsigned int first_block_usage;
147
    void (* error_handler)(void);
148
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
149
# 235 "drizzle.h"
150
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long long int)))) st_drizzle
1 by brian
clean slate
151
  {
152
    NET net;
153
    unsigned char * connector_fd;
154
    char * host;
155
    char * user;
156
    char * passwd;
157
    char * unix_socket;
158
    char * server_version;
159
    char * host_info;
160
    char * info;
161
    char * db;
162
    struct charset_info_st * charset;
206.3.1 by Patrick Galbraith
Most everything working with client rename
163
    DRIZZLE_FIELD * fields;
1 by brian
clean slate
164
    MEM_ROOT field_alloc;
165
    my_ulonglong affected_rows;
166
    my_ulonglong insert_id;
167
    my_ulonglong extra_info;
168
    unsigned long int thread_id;
169
    unsigned long int packet_length;
170
    unsigned int port;
171
    unsigned long int client_flag;
172
    unsigned long int server_capabilities;
173
    unsigned int protocol_version;
174
    unsigned int field_count;
175
    unsigned int server_status;
176
    unsigned int server_language;
177
    unsigned int warning_count;
206.3.1 by Patrick Galbraith
Most everything working with client rename
178
    struct st_drizzle_options options;
179
    enum drizzle_status status;
1 by brian
clean slate
180
    my_bool free_me;
181
    my_bool reconnect;
182
    char scramble[(20 + 1)];
183
    my_bool unused1;
184
    void * unused2;
185
    void * unused3;
186
    void * unused4;
187
    void * unused5;
206.3.1 by Patrick Galbraith
Most everything working with client rename
188
    struct st_drizzle_methods const * methods;
1 by brian
clean slate
189
    void * thd;
190
    my_bool * unbuffered_fetch_owner;
191
    char * info_buffer;
192
    void * extension;
193
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
194
# 542 "drizzle.h"
195
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_drizzle_bind
1 by brian
clean slate
196
  {
197
    unsigned long int * length;
198
    my_bool * is_null;
199
    void * buffer;
200
    my_bool * error;
201
    unsigned char * row_ptr;
206.3.1 by Patrick Galbraith
Most everything working with client rename
202
    void (* store_param_func)(NET * net, struct st_drizzle_bind * param);
203
    void (* fetch_result)(struct st_drizzle_bind *, DRIZZLE_FIELD *, unsigned char * * row);
204
    void (* skip_result)(struct st_drizzle_bind *, DRIZZLE_FIELD *, unsigned char * * row);
1 by brian
clean slate
205
    unsigned long int buffer_length;
206
    unsigned long int offset;
207
    unsigned long int length_value;
208
    unsigned int param_number;
209
    unsigned int pack_length;
210
    enum enum_field_types buffer_type;
211
    my_bool error_value;
212
    my_bool is_unsigned;
213
    my_bool long_data_used;
214
    my_bool is_null_value;
215
    void * extension;
216
  };
217
# 628 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
218
struct __attribute__((aligned(__alignof__(int)))) st_drizzle_daemon
1 by brian
clean slate
219
  {
220
    int interface_version;
221
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
222
# 150 "drizzle.h"
223
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long long int)))) st_DRIZZLE_DATA
1 by brian
clean slate
224
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
225
    DRIZZLE_ROWS * data;
1 by brian
clean slate
226
    struct embedded_query_result * embedded_info;
227
    MEM_ROOT alloc;
228
    my_ulonglong rows;
229
    unsigned int fields;
230
    void * extension;
231
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
232
# 95 "drizzle.h"
233
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_DRIZZLE_FIELD
1 by brian
clean slate
234
  {
235
    char * name;
236
    char * org_name;
237
    char * table;
238
    char * org_table;
239
    char * db;
240
    char * catalog;
241
    char * def;
242
    unsigned long int length;
243
    unsigned long int max_length;
244
    unsigned int name_length;
245
    unsigned int org_name_length;
246
    unsigned int table_length;
247
    unsigned int org_table_length;
248
    unsigned int db_length;
249
    unsigned int catalog_length;
250
    unsigned int def_length;
251
    unsigned int flags;
252
    unsigned int decimals;
253
    unsigned int charsetnr;
254
    enum enum_field_types type;
255
    void * extension;
256
  };
257
# 581 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
258
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_drizzle_ftparser
1 by brian
clean slate
259
  {
260
    int interface_version;
261
    int (* parse)(MYSQL_FTPARSER_PARAM * param);
262
    int (* init)(MYSQL_FTPARSER_PARAM * param);
263
    int (* deinit)(MYSQL_FTPARSER_PARAM * param);
264
  };
265
# 495 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
266
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_drizzle_ftparser_boolean_info
1 by brian
clean slate
267
  {
268
    enum enum_ft_token_type type;
269
    int yesno;
270
    int weight_adjust;
271
    char wasign;
272
    char trunc;
273
    char prev;
274
    char * quot;
275
  };
276
# 557 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
277
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(int)))) st_drizzle_ftparser_param
1 by brian
clean slate
278
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
279
    int (* mysql_parse)(struct st_drizzle_ftparser_param *, char * doc, int);
280
    int (* mysql_add_word)(struct st_drizzle_ftparser_param *, char * word, int, MYSQL_FTPARSER_BOOLEAN_INFO * boolean_info);
1 by brian
clean slate
281
    void * ftparser_state;
282
    void * mysql_ftparam;
283
    struct charset_info_st * cs;
284
    char * doc;
285
    int length;
286
    int flags;
287
    enum enum_ftparser_mode mode;
288
  };
289
# 638 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
290
struct __attribute__((aligned(__alignof__(int)))) st_drizzle_information_schema
1 by brian
clean slate
291
  {
292
    int interface_version;
293
  };
294
# 29 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
295
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_drizzle_lex_string
1 by brian
clean slate
296
  {
297
    char * str;
298
    unsigned int length;
299
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
300
# 641 "drizzle.h"
301
struct __attribute__((aligned(__alignof__(void *)))) st_drizzle_methods
1 by brian
clean slate
302
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
303
    my_bool (* read_query_result)(DRIZZLE * mysql);
243.1.16 by Jay Pipes
minor cleanup and final removal of all client and server prepared statement declarations and definitions
304
    my_bool (* advanced_command)(DRIZZLE * mysql, enum enum_server_command, unsigned char const * header, unsigned long int, unsigned char const * arg, unsigned long int, my_bool);
206.3.1 by Patrick Galbraith
Most everything working with client rename
305
    DRIZZLE_DATA * (* read_rows)(DRIZZLE * mysql, DRIZZLE_FIELD * DRIZZLE_FIELDs, unsigned int);
306
    DRIZZLE_RES * (* use_result)(DRIZZLE * mysql);
307
    void (* fetch_lengths)(unsigned long int * to, DRIZZLE_ROW, unsigned int);
308
    void (* flush_use_result)(DRIZZLE * mysql);
309
    DRIZZLE_FIELD * (* list_fields)(DRIZZLE * mysql);
310
    int (* unbuffered_fetch)(DRIZZLE * mysql, char * * row);
311
    void (* free_embedded_thd)(DRIZZLE * mysql);
312
    char const * (* read_statistics)(DRIZZLE * mysql);
313
    my_bool (* next_result)(DRIZZLE * mysql);
314
    int (* read_change_user_result)(DRIZZLE * mysql, char * buff, char const * passwd);
1 by brian
clean slate
315
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
316
# 173 "drizzle.h"
317
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(void *)))) st_drizzle_options
1 by brian
clean slate
318
  {
319
    unsigned int connect_timeout;
320
    unsigned int read_timeout;
321
    unsigned int write_timeout;
322
    unsigned int port;
323
    unsigned int protocol;
324
    unsigned long int client_flag;
325
    char * host;
326
    char * user;
327
    char * password;
328
    char * unix_socket;
329
    char * db;
330
    struct st_dynamic_array * init_commands;
331
    char * my_cnf_file;
332
    char * my_cnf_group;
333
    char * charset_dir;
334
    char * charset_name;
335
    char * ssl_key;
336
    char * ssl_cert;
337
    char * ssl_ca;
338
    char * ssl_capath;
339
    char * ssl_cipher;
340
    char * shared_memory_base_name;
341
    unsigned long int max_allowed_packet;
342
    my_bool use_ssl;
343
    my_bool compress;
344
    my_bool named_pipe;
345
    my_bool unused1;
346
    my_bool unused2;
347
    my_bool unused3;
348
    my_bool unused4;
349
    enum mysql_option methods_to_use;
350
    char * client_ip;
351
    my_bool secure_auth;
352
    my_bool report_data_truncation;
353
    int (* local_infile_init)(void * *, char const *, void *);
354
    int (* local_infile_read)(void *, char *, unsigned int);
355
    void (* local_infile_end)(void);
356
    int (* local_infile_error)(void *, char *, unsigned int);
357
    void * local_infile_userdata;
358
    void * extension;
359
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
360
# 304 "drizzle.h"
361
struct __attribute__((aligned(__alignof__(void *)))) st_drizzle_parameters
1 by brian
clean slate
362
  {
363
    unsigned long int * p_max_allowed_packet;
364
    unsigned long int * p_net_buffer_length;
365
    void * extension;
366
  };
367
# 384 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
368
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_drizzle_plugin
1 by brian
clean slate
369
  {
370
    int type;
371
    void * info;
372
    char const * name;
373
    char const * author;
374
    char const * descr;
375
    int license;
376
    int (* init)(void);
377
    int (* deinit)(void);
378
    unsigned int version;
206.3.1 by Patrick Galbraith
Most everything working with client rename
379
    struct st_drizzle_show_var * status_vars;
380
    struct st_drizzle_sys_var * * system_vars;
1 by brian
clean slate
381
    void * __reserved1;
382
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
383
# 280 "drizzle.h"
384
struct __attribute__((aligned(__alignof__(unsigned long long int)), aligned(__alignof__(void *)))) st_drizzle_res
1 by brian
clean slate
385
  {
386
    my_ulonglong row_count;
206.3.1 by Patrick Galbraith
Most everything working with client rename
387
    DRIZZLE_FIELD * fields;
388
    DRIZZLE_DATA * data;
389
    DRIZZLE_ROWS * data_cursor;
1 by brian
clean slate
390
    unsigned long int * lengths;
206.3.1 by Patrick Galbraith
Most everything working with client rename
391
    DRIZZLE * handle;
392
    struct st_drizzle_methods const * methods;
393
    DRIZZLE_ROW row;
394
    DRIZZLE_ROW current_row;
1 by brian
clean slate
395
    MEM_ROOT field_alloc;
396
    unsigned int field_count;
397
    unsigned int current_field;
398
    my_bool eof;
399
    my_bool unbuffered_fetch_cancelled;
400
    void * extension;
401
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
402
# 139 "drizzle.h"
403
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_DRIZZLE_ROWs
1 by brian
clean slate
404
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
405
    struct st_DRIZZLE_ROWs * next;
406
    DRIZZLE_ROW data;
1 by brian
clean slate
407
    unsigned long int length;
408
  };
409
# 116 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
410
struct __attribute__((aligned(__alignof__(void *)))) st_drizzle_show_var
1 by brian
clean slate
411
  {
412
    char const * name;
413
    char * value;
414
    enum enum_mysql_show_type type;
415
  };
416
# 616 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
417
struct __attribute__((aligned(__alignof__(int)))) st_drizzle_storage_engine
1 by brian
clean slate
418
  {
419
    int interface_version;
420
  };
421
# 47 "mysql_time.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
422
struct __attribute__((aligned(__alignof__(unsigned long int)))) st_drizzle_time
1 by brian
clean slate
423
  {
424
    unsigned int year;
425
    unsigned int month;
426
    unsigned int day;
427
    unsigned int hour;
428
    unsigned int minute;
429
    unsigned int second;
430
    unsigned long int second_part;
431
    my_bool neg;
432
    enum enum_mysql_timestamp_type time_type;
433
  };
434
# 658 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
435
struct __attribute__((aligned(__alignof__(void *)))) st_drizzle_value
1 by brian
clean slate
436
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
437
    int (* value_type)(struct st_drizzle_value *);
438
    char const * (* val_str)(struct st_drizzle_value *, char * buffer, int * length);
439
    int (* val_real)(struct st_drizzle_value *, double * realbuf);
440
    int (* val_int)(struct st_drizzle_value *, long long int * intbuf);
1 by brian
clean slate
441
  };
442
# 46 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
443
struct __attribute__((aligned(__alignof__(long int)))) st_drizzle_xid
1 by brian
clean slate
444
  {
445
    long int formatID;
446
    long int gtrid_length;
447
    long int bqual_length;
448
    char data[128];
449
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
450
# 204 "drizzle_com.h"
1 by brian
clean slate
451
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_net
452
  {
453
    Vio * vio;
454
    unsigned char * buff;
455
    unsigned char * buff_end;
456
    unsigned char * write_pos;
457
    unsigned char * read_pos;
268 by Brian Aker
Merging up a bunch of assert() and cleanup of my_sock typedef
458
    int fd;
1 by brian
clean slate
459
    unsigned long int remain_in_buf;
460
    unsigned long int length;
461
    unsigned long int buf_length;
462
    unsigned long int where_b;
463
    unsigned long int max_packet;
464
    unsigned long int max_packet_size;
465
    unsigned int pkt_nr;
466
    unsigned int compress_pkt_nr;
467
    unsigned int write_timeout;
468
    unsigned int read_timeout;
469
    unsigned int retry_count;
470
    int fcntl;
471
    unsigned int * return_status;
472
    unsigned char reading_or_writing;
473
    char save_char;
474
    my_bool unused1;
475
    my_bool unused2;
476
    my_bool compress;
477
    my_bool unused3;
478
    unsigned char * unused;
479
    unsigned int last_errno;
480
    unsigned char error;
481
    my_bool unused4;
482
    my_bool unused5;
483
    char last_error[512];
484
    char sqlstate[(5 + 1)];
485
    void * extension;
486
  };
487
# 22 "typelib.h"
488
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) st_typelib
489
  {
490
    unsigned int count;
491
    char const * name;
492
    char const * * type_names;
493
    unsigned int * type_lengths;
494
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
495
# 394 "drizzle_com.h"
1 by brian
clean slate
496
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) st_udf_args
497
  {
498
    unsigned int arg_count;
499
    enum Item_result * arg_type;
500
    char * * args;
501
    unsigned long int * lengths;
502
    char * maybe_null;
503
    char * * attributes;
504
    unsigned long int * attribute_lengths;
505
    void * extension;
506
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
507
# 408 "drizzle_com.h"
1 by brian
clean slate
508
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(void *)))) st_udf_init
509
  {
510
    my_bool maybe_null;
511
    unsigned int decimals;
512
    unsigned long int max_length;
513
    char * ptr;
514
    my_bool const_item;
515
    void * extension;
516
  };
517
# 26 "my_alloc.h"
518
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_used_mem
519
  {
520
    struct st_used_mem * next;
521
    unsigned int left;
522
    unsigned int size;
523
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
524
# 391 "drizzle_com.h"
1 by brian
clean slate
525
enum Item_result
526
  {
527
    STRING_RESULT = 0,
528
    REAL_RESULT = 1,
529
    INT_RESULT = 2,
530
    ROW_RESULT = 3,
531
    DECIMAL_RESULT = 4,
532
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
533
# 336 "drizzle_com.h"
1 by brian
clean slate
534
enum enum_cursor_type
535
  {
536
    CURSOR_TYPE_NO_CURSOR = 0,
537
    CURSOR_TYPE_READ_ONLY = 1,
538
    CURSOR_TYPE_FOR_UPDATE = 2,
539
    CURSOR_TYPE_SCROLLABLE = 4,
540
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
541
# 249 "drizzle_com.h"
1 by brian
clean slate
542
enum enum_field_types
543
  {
212.2.2 by Patrick Galbraith
Renamed FIELD_TYPE to DRIZZLE_TYPE
544
    DRIZZLE_TYPE_DECIMAL = 0,
545
    DRIZZLE_TYPE_TINY = 1,
546
    DRIZZLE_TYPE_SHORT = 2,
547
    DRIZZLE_TYPE_LONG = 3,
548
    DRIZZLE_TYPE_FLOAT = 4,
549
    DRIZZLE_TYPE_DOUBLE = 5,
550
    DRIZZLE_TYPE_NULL = 6,
551
    DRIZZLE_TYPE_TIMESTAMP = 7,
552
    DRIZZLE_TYPE_LONGLONG = 8,
553
    DRIZZLE_TYPE_INT24 = 9,
554
    DRIZZLE_TYPE_DATE = 10,
555
    DRIZZLE_TYPE_TIME = 11,
556
    DRIZZLE_TYPE_DATETIME = 12,
557
    DRIZZLE_TYPE_YEAR = 13,
558
    DRIZZLE_TYPE_NEWDATE = 14,
559
    DRIZZLE_TYPE_VARCHAR = 15,
560
    DRIZZLE_TYPE_NEWDECIMAL = 246,
561
    DRIZZLE_TYPE_ENUM = 247,
562
    DRIZZLE_TYPE_SET = 248,
563
    DRIZZLE_TYPE_TINY_BLOB = 249,
564
    DRIZZLE_TYPE_MEDIUM_BLOB = 250,
565
    DRIZZLE_TYPE_LONG_BLOB = 251,
566
    DRIZZLE_TYPE_BLOB = 252,
567
    DRIZZLE_TYPE_VAR_STRING = 253,
568
    DRIZZLE_TYPE_STRING = 254,
569
    DRIZZLE_TYPE_GEOMETRY = 255,
1 by brian
clean slate
570
  };
571
# 455 "mysql/plugin.h"
572
enum enum_ft_token_type
573
  {
574
    FT_TOKEN_EOF = 0,
575
    FT_TOKEN_WORD = 1,
576
    FT_TOKEN_LEFT_PAREN = 2,
577
    FT_TOKEN_RIGHT_PAREN = 3,
578
    FT_TOKEN_STOPWORD = 4,
579
  };
580
# 407 "mysql/plugin.h"
581
enum enum_ftparser_mode
582
  {
583
    MYSQL_FTPARSER_SIMPLE_MODE = 0,
584
    MYSQL_FTPARSER_WITH_STOPWORDS = 1,
585
    MYSQL_FTPARSER_FULL_BOOLEAN_INFO = 2,
586
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
587
# 346 "drizzle_com.h"
588
enum enum_drizzle_set_option
1 by brian
clean slate
589
  {
590
    MYSQL_OPTION_MULTI_STATEMENTS_ON = 0,
591
    MYSQL_OPTION_MULTI_STATEMENTS_OFF = 1,
592
  };
593
# 109 "mysql/plugin.h"
594
enum enum_mysql_show_type
595
  {
596
    SHOW_UNDEF = 0,
597
    SHOW_BOOL = 1,
598
    SHOW_INT = 2,
599
    SHOW_LONG = 3,
600
    SHOW_LONGLONG = 4,
601
    SHOW_CHAR = 5,
602
    SHOW_CHAR_PTR = 6,
603
    SHOW_ARRAY = 7,
604
    SHOW_FUNC = 8,
605
    SHOW_DOUBLE = 9,
606
  };
607
# 28 "mysql_time.h"
608
enum enum_mysql_timestamp_type
609
  {
236.1.24 by Monty Taylor
Renamed MYSQL_TIME to DRIZZLE_TIME.
610
    DRIZZLE_TIMESTAMP_NONE = -(2),
611
    DRIZZLE_TIMESTAMP_ERROR = -(1),
612
    DRIZZLE_TIMESTAMP_DATE = 0,
613
    DRIZZLE_TIMESTAMP_DATETIME = 1,
614
    DRIZZLE_TIMESTAMP_TIME = 2,
1 by brian
clean slate
615
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
616
# 63 "drizzle_com.h"
1 by brian
clean slate
617
enum enum_server_command
618
  {
619
    COM_SLEEP = 0,
620
    COM_QUIT = 1,
621
    COM_INIT_DB = 2,
622
    COM_QUERY = 3,
623
    COM_FIELD_LIST = 4,
624
    COM_CREATE_DB = 5,
625
    COM_DROP_DB = 6,
626
    COM_REFRESH = 7,
627
    COM_SHUTDOWN = 8,
628
    COM_STATISTICS = 9,
629
    COM_PROCESS_INFO = 10,
630
    COM_CONNECT = 11,
631
    COM_PROCESS_KILL = 12,
632
    COM_DEBUG = 13,
633
    COM_PING = 14,
634
    COM_TIME = 15,
635
    COM_DELAYED_INSERT = 16,
636
    COM_CHANGE_USER = 17,
637
    COM_BINLOG_DUMP = 18,
638
    COM_TABLE_DUMP = 19,
639
    COM_CONNECT_OUT = 20,
640
    COM_REGISTER_SLAVE = 21,
641
    COM_STMT_PREPARE = 22,
642
    COM_STMT_EXECUTE = 23,
643
    COM_STMT_SEND_LONG_DATA = 24,
644
    COM_STMT_CLOSE = 25,
645
    COM_STMT_RESET = 26,
646
    COM_SET_OPTION = 27,
647
    COM_STMT_FETCH = 28,
648
    COM_DAEMON = 29,
649
    COM_END = 30,
650
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
651
# 311 "drizzle_com.h"
652
enum drizzle_enum_shutdown_level
1 by brian
clean slate
653
  {
654
    SHUTDOWN_DEFAULT = 0,
655
    SHUTDOWN_WAIT_CONNECTIONS = (unsigned char)((1 << 0)),
656
    SHUTDOWN_WAIT_TRANSACTIONS = (unsigned char)((1 << 1)),
657
    SHUTDOWN_WAIT_UPDATES = (unsigned char)((1 << 3)),
658
    SHUTDOWN_WAIT_ALL_BUFFERS = ((unsigned char)((1 << 3)) << 1),
659
    SHUTDOWN_WAIT_CRITICAL_BUFFERS = (((unsigned char)((1 << 3)) << 1) + 1),
660
    KILL_CONNECTION = 255,
661
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
662
# 160 "drizzle.h"
1 by brian
clean slate
663
enum mysql_option
664
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
665
    DRIZZLE_OPT_CONNECT_TIMEOUT = 0,
666
    DRIZZLE_OPT_COMPRESS = 1,
667
    DRIZZLE_OPT_NAMED_PIPE = 2,
668
    DRIZZLE_INIT_COMMAND = 3,
669
    DRIZZLE_READ_DEFAULT_FILE = 4,
670
    DRIZZLE_READ_DEFAULT_GROUP = 5,
671
    DRIZZLE_SET_CHARSET_DIR = 6,
672
    DRIZZLE_SET_CHARSET_NAME = 7,
673
    DRIZZLE_OPT_LOCAL_INFILE = 8,
674
    DRIZZLE_OPT_PROTOCOL = 9,
675
    DRIZZLE_SHARED_MEMORY_BASE_NAME = 10,
676
    DRIZZLE_OPT_READ_TIMEOUT = 11,
677
    DRIZZLE_OPT_WRITE_TIMEOUT = 12,
678
    DRIZZLE_OPT_USE_RESULT = 13,
679
    DRIZZLE_OPT_USE_REMOTE_CONNECTION = 14,
680
    DRIZZLE_OPT_USE_EMBEDDED_CONNECTION = 15,
681
    DRIZZLE_OPT_GUESS_CONNECTION = 16,
682
    DRIZZLE_SET_CLIENT_IP = 17,
683
    DRIZZLE_SECURE_AUTH = 18,
684
    DRIZZLE_REPORT_DATA_TRUNCATION = 19,
685
    DRIZZLE_OPT_RECONNECT = 20,
686
    DRIZZLE_OPT_SSL_VERIFY_SERVER_CERT = 21,
1 by brian
clean slate
687
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
688
# 214 "drizzle.h"
1 by brian
clean slate
689
enum mysql_protocol_type
690
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
691
    DRIZZLE_PROTOCOL_DEFAULT = 0,
692
    DRIZZLE_PROTOCOL_TCP = 1,
693
    DRIZZLE_PROTOCOL_SOCKET = 2,
694
    DRIZZLE_PROTOCOL_PIPE = 3,
695
    DRIZZLE_PROTOCOL_MEMORY = 4,
1 by brian
clean slate
696
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
697
# 209 "drizzle.h"
698
enum drizzle_status
1 by brian
clean slate
699
  {
206.3.1 by Patrick Galbraith
Most everything working with client rename
700
    DRIZZLE_STATUS_READY = 0,
701
    DRIZZLE_STATUS_GET_RESULT = 1,
702
    DRIZZLE_STATUS_USE_RESULT = 2,
1 by brian
clean slate
703
  };
206.3.1 by Patrick Galbraith
Most everything working with client rename
704
# 452 "drizzle_com.h"
1 by brian
clean slate
705
extern my_bool check_scramble(char const * reply, char const * message, unsigned char const * hash_stage2);
206.3.1 by Patrick Galbraith
Most everything working with client rename
706
# 445 "drizzle_com.h"
1 by brian
clean slate
707
extern my_bool check_scramble_323(char const *, char const * message, unsigned long int * salt);
708
# 35 "typelib.h"
709
extern TYPELIB * copy_typelib(MEM_ROOT * root, TYPELIB * from);
206.3.1 by Patrick Galbraith
Most everything working with client rename
710
# 440 "drizzle_com.h"
1 by brian
clean slate
711
extern void create_random_string(char * to, unsigned int, struct rand_struct * rand_st);
712
# 32 "typelib.h"
713
extern int find_type(char * x, TYPELIB const * typelib, unsigned int);
714
# 30 "typelib.h"
715
extern int find_type_or_exit(char const * x, TYPELIB * typelib, char const * option);
716
# 29 "typelib.h"
717
extern my_ulonglong find_typeset(char * x, TYPELIB * typelib, int * error_position);
206.3.1 by Patrick Galbraith
Most everything working with client rename
718
# 454 "drizzle_com.h"
1 by brian
clean slate
719
extern void get_salt_from_password(unsigned char * res, char const * password);
206.3.1 by Patrick Galbraith
Most everything working with client rename
720
# 447 "drizzle_com.h"
1 by brian
clean slate
721
extern void get_salt_from_password_323(unsigned long int * res, char const * password);
206.3.1 by Patrick Galbraith
Most everything working with client rename
722
# 460 "drizzle_com.h"
1 by brian
clean slate
723
extern char * get_tty_password(char const * opt_message);
724
# 34 "typelib.h"
725
extern char const * get_type(TYPELIB * typelib, unsigned int);
206.3.1 by Patrick Galbraith
Most everything working with client rename
726
# 442 "drizzle_com.h"
1 by brian
clean slate
727
extern void hash_password(unsigned long int * to, char const * password, unsigned int);
728
# 30 "my_list.h"
729
extern LIST * list_add(LIST * root, LIST * element);
730
# 32 "my_list.h"
731
extern LIST * list_cons(void * data, LIST * root);
732
# 31 "my_list.h"
733
extern LIST * list_delete(LIST * root, LIST * element);
734
# 34 "my_list.h"
735
extern void list_free(LIST * root, unsigned int);
736
# 35 "my_list.h"
737
extern unsigned int list_length(LIST *);
738
# 33 "my_list.h"
739
extern LIST * list_reverse(LIST * root);
740
# 36 "my_list.h"
741
extern int list_walk(LIST *, list_walk_action, unsigned char * argument);
206.3.1 by Patrick Galbraith
Most everything working with client rename
742
# 455 "drizzle_com.h"
1 by brian
clean slate
743
extern void make_password_from_salt(char * to, unsigned char const * hash_stage2);
206.3.1 by Patrick Galbraith
Most everything working with client rename
744
# 448 "drizzle_com.h"
1 by brian
clean slate
745
extern void make_password_from_salt_323(char * to, unsigned long int const * salt);
206.3.1 by Patrick Galbraith
Most everything working with client rename
746
# 450 "drizzle_com.h"
1 by brian
clean slate
747
extern void make_scrambled_password(char * to, char const * password);
748
# 33 "typelib.h"
749
extern void make_type(char * to, unsigned int, TYPELIB * typelib);
206.3.1 by Patrick Galbraith
Most everything working with client rename
750
# 377 "drizzle_com.h"
268 by Brian Aker
Merging up a bunch of assert() and cleanup of my_sock typedef
751
extern int my_connect(int, struct sockaddr const * name, unsigned int, unsigned int);
206.3.1 by Patrick Galbraith
Most everything working with client rename
752
# 358 "drizzle_com.h"
1 by brian
clean slate
753
extern my_bool my_net_init(NET * net, Vio * vio);
206.3.1 by Patrick Galbraith
Most everything working with client rename
754
# 359 "drizzle_com.h"
1 by brian
clean slate
755
extern void my_net_local_init(NET * net);
206.3.1 by Patrick Galbraith
Most everything working with client rename
756
# 369 "drizzle_com.h"
1 by brian
clean slate
757
extern unsigned long int my_net_read(NET * net);
206.3.1 by Patrick Galbraith
Most everything working with client rename
758
# 364 "drizzle_com.h"
1 by brian
clean slate
759
extern my_bool my_net_write(NET * net, unsigned char const * packet, size_t);
206.3.1 by Patrick Galbraith
Most everything working with client rename
760
# 439 "drizzle_com.h"
1 by brian
clean slate
761
extern double my_rnd(struct rand_struct *);
206.3.1 by Patrick Galbraith
Most everything working with client rename
762
# 466 "drizzle_com.h"
1 by brian
clean slate
763
extern void my_thread_end(void);
206.3.1 by Patrick Galbraith
Most everything working with client rename
764
# 465 "drizzle_com.h"
1 by brian
clean slate
765
extern my_bool my_thread_init(void);
206.3.1 by Patrick Galbraith
Most everything working with client rename
766
# 460 "drizzle.h"
767
extern void myodbc_remove_escape(DRIZZLE * mysql, char * name);
768
# 362 "drizzle.h"
769
extern my_ulonglong drizzle_affected_rows(DRIZZLE * mysql);
770
# 714 "drizzle.h"
771
extern my_bool drizzle_autocommit(DRIZZLE * mysql, my_bool);
772
# 378 "drizzle.h"
773
extern my_bool drizzle_change_user(DRIZZLE * mysql, char const * user, char const * passwd, char const * db);
774
# 370 "drizzle.h"
775
extern char const * drizzle_character_set_name(DRIZZLE * mysql);
776
# 717 "drizzle.h"
777
extern void drizzle_close(DRIZZLE * sock);
778
# 712 "drizzle.h"
779
extern my_bool drizzle_commit(DRIZZLE * mysql);
780
# 441 "drizzle.h"
781
extern void DRIZZLE_DATA_seek(DRIZZLE_RES * result, my_ulonglong);
782
# 420 "drizzle.h"
783
extern int drizzle_dump_debug_info(DRIZZLE * mysql);
784
# 462 "drizzle.h"
785
extern my_bool drizzle_embedded(void);
786
# 354 "drizzle.h"
787
extern my_bool drizzle_eof(DRIZZLE_RES * res);
788
# 364 "drizzle.h"
789
extern unsigned int drizzle_errno(DRIZZLE * mysql);
790
# 461 "drizzle_com.h"
791
extern char const * drizzle_errno_to_sqlstate(unsigned int);
792
# 365 "drizzle.h"
793
extern char const * drizzle_error(DRIZZLE * mysql);
794
# 452 "drizzle.h"
795
extern unsigned long int drizzle_escape_string(char * to, char const * from, unsigned long int);
796
# 449 "drizzle.h"
797
extern DRIZZLE_FIELD * drizzle_fetch_field(DRIZZLE_RES * result);
798
# 355 "drizzle.h"
799
extern DRIZZLE_FIELD * drizzle_fetch_field_direct(DRIZZLE_RES * res, unsigned int);
800
# 357 "drizzle.h"
801
extern DRIZZLE_FIELD * drizzle_fetch_fields(DRIZZLE_RES * res);
802
# 448 "drizzle.h"
803
extern unsigned long int * drizzle_fetch_lengths(DRIZZLE_RES * result);
804
# 447 "drizzle.h"
805
extern DRIZZLE_ROW drizzle_fetch_row(DRIZZLE_RES * result);
806
# 361 "drizzle.h"
807
extern unsigned int DRIZZLE_FIELD_count(DRIZZLE * mysql);
808
# 445 "drizzle.h"
809
extern DRIZZLE_FIELD_OFFSET DRIZZLE_FIELD_seek(DRIZZLE_RES * result, DRIZZLE_FIELD_OFFSET);
810
# 359 "drizzle.h"
811
extern DRIZZLE_FIELD_OFFSET DRIZZLE_FIELD_tell(DRIZZLE_RES * res);
812
# 440 "drizzle.h"
813
extern void drizzle_free_result(DRIZZLE_RES * result);
814
# 396 "drizzle.h"
815
extern void drizzle_get_character_set_info(DRIZZLE * mysql, MY_CHARSET_INFO * charset);
816
# 430 "drizzle.h"
817
extern char const * drizzle_get_client_info(void);
818
# 431 "drizzle.h"
819
extern unsigned long int drizzle_get_client_version(void);
820
# 432 "drizzle.h"
821
extern char const * drizzle_get_host_info(DRIZZLE * mysql);
822
# 336 "drizzle.h"
823
extern DRIZZLE_PARAMETERS * drizzle_get_parameters(void);
824
# 434 "drizzle.h"
825
extern unsigned int drizzle_get_proto_info(DRIZZLE * mysql);
826
# 429 "drizzle.h"
827
extern char const * drizzle_get_server_info(DRIZZLE * mysql);
828
# 433 "drizzle.h"
829
extern unsigned long int drizzle_get_server_version(DRIZZLE * mysql);
830
# 377 "drizzle.h"
831
extern char const * drizzle_get_ssl_cipher(DRIZZLE * mysql);
832
# 454 "drizzle.h"
833
extern unsigned long int drizzle_hex_string(char * to, char const * from, unsigned long int);
834
# 368 "drizzle.h"
835
extern char const * drizzle_info(DRIZZLE * mysql);
836
# 373 "drizzle.h"
837
extern DRIZZLE * drizzle_init(DRIZZLE * mysql);
838
# 363 "drizzle.h"
839
extern my_ulonglong drizzle_insert_id(DRIZZLE * mysql);
840
# 423 "drizzle.h"
841
extern int drizzle_kill(DRIZZLE * mysql, unsigned long int);
842
# 435 "drizzle.h"
843
extern DRIZZLE_RES * drizzle_list_dbs(DRIZZLE * mysql, char const * wild);
844
# 450 "drizzle.h"
845
extern DRIZZLE_RES * drizzle_list_fields(DRIZZLE * mysql, char const * table, char const * wild);
846
# 437 "drizzle.h"
847
extern DRIZZLE_RES * drizzle_list_processes(DRIZZLE * mysql);
848
# 436 "drizzle.h"
849
extern DRIZZLE_RES * drizzle_list_tables(DRIZZLE * mysql, char const * wild);
850
# 715 "drizzle.h"
851
extern my_bool drizzle_more_results(DRIZZLE * mysql);
852
# 716 "drizzle.h"
853
extern int drizzle_next_result(DRIZZLE * mysql);
854
# 353 "drizzle.h"
855
extern unsigned int drizzle_num_fields(DRIZZLE_RES * res);
856
# 352 "drizzle.h"
857
extern my_ulonglong drizzle_num_rows(DRIZZLE_RES * res);
858
# 438 "drizzle.h"
859
extern int drizzle_options(DRIZZLE * mysql, enum mysql_option, void const * arg);
860
# 427 "drizzle.h"
861
extern int drizzle_ping(DRIZZLE * mysql);
862
# 76 "drizzle.h"
1 by brian
clean slate
863
extern unsigned int mysql_port;
206.3.1 by Patrick Galbraith
Most everything working with client rename
864
# 388 "drizzle.h"
865
extern int drizzle_query(DRIZZLE * mysql, char const * q);
1 by brian
clean slate
866
# 790 "mysql/plugin.h"
206.3.1 by Patrick Galbraith
Most everything working with client rename
867
extern void drizzle_query_cache_invalidate4(void * thd, char const * key, unsigned int, int);
868
# 463 "drizzle.h"
869
extern my_bool drizzle_read_query_result(DRIZZLE * mysql);
870
# 380 "drizzle.h"
871
extern DRIZZLE * drizzle_connect(DRIZZLE * mysql, char const * host, char const * user, char const * passwd, char const * db, unsigned int, char const * unix_socket, unsigned long int);
872
# 456 "drizzle.h"
873
extern unsigned long int drizzle_real_escape_string(DRIZZLE * mysql, char * to, char const * from, unsigned long int);
874
# 391 "drizzle.h"
875
extern int drizzle_real_query(DRIZZLE * mysql, char const * q, unsigned long int);
876
# 421 "drizzle.h"
877
extern int drizzle_refresh(DRIZZLE * mysql, unsigned int);
878
# 713 "drizzle.h"
879
extern my_bool drizzle_rollback(DRIZZLE * mysql);
880
# 443 "drizzle.h"
881
extern DRIZZLE_ROW_OFFSET DRIZZLE_ROW_seek(DRIZZLE_RES * result, DRIZZLE_ROW_OFFSET);
882
# 358 "drizzle.h"
883
extern DRIZZLE_ROW_OFFSET DRIZZLE_ROW_tell(DRIZZLE_RES * res);
884
# 387 "drizzle.h"
885
extern int drizzle_select_db(DRIZZLE * mysql, char const * db);
886
# 389 "drizzle.h"
887
extern int drizzle_send_query(DRIZZLE * mysql, char const * q, unsigned long int);
888
# 322 "drizzle.h"
889
extern void drizzle_server_end(void);
890
# 321 "drizzle.h"
891
extern int drizzle_server_init(int, char * * argv, char * * groups);
892
# 371 "drizzle.h"
893
extern int drizzle_set_character_set(DRIZZLE * mysql, char const * csname);
894
# 414 "drizzle.h"
895
extern void drizzle_set_local_infile_default(DRIZZLE * mysql);
896
# 403 "drizzle.h"
897
extern void drizzle_set_local_infile_handler(DRIZZLE * mysql, int (* local_infile_init)(void * *, char const *, void *), int (* local_infile_read)(void *, char *, unsigned int), void (* local_infile_end)(void), int (* local_infile_error)(void *, char *, unsigned int), void *);
898
# 424 "drizzle.h"
899
extern int drizzle_set_server_option(DRIZZLE * mysql, enum enum_drizzle_set_option);
900
# 417 "drizzle.h"
901
extern int drizzle_shutdown(DRIZZLE * mysql, enum drizzle_enum_shutdown_level);
902
# 366 "drizzle.h"
903
extern char const * drizzle_sqlstate(DRIZZLE * mysql);
904
# 374 "drizzle.h"
905
extern my_bool drizzle_ssl_set(DRIZZLE * mysql, char const * key, char const * cert, char const * ca, char const * capath, char const * cipher);
906
# 428 "drizzle.h"
907
extern char const * drizzle_stat(DRIZZLE * mysql);
908
# 393 "drizzle.h"
909
extern DRIZZLE_RES * drizzle_store_result(DRIZZLE * mysql);
910
# 345 "drizzle.h"
911
extern void drizzle_thread_end(void);
912
# 369 "drizzle.h"
913
extern unsigned long int drizzle_thread_id(DRIZZLE * mysql);
914
# 344 "drizzle.h"
915
extern my_bool drizzle_thread_init(void);
916
# 461 "drizzle.h"
917
extern unsigned int drizzle_thread_safe(void);
1 by brian
clean slate
918
# 699 "mysql/plugin.h"
919
extern int mysql_tmpfile(char const * prefix);
206.3.1 by Patrick Galbraith
Most everything working with client rename
920
# 77 "drizzle.h"
1 by brian
clean slate
921
extern char * mysql_unix_port;
206.3.1 by Patrick Galbraith
Most everything working with client rename
922
# 394 "drizzle.h"
923
extern DRIZZLE_RES * drizzle_use_result(DRIZZLE * mysql);
924
# 367 "drizzle.h"
925
extern unsigned int drizzle_warning_count(DRIZZLE * mysql);
926
# 361 "drizzle_com.h"
1 by brian
clean slate
927
extern void net_clear(NET * net, my_bool);
206.3.1 by Patrick Galbraith
Most everything working with client rename
928
# 360 "drizzle_com.h"
1 by brian
clean slate
929
extern void net_end(NET * net);
206.3.1 by Patrick Galbraith
Most everything working with client rename
930
# 363 "drizzle_com.h"
1 by brian
clean slate
931
extern my_bool net_flush(NET * net);
206.3.1 by Patrick Galbraith
Most everything working with client rename
932
# 368 "drizzle_com.h"
1 by brian
clean slate
933
extern int net_real_write(NET * net, unsigned char const * packet, size_t);
206.3.1 by Patrick Galbraith
Most everything working with client rename
934
# 362 "drizzle_com.h"
1 by brian
clean slate
935
extern my_bool net_realloc(NET * net, size_t);
206.3.1 by Patrick Galbraith
Most everything working with client rename
936
# 365 "drizzle_com.h"
1 by brian
clean slate
937
extern my_bool net_write_command(NET * net, unsigned char, unsigned char const * header, size_t, unsigned char const * packet, size_t);
206.3.1 by Patrick Galbraith
Most everything working with client rename
938
# 456 "drizzle_com.h"
1 by brian
clean slate
939
extern char * octet2hex(char * to, char const * str, unsigned int);
206.3.1 by Patrick Galbraith
Most everything working with client rename
940
# 437 "drizzle_com.h"
1 by brian
clean slate
941
extern void randominit(struct rand_struct *, unsigned long int, unsigned long int);
206.3.1 by Patrick Galbraith
Most everything working with client rename
942
# 451 "drizzle_com.h"
1 by brian
clean slate
943
extern void scramble(char * to, char const * message, char const * password);
206.3.1 by Patrick Galbraith
Most everything working with client rename
944
# 444 "drizzle_com.h"
1 by brian
clean slate
945
extern void scramble_323(char * to, char const * message, char const * password);
946
# 37 "typelib.h"
947
extern TYPELIB sql_protocol_typelib;
948
# 739 "mysql/plugin.h"
949
extern void * thd_alloc(void * thd, unsigned int);
950
# 743 "mysql/plugin.h"
951
extern void * thd_calloc(void * thd, unsigned int);
952
# 724 "mysql/plugin.h"
953
extern unsigned long int thd_get_thread_id(void const * thd);
954
# 780 "mysql/plugin.h"
955
extern void thd_get_xid(void const * thd, MYSQL_XID * xid);
956
# 680 "mysql/plugin.h"
957
extern void * * thd_ha_data(void const * thd, struct handlerton const * hton);
958
# 675 "mysql/plugin.h"
959
extern int thd_in_lock_tables(void const * thd);
960
# 685 "mysql/plugin.h"
961
extern void thd_inc_row_count(void);
962
# 715 "mysql/plugin.h"
963
extern int thd_killed(void const * thd);
964
# 770 "mysql/plugin.h"
965
extern MYSQL_LEX_STRING * thd_make_lex_string(void * thd, MYSQL_LEX_STRING * lex_str, char const * str, unsigned int, int);
966
# 755 "mysql/plugin.h"
967
extern void * thd_memdup(void * thd, void const * str, unsigned int);
968
# 679 "mysql/plugin.h"
969
extern char const * thd_proc_info(void * thd, char const * info);
970
# 682 "mysql/plugin.h"
971
extern char * thd_security_context(void * thd, char * buffer, unsigned int, unsigned int);
972
# 678 "mysql/plugin.h"
973
extern int thd_sql_command(void const * thd);
974
# 747 "mysql/plugin.h"
975
extern char * thd_strdup(void * thd, char const * str);
976
# 751 "mysql/plugin.h"
977
extern char * thd_strmake(void * thd, char const * str, unsigned int);
978
# 676 "mysql/plugin.h"
979
extern int thd_tablespace_op(void const * thd);
980
# 677 "mysql/plugin.h"
981
extern long long int thd_test_options(void const * thd, long long int);
982
# 681 "mysql/plugin.h"
983
extern int thd_tx_isolation(void const * thd);