1
by brian
clean slate |
1 |
struct character_set; |
2 |
struct rand_struct; |
|
3 |
struct st_list; |
|
4 |
struct st_mem_root; |
|
5 |
struct st_mysql; |
|
6 |
struct st_mysql_bind; |
|
7 |
struct st_mysql_daemon; |
|
8 |
struct st_mysql_data; |
|
9 |
struct st_mysql_field; |
|
10 |
struct st_mysql_ftparser; |
|
11 |
struct st_mysql_ftparser_boolean_info; |
|
12 |
struct st_mysql_ftparser_param; |
|
13 |
struct st_mysql_information_schema; |
|
14 |
struct st_mysql_lex_string; |
|
15 |
struct st_mysql_methods; |
|
16 |
struct st_mysql_options; |
|
17 |
struct st_mysql_parameters; |
|
18 |
struct st_mysql_plugin; |
|
19 |
struct st_mysql_res; |
|
20 |
struct st_mysql_rows; |
|
21 |
struct st_mysql_show_var; |
|
22 |
struct st_mysql_stmt; |
|
23 |
struct st_mysql_storage_engine; |
|
24 |
struct st_mysql_time; |
|
25 |
struct st_mysql_value; |
|
26 |
struct st_mysql_xid; |
|
27 |
struct st_net; |
|
28 |
struct st_typelib; |
|
29 |
struct st_udf_args; |
|
30 |
struct st_udf_init; |
|
31 |
struct st_used_mem; |
|
32 |
enum Item_result; |
|
33 |
enum enum_cursor_type; |
|
34 |
enum enum_field_types; |
|
35 |
enum enum_ft_token_type; |
|
36 |
enum enum_ftparser_mode; |
|
37 |
enum enum_mysql_set_option; |
|
38 |
enum enum_mysql_show_type; |
|
39 |
enum enum_mysql_stmt_state; |
|
40 |
enum enum_mysql_timestamp_type; |
|
41 |
enum enum_server_command; |
|
42 |
enum enum_stmt_attr_type; |
|
43 |
enum mysql_enum_shutdown_level; |
|
44 |
enum mysql_option; |
|
45 |
enum mysql_protocol_type; |
|
46 |
enum mysql_status; |
|
47 |
# 139 "mysql.h"
|
|
48 |
typedef struct st_mysql_rows MYSQL_ROWS; |
|
49 |
# 23 "my_list.h"
|
|
50 |
typedef struct st_list LIST; |
|
51 |
# 34 "my_alloc.h"
|
|
52 |
typedef struct st_mem_root MEM_ROOT; |
|
53 |
# 235 "mysql.h"
|
|
54 |
typedef struct st_mysql MYSQL; |
|
55 |
# 542 "mysql.h"
|
|
56 |
typedef struct st_mysql_bind MYSQL_BIND; |
|
57 |
# 95 "mysql.h"
|
|
58 |
typedef struct st_mysql_field MYSQL_FIELD; |
|
59 |
# 120 "mysql.h"
|
|
60 |
typedef unsigned int MYSQL_FIELD_OFFSET; |
|
61 |
# 35 "mysql/plugin.h"
|
|
62 |
typedef struct st_mysql_lex_string MYSQL_LEX_STRING; |
|
63 |
# 304 "mysql.h"
|
|
64 |
typedef struct st_mysql_parameters MYSQL_PARAMETERS; |
|
65 |
# 280 "mysql.h"
|
|
66 |
typedef struct st_mysql_res MYSQL_RES; |
|
67 |
# 119 "mysql.h"
|
|
68 |
typedef char * * MYSQL_ROW; |
|
69 |
# 145 "mysql.h"
|
|
70 |
typedef MYSQL_ROWS * MYSQL_ROW_OFFSET; |
|
71 |
# 571 "mysql.h"
|
|
72 |
typedef struct st_mysql_stmt MYSQL_STMT; |
|
73 |
# 52 "mysql/plugin.h"
|
|
74 |
typedef struct st_mysql_xid MYSQL_XID; |
|
75 |
# 220 "mysql.h"
|
|
76 |
typedef struct character_set MY_CHARSET_INFO; |
|
77 |
# 204 "mysql_com.h"
|
|
78 |
typedef struct st_net NET; |
|
79 |
# 22 "typelib.h"
|
|
80 |
typedef struct st_typelib TYPELIB; |
|
81 |
# 194 "mysql_com.h"
|
|
82 |
typedef struct st_vio Vio; |
|
83 |
# 28 "my_list.h"
|
|
84 |
typedef int (* list_walk_action)(void *, void *); |
|
85 |
# 51 "mysql.h"
|
|
86 |
typedef char my_bool; |
|
87 |
# 65 "mysql.h"
|
|
88 |
typedef int my_socket; |
|
89 |
# 128 "mysql.h"
|
|
90 |
typedef unsigned long long int my_ulonglong; |
|
91 |
# 214 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h"
|
|
92 |
typedef unsigned int size_t; |
|
93 |
# 149 "mysql.h"
|
|
94 |
typedef struct embedded_query_result EMBEDDED_QUERY_RESULT; |
|
95 |
# 150 "mysql.h"
|
|
96 |
typedef struct st_mysql_data MYSQL_DATA; |
|
97 |
# 495 "mysql/plugin.h"
|
|
98 |
typedef struct st_mysql_ftparser_boolean_info MYSQL_FTPARSER_BOOLEAN_INFO; |
|
99 |
# 557 "mysql/plugin.h"
|
|
100 |
typedef struct st_mysql_ftparser_param MYSQL_FTPARSER_PARAM; |
|
101 |
# 641 "mysql.h"
|
|
102 |
typedef struct st_mysql_methods MYSQL_METHODS; |
|
103 |
# 47 "mysql_time.h"
|
|
104 |
typedef struct st_mysql_time MYSQL_TIME; |
|
105 |
# 394 "mysql_com.h"
|
|
106 |
typedef struct st_udf_args UDF_ARGS; |
|
107 |
# 408 "mysql_com.h"
|
|
108 |
typedef struct st_udf_init UDF_INIT; |
|
109 |
# 26 "my_alloc.h"
|
|
110 |
typedef struct st_used_mem USED_MEM; |
|
111 |
# 123 "mysql/plugin.h"
|
|
112 |
typedef int (* mysql_show_var_func)(void *, struct st_mysql_show_var *, char *); |
|
113 |
# 170 "mysql/plugin.h"
|
|
114 |
typedef int (* mysql_var_check_func)(void * thd, struct st_mysql_sys_var * var, void * save, struct st_mysql_value * value); |
|
115 |
# 188 "mysql/plugin.h"
|
|
116 |
typedef void (* mysql_var_update_func)(void * thd, struct st_mysql_sys_var * var, void * var_ptr, void * save); |
|
117 |
# 220 "mysql.h"
|
|
118 |
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) character_set |
|
119 |
{
|
|
120 |
unsigned int number; |
|
121 |
unsigned int state; |
|
122 |
char const * csname; |
|
123 |
char const * name; |
|
124 |
char const * comment; |
|
125 |
char const * dir; |
|
126 |
unsigned int mbminlen; |
|
127 |
unsigned int mbmaxlen; |
|
128 |
};
|
|
129 |
# 380 "mysql_com.h"
|
|
130 |
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(double)))) rand_struct |
|
131 |
{
|
|
132 |
unsigned long int seed1; |
|
133 |
unsigned long int seed2; |
|
134 |
unsigned long int max_value; |
|
135 |
double max_value_dbl; |
|
136 |
};
|
|
137 |
# 23 "my_list.h"
|
|
138 |
struct __attribute__((aligned(__alignof__(void *)))) st_list |
|
139 |
{
|
|
140 |
struct st_list * prev; |
|
141 |
struct st_list * next; |
|
142 |
void * data; |
|
143 |
};
|
|
144 |
# 34 "my_alloc.h"
|
|
145 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_mem_root |
|
146 |
{
|
|
147 |
USED_MEM * free; |
|
148 |
USED_MEM * used; |
|
149 |
USED_MEM * pre_alloc; |
|
150 |
size_t min_malloc; |
|
151 |
size_t block_size; |
|
152 |
unsigned int block_num; |
|
153 |
unsigned int first_block_usage; |
|
154 |
void (* error_handler)(void); |
|
155 |
};
|
|
156 |
# 235 "mysql.h"
|
|
157 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long long int)))) st_mysql |
|
158 |
{
|
|
159 |
NET net; |
|
160 |
unsigned char * connector_fd; |
|
161 |
char * host; |
|
162 |
char * user; |
|
163 |
char * passwd; |
|
164 |
char * unix_socket; |
|
165 |
char * server_version; |
|
166 |
char * host_info; |
|
167 |
char * info; |
|
168 |
char * db; |
|
169 |
struct charset_info_st * charset; |
|
170 |
MYSQL_FIELD * fields; |
|
171 |
MEM_ROOT field_alloc; |
|
172 |
my_ulonglong affected_rows; |
|
173 |
my_ulonglong insert_id; |
|
174 |
my_ulonglong extra_info; |
|
175 |
unsigned long int thread_id; |
|
176 |
unsigned long int packet_length; |
|
177 |
unsigned int port; |
|
178 |
unsigned long int client_flag; |
|
179 |
unsigned long int server_capabilities; |
|
180 |
unsigned int protocol_version; |
|
181 |
unsigned int field_count; |
|
182 |
unsigned int server_status; |
|
183 |
unsigned int server_language; |
|
184 |
unsigned int warning_count; |
|
185 |
struct st_mysql_options options; |
|
186 |
enum mysql_status status; |
|
187 |
my_bool free_me; |
|
188 |
my_bool reconnect; |
|
189 |
char scramble[(20 + 1)]; |
|
190 |
my_bool unused1; |
|
191 |
void * unused2; |
|
192 |
void * unused3; |
|
193 |
void * unused4; |
|
194 |
void * unused5; |
|
195 |
LIST * stmts; |
|
196 |
struct st_mysql_methods const * methods; |
|
197 |
void * thd; |
|
198 |
my_bool * unbuffered_fetch_owner; |
|
199 |
char * info_buffer; |
|
200 |
void * extension; |
|
201 |
};
|
|
202 |
# 542 "mysql.h"
|
|
203 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_mysql_bind |
|
204 |
{
|
|
205 |
unsigned long int * length; |
|
206 |
my_bool * is_null; |
|
207 |
void * buffer; |
|
208 |
my_bool * error; |
|
209 |
unsigned char * row_ptr; |
|
210 |
void (* store_param_func)(NET * net, struct st_mysql_bind * param); |
|
211 |
void (* fetch_result)(struct st_mysql_bind *, MYSQL_FIELD *, unsigned char * * row); |
|
212 |
void (* skip_result)(struct st_mysql_bind *, MYSQL_FIELD *, unsigned char * * row); |
|
213 |
unsigned long int buffer_length; |
|
214 |
unsigned long int offset; |
|
215 |
unsigned long int length_value; |
|
216 |
unsigned int param_number; |
|
217 |
unsigned int pack_length; |
|
218 |
enum enum_field_types buffer_type; |
|
219 |
my_bool error_value; |
|
220 |
my_bool is_unsigned; |
|
221 |
my_bool long_data_used; |
|
222 |
my_bool is_null_value; |
|
223 |
void * extension; |
|
224 |
};
|
|
225 |
# 628 "mysql/plugin.h"
|
|
226 |
struct __attribute__((aligned(__alignof__(int)))) st_mysql_daemon |
|
227 |
{
|
|
228 |
int interface_version; |
|
229 |
};
|
|
230 |
# 150 "mysql.h"
|
|
231 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long long int)))) st_mysql_data |
|
232 |
{
|
|
233 |
MYSQL_ROWS * data; |
|
234 |
struct embedded_query_result * embedded_info; |
|
235 |
MEM_ROOT alloc; |
|
236 |
my_ulonglong rows; |
|
237 |
unsigned int fields; |
|
238 |
void * extension; |
|
239 |
};
|
|
240 |
# 95 "mysql.h"
|
|
241 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_mysql_field |
|
242 |
{
|
|
243 |
char * name; |
|
244 |
char * org_name; |
|
245 |
char * table; |
|
246 |
char * org_table; |
|
247 |
char * db; |
|
248 |
char * catalog; |
|
249 |
char * def; |
|
250 |
unsigned long int length; |
|
251 |
unsigned long int max_length; |
|
252 |
unsigned int name_length; |
|
253 |
unsigned int org_name_length; |
|
254 |
unsigned int table_length; |
|
255 |
unsigned int org_table_length; |
|
256 |
unsigned int db_length; |
|
257 |
unsigned int catalog_length; |
|
258 |
unsigned int def_length; |
|
259 |
unsigned int flags; |
|
260 |
unsigned int decimals; |
|
261 |
unsigned int charsetnr; |
|
262 |
enum enum_field_types type; |
|
263 |
void * extension; |
|
264 |
};
|
|
265 |
# 581 "mysql/plugin.h"
|
|
266 |
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_mysql_ftparser |
|
267 |
{
|
|
268 |
int interface_version; |
|
269 |
int (* parse)(MYSQL_FTPARSER_PARAM * param); |
|
270 |
int (* init)(MYSQL_FTPARSER_PARAM * param); |
|
271 |
int (* deinit)(MYSQL_FTPARSER_PARAM * param); |
|
272 |
};
|
|
273 |
# 495 "mysql/plugin.h"
|
|
274 |
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_mysql_ftparser_boolean_info |
|
275 |
{
|
|
276 |
enum enum_ft_token_type type; |
|
277 |
int yesno; |
|
278 |
int weight_adjust; |
|
279 |
char wasign; |
|
280 |
char trunc; |
|
281 |
char prev; |
|
282 |
char * quot; |
|
283 |
};
|
|
284 |
# 557 "mysql/plugin.h"
|
|
285 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(int)))) st_mysql_ftparser_param |
|
286 |
{
|
|
287 |
int (* mysql_parse)(struct st_mysql_ftparser_param *, char * doc, int); |
|
288 |
int (* mysql_add_word)(struct st_mysql_ftparser_param *, char * word, int, MYSQL_FTPARSER_BOOLEAN_INFO * boolean_info); |
|
289 |
void * ftparser_state; |
|
290 |
void * mysql_ftparam; |
|
291 |
struct charset_info_st * cs; |
|
292 |
char * doc; |
|
293 |
int length; |
|
294 |
int flags; |
|
295 |
enum enum_ftparser_mode mode; |
|
296 |
};
|
|
297 |
# 638 "mysql/plugin.h"
|
|
298 |
struct __attribute__((aligned(__alignof__(int)))) st_mysql_information_schema |
|
299 |
{
|
|
300 |
int interface_version; |
|
301 |
};
|
|
302 |
# 29 "mysql/plugin.h"
|
|
303 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_mysql_lex_string |
|
304 |
{
|
|
305 |
char * str; |
|
306 |
unsigned int length; |
|
307 |
};
|
|
308 |
# 641 "mysql.h"
|
|
309 |
struct __attribute__((aligned(__alignof__(void *)))) st_mysql_methods |
|
310 |
{
|
|
311 |
my_bool (* read_query_result)(MYSQL * mysql); |
|
312 |
my_bool (* advanced_command)(MYSQL * mysql, enum enum_server_command, unsigned char const * header, unsigned long int, unsigned char const * arg, unsigned long int, my_bool, MYSQL_STMT * stmt); |
|
313 |
MYSQL_DATA * (* read_rows)(MYSQL * mysql, MYSQL_FIELD * mysql_fields, unsigned int); |
|
314 |
MYSQL_RES * (* use_result)(MYSQL * mysql); |
|
315 |
void (* fetch_lengths)(unsigned long int * to, MYSQL_ROW, unsigned int); |
|
316 |
void (* flush_use_result)(MYSQL * mysql); |
|
317 |
MYSQL_FIELD * (* list_fields)(MYSQL * mysql); |
|
318 |
my_bool (* read_prepare_result)(MYSQL * mysql, MYSQL_STMT * stmt); |
|
319 |
int (* stmt_execute)(MYSQL_STMT * stmt); |
|
320 |
int (* read_binary_rows)(MYSQL_STMT * stmt); |
|
321 |
int (* unbuffered_fetch)(MYSQL * mysql, char * * row); |
|
322 |
void (* free_embedded_thd)(MYSQL * mysql); |
|
323 |
char const * (* read_statistics)(MYSQL * mysql); |
|
324 |
my_bool (* next_result)(MYSQL * mysql); |
|
325 |
int (* read_change_user_result)(MYSQL * mysql, char * buff, char const * passwd); |
|
326 |
int (* read_rows_from_cursor)(MYSQL_STMT * stmt); |
|
327 |
};
|
|
328 |
# 173 "mysql.h"
|
|
329 |
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(void *)))) st_mysql_options |
|
330 |
{
|
|
331 |
unsigned int connect_timeout; |
|
332 |
unsigned int read_timeout; |
|
333 |
unsigned int write_timeout; |
|
334 |
unsigned int port; |
|
335 |
unsigned int protocol; |
|
336 |
unsigned long int client_flag; |
|
337 |
char * host; |
|
338 |
char * user; |
|
339 |
char * password; |
|
340 |
char * unix_socket; |
|
341 |
char * db; |
|
342 |
struct st_dynamic_array * init_commands; |
|
343 |
char * my_cnf_file; |
|
344 |
char * my_cnf_group; |
|
345 |
char * charset_dir; |
|
346 |
char * charset_name; |
|
347 |
char * ssl_key; |
|
348 |
char * ssl_cert; |
|
349 |
char * ssl_ca; |
|
350 |
char * ssl_capath; |
|
351 |
char * ssl_cipher; |
|
352 |
char * shared_memory_base_name; |
|
353 |
unsigned long int max_allowed_packet; |
|
354 |
my_bool use_ssl; |
|
355 |
my_bool compress; |
|
356 |
my_bool named_pipe; |
|
357 |
my_bool unused1; |
|
358 |
my_bool unused2; |
|
359 |
my_bool unused3; |
|
360 |
my_bool unused4; |
|
361 |
enum mysql_option methods_to_use; |
|
362 |
char * client_ip; |
|
363 |
my_bool secure_auth; |
|
364 |
my_bool report_data_truncation; |
|
365 |
int (* local_infile_init)(void * *, char const *, void *); |
|
366 |
int (* local_infile_read)(void *, char *, unsigned int); |
|
367 |
void (* local_infile_end)(void); |
|
368 |
int (* local_infile_error)(void *, char *, unsigned int); |
|
369 |
void * local_infile_userdata; |
|
370 |
void * extension; |
|
371 |
};
|
|
372 |
# 304 "mysql.h"
|
|
373 |
struct __attribute__((aligned(__alignof__(void *)))) st_mysql_parameters |
|
374 |
{
|
|
375 |
unsigned long int * p_max_allowed_packet; |
|
376 |
unsigned long int * p_net_buffer_length; |
|
377 |
void * extension; |
|
378 |
};
|
|
379 |
# 384 "mysql/plugin.h"
|
|
380 |
struct __attribute__((aligned(__alignof__(int)), aligned(__alignof__(void *)))) st_mysql_plugin |
|
381 |
{
|
|
382 |
int type; |
|
383 |
void * info; |
|
384 |
char const * name; |
|
385 |
char const * author; |
|
386 |
char const * descr; |
|
387 |
int license; |
|
388 |
int (* init)(void); |
|
389 |
int (* deinit)(void); |
|
390 |
unsigned int version; |
|
391 |
struct st_mysql_show_var * status_vars; |
|
392 |
struct st_mysql_sys_var * * system_vars; |
|
393 |
void * __reserved1; |
|
394 |
};
|
|
395 |
# 280 "mysql.h"
|
|
396 |
struct __attribute__((aligned(__alignof__(unsigned long long int)), aligned(__alignof__(void *)))) st_mysql_res |
|
397 |
{
|
|
398 |
my_ulonglong row_count; |
|
399 |
MYSQL_FIELD * fields; |
|
400 |
MYSQL_DATA * data; |
|
401 |
MYSQL_ROWS * data_cursor; |
|
402 |
unsigned long int * lengths; |
|
403 |
MYSQL * handle; |
|
404 |
struct st_mysql_methods const * methods; |
|
405 |
MYSQL_ROW row; |
|
406 |
MYSQL_ROW current_row; |
|
407 |
MEM_ROOT field_alloc; |
|
408 |
unsigned int field_count; |
|
409 |
unsigned int current_field; |
|
410 |
my_bool eof; |
|
411 |
my_bool unbuffered_fetch_cancelled; |
|
412 |
void * extension; |
|
413 |
};
|
|
414 |
# 139 "mysql.h"
|
|
415 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_mysql_rows |
|
416 |
{
|
|
417 |
struct st_mysql_rows * next; |
|
418 |
MYSQL_ROW data; |
|
419 |
unsigned long int length; |
|
420 |
};
|
|
421 |
# 116 "mysql/plugin.h"
|
|
422 |
struct __attribute__((aligned(__alignof__(void *)))) st_mysql_show_var |
|
423 |
{
|
|
424 |
char const * name; |
|
425 |
char * value; |
|
426 |
enum enum_mysql_show_type type; |
|
427 |
};
|
|
428 |
# 571 "mysql.h"
|
|
429 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long long int)))) st_mysql_stmt |
|
430 |
{
|
|
431 |
MEM_ROOT mem_root; |
|
432 |
LIST list; |
|
433 |
MYSQL * mysql; |
|
434 |
MYSQL_BIND * params; |
|
435 |
MYSQL_BIND * bind; |
|
436 |
MYSQL_FIELD * fields; |
|
437 |
MYSQL_DATA result; |
|
438 |
MYSQL_ROWS * data_cursor; |
|
439 |
int (* read_row_func)(struct st_mysql_stmt * stmt, unsigned char * * row); |
|
440 |
my_ulonglong affected_rows; |
|
441 |
my_ulonglong insert_id; |
|
442 |
unsigned long int stmt_id; |
|
443 |
unsigned long int flags; |
|
444 |
unsigned long int prefetch_rows; |
|
445 |
unsigned int server_status; |
|
446 |
unsigned int last_errno; |
|
447 |
unsigned int param_count; |
|
448 |
unsigned int field_count; |
|
449 |
enum enum_mysql_stmt_state state; |
|
450 |
char last_error[512]; |
|
451 |
char sqlstate[(5 + 1)]; |
|
452 |
my_bool send_types_to_server; |
|
453 |
my_bool bind_param_done; |
|
454 |
unsigned char bind_result_done; |
|
455 |
my_bool unbuffered_fetch_cancelled; |
|
456 |
my_bool update_max_length; |
|
457 |
void * extension; |
|
458 |
};
|
|
459 |
# 616 "mysql/plugin.h"
|
|
460 |
struct __attribute__((aligned(__alignof__(int)))) st_mysql_storage_engine |
|
461 |
{
|
|
462 |
int interface_version; |
|
463 |
};
|
|
464 |
# 47 "mysql_time.h"
|
|
465 |
struct __attribute__((aligned(__alignof__(unsigned long int)))) st_mysql_time |
|
466 |
{
|
|
467 |
unsigned int year; |
|
468 |
unsigned int month; |
|
469 |
unsigned int day; |
|
470 |
unsigned int hour; |
|
471 |
unsigned int minute; |
|
472 |
unsigned int second; |
|
473 |
unsigned long int second_part; |
|
474 |
my_bool neg; |
|
475 |
enum enum_mysql_timestamp_type time_type; |
|
476 |
};
|
|
477 |
# 658 "mysql/plugin.h"
|
|
478 |
struct __attribute__((aligned(__alignof__(void *)))) st_mysql_value |
|
479 |
{
|
|
480 |
int (* value_type)(struct st_mysql_value *); |
|
481 |
char const * (* val_str)(struct st_mysql_value *, char * buffer, int * length); |
|
482 |
int (* val_real)(struct st_mysql_value *, double * realbuf); |
|
483 |
int (* val_int)(struct st_mysql_value *, long long int * intbuf); |
|
484 |
};
|
|
485 |
# 46 "mysql/plugin.h"
|
|
486 |
struct __attribute__((aligned(__alignof__(long int)))) st_mysql_xid |
|
487 |
{
|
|
488 |
long int formatID; |
|
489 |
long int gtrid_length; |
|
490 |
long int bqual_length; |
|
491 |
char data[128]; |
|
492 |
};
|
|
493 |
# 204 "mysql_com.h"
|
|
494 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned long int)))) st_net |
|
495 |
{
|
|
496 |
Vio * vio; |
|
497 |
unsigned char * buff; |
|
498 |
unsigned char * buff_end; |
|
499 |
unsigned char * write_pos; |
|
500 |
unsigned char * read_pos; |
|
501 |
my_socket fd; |
|
502 |
unsigned long int remain_in_buf; |
|
503 |
unsigned long int length; |
|
504 |
unsigned long int buf_length; |
|
505 |
unsigned long int where_b; |
|
506 |
unsigned long int max_packet; |
|
507 |
unsigned long int max_packet_size; |
|
508 |
unsigned int pkt_nr; |
|
509 |
unsigned int compress_pkt_nr; |
|
510 |
unsigned int write_timeout; |
|
511 |
unsigned int read_timeout; |
|
512 |
unsigned int retry_count; |
|
513 |
int fcntl; |
|
514 |
unsigned int * return_status; |
|
515 |
unsigned char reading_or_writing; |
|
516 |
char save_char; |
|
517 |
my_bool unused1; |
|
518 |
my_bool unused2; |
|
519 |
my_bool compress; |
|
520 |
my_bool unused3; |
|
521 |
unsigned char * unused; |
|
522 |
unsigned int last_errno; |
|
523 |
unsigned char error; |
|
524 |
my_bool unused4; |
|
525 |
my_bool unused5; |
|
526 |
char last_error[512]; |
|
527 |
char sqlstate[(5 + 1)]; |
|
528 |
void * extension; |
|
529 |
};
|
|
530 |
# 22 "typelib.h"
|
|
531 |
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) st_typelib |
|
532 |
{
|
|
533 |
unsigned int count; |
|
534 |
char const * name; |
|
535 |
char const * * type_names; |
|
536 |
unsigned int * type_lengths; |
|
537 |
};
|
|
538 |
# 394 "mysql_com.h"
|
|
539 |
struct __attribute__((aligned(__alignof__(unsigned int)), aligned(__alignof__(void *)))) st_udf_args |
|
540 |
{
|
|
541 |
unsigned int arg_count; |
|
542 |
enum Item_result * arg_type; |
|
543 |
char * * args; |
|
544 |
unsigned long int * lengths; |
|
545 |
char * maybe_null; |
|
546 |
char * * attributes; |
|
547 |
unsigned long int * attribute_lengths; |
|
548 |
void * extension; |
|
549 |
};
|
|
550 |
# 408 "mysql_com.h"
|
|
551 |
struct __attribute__((aligned(__alignof__(unsigned long int)), aligned(__alignof__(void *)))) st_udf_init |
|
552 |
{
|
|
553 |
my_bool maybe_null; |
|
554 |
unsigned int decimals; |
|
555 |
unsigned long int max_length; |
|
556 |
char * ptr; |
|
557 |
my_bool const_item; |
|
558 |
void * extension; |
|
559 |
};
|
|
560 |
# 26 "my_alloc.h"
|
|
561 |
struct __attribute__((aligned(__alignof__(void *)), aligned(__alignof__(unsigned int)))) st_used_mem |
|
562 |
{
|
|
563 |
struct st_used_mem * next; |
|
564 |
unsigned int left; |
|
565 |
unsigned int size; |
|
566 |
};
|
|
567 |
# 391 "mysql_com.h"
|
|
568 |
enum Item_result |
|
569 |
{
|
|
570 |
STRING_RESULT = 0, |
|
571 |
REAL_RESULT = 1, |
|
572 |
INT_RESULT = 2, |
|
573 |
ROW_RESULT = 3, |
|
574 |
DECIMAL_RESULT = 4, |
|
575 |
};
|
|
576 |
# 336 "mysql_com.h"
|
|
577 |
enum enum_cursor_type |
|
578 |
{
|
|
579 |
CURSOR_TYPE_NO_CURSOR = 0, |
|
580 |
CURSOR_TYPE_READ_ONLY = 1, |
|
581 |
CURSOR_TYPE_FOR_UPDATE = 2, |
|
582 |
CURSOR_TYPE_SCROLLABLE = 4, |
|
583 |
};
|
|
584 |
# 249 "mysql_com.h"
|
|
585 |
enum enum_field_types |
|
586 |
{
|
|
587 |
MYSQL_TYPE_DECIMAL = 0, |
|
588 |
MYSQL_TYPE_TINY = 1, |
|
589 |
MYSQL_TYPE_SHORT = 2, |
|
590 |
MYSQL_TYPE_LONG = 3, |
|
591 |
MYSQL_TYPE_FLOAT = 4, |
|
592 |
MYSQL_TYPE_DOUBLE = 5, |
|
593 |
MYSQL_TYPE_NULL = 6, |
|
594 |
MYSQL_TYPE_TIMESTAMP = 7, |
|
595 |
MYSQL_TYPE_LONGLONG = 8, |
|
596 |
MYSQL_TYPE_INT24 = 9, |
|
597 |
MYSQL_TYPE_DATE = 10, |
|
598 |
MYSQL_TYPE_TIME = 11, |
|
599 |
MYSQL_TYPE_DATETIME = 12, |
|
600 |
MYSQL_TYPE_YEAR = 13, |
|
601 |
MYSQL_TYPE_NEWDATE = 14, |
|
602 |
MYSQL_TYPE_VARCHAR = 15, |
|
603 |
MYSQL_TYPE_NEWDECIMAL = 246, |
|
604 |
MYSQL_TYPE_ENUM = 247, |
|
605 |
MYSQL_TYPE_SET = 248, |
|
606 |
MYSQL_TYPE_TINY_BLOB = 249, |
|
607 |
MYSQL_TYPE_MEDIUM_BLOB = 250, |
|
608 |
MYSQL_TYPE_LONG_BLOB = 251, |
|
609 |
MYSQL_TYPE_BLOB = 252, |
|
610 |
MYSQL_TYPE_VAR_STRING = 253, |
|
611 |
MYSQL_TYPE_STRING = 254, |
|
612 |
MYSQL_TYPE_GEOMETRY = 255, |
|
613 |
};
|
|
614 |
# 455 "mysql/plugin.h"
|
|
615 |
enum enum_ft_token_type |
|
616 |
{
|
|
617 |
FT_TOKEN_EOF = 0, |
|
618 |
FT_TOKEN_WORD = 1, |
|
619 |
FT_TOKEN_LEFT_PAREN = 2, |
|
620 |
FT_TOKEN_RIGHT_PAREN = 3, |
|
621 |
FT_TOKEN_STOPWORD = 4, |
|
622 |
};
|
|
623 |
# 407 "mysql/plugin.h"
|
|
624 |
enum enum_ftparser_mode |
|
625 |
{
|
|
626 |
MYSQL_FTPARSER_SIMPLE_MODE = 0, |
|
627 |
MYSQL_FTPARSER_WITH_STOPWORDS = 1, |
|
628 |
MYSQL_FTPARSER_FULL_BOOLEAN_INFO = 2, |
|
629 |
};
|
|
630 |
# 346 "mysql_com.h"
|
|
631 |
enum enum_mysql_set_option |
|
632 |
{
|
|
633 |
MYSQL_OPTION_MULTI_STATEMENTS_ON = 0, |
|
634 |
MYSQL_OPTION_MULTI_STATEMENTS_OFF = 1, |
|
635 |
};
|
|
636 |
# 109 "mysql/plugin.h"
|
|
637 |
enum enum_mysql_show_type |
|
638 |
{
|
|
639 |
SHOW_UNDEF = 0, |
|
640 |
SHOW_BOOL = 1, |
|
641 |
SHOW_INT = 2, |
|
642 |
SHOW_LONG = 3, |
|
643 |
SHOW_LONGLONG = 4, |
|
644 |
SHOW_CHAR = 5, |
|
645 |
SHOW_CHAR_PTR = 6, |
|
646 |
SHOW_ARRAY = 7, |
|
647 |
SHOW_FUNC = 8, |
|
648 |
SHOW_DOUBLE = 9, |
|
649 |
};
|
|
650 |
# 472 "mysql.h"
|
|
651 |
enum enum_mysql_stmt_state |
|
652 |
{
|
|
653 |
MYSQL_STMT_INIT_DONE = 1, |
|
654 |
MYSQL_STMT_PREPARE_DONE = 2, |
|
655 |
MYSQL_STMT_EXECUTE_DONE = 3, |
|
656 |
MYSQL_STMT_FETCH_DONE = 4, |
|
657 |
};
|
|
658 |
# 28 "mysql_time.h"
|
|
659 |
enum enum_mysql_timestamp_type |
|
660 |
{
|
|
661 |
MYSQL_TIMESTAMP_NONE = -(2), |
|
662 |
MYSQL_TIMESTAMP_ERROR = -(1), |
|
663 |
MYSQL_TIMESTAMP_DATE = 0, |
|
664 |
MYSQL_TIMESTAMP_DATETIME = 1, |
|
665 |
MYSQL_TIMESTAMP_TIME = 2, |
|
666 |
};
|
|
667 |
# 63 "mysql_com.h"
|
|
668 |
enum enum_server_command |
|
669 |
{
|
|
670 |
COM_SLEEP = 0, |
|
671 |
COM_QUIT = 1, |
|
672 |
COM_INIT_DB = 2, |
|
673 |
COM_QUERY = 3, |
|
674 |
COM_FIELD_LIST = 4, |
|
675 |
COM_CREATE_DB = 5, |
|
676 |
COM_DROP_DB = 6, |
|
677 |
COM_REFRESH = 7, |
|
678 |
COM_SHUTDOWN = 8, |
|
679 |
COM_STATISTICS = 9, |
|
680 |
COM_PROCESS_INFO = 10, |
|
681 |
COM_CONNECT = 11, |
|
682 |
COM_PROCESS_KILL = 12, |
|
683 |
COM_DEBUG = 13, |
|
684 |
COM_PING = 14, |
|
685 |
COM_TIME = 15, |
|
686 |
COM_DELAYED_INSERT = 16, |
|
687 |
COM_CHANGE_USER = 17, |
|
688 |
COM_BINLOG_DUMP = 18, |
|
689 |
COM_TABLE_DUMP = 19, |
|
690 |
COM_CONNECT_OUT = 20, |
|
691 |
COM_REGISTER_SLAVE = 21, |
|
692 |
COM_STMT_PREPARE = 22, |
|
693 |
COM_STMT_EXECUTE = 23, |
|
694 |
COM_STMT_SEND_LONG_DATA = 24, |
|
695 |
COM_STMT_CLOSE = 25, |
|
696 |
COM_STMT_RESET = 26, |
|
697 |
COM_SET_OPTION = 27, |
|
698 |
COM_STMT_FETCH = 28, |
|
699 |
COM_DAEMON = 29, |
|
700 |
COM_END = 30, |
|
701 |
};
|
|
702 |
# 618 "mysql.h"
|
|
703 |
enum enum_stmt_attr_type |
|
704 |
{
|
|
705 |
STMT_ATTR_UPDATE_MAX_LENGTH = 0, |
|
706 |
STMT_ATTR_CURSOR_TYPE = 1, |
|
707 |
STMT_ATTR_PREFETCH_ROWS = 2, |
|
708 |
};
|
|
709 |
# 311 "mysql_com.h"
|
|
710 |
enum mysql_enum_shutdown_level |
|
711 |
{
|
|
712 |
SHUTDOWN_DEFAULT = 0, |
|
713 |
SHUTDOWN_WAIT_CONNECTIONS = (unsigned char)((1 << 0)), |
|
714 |
SHUTDOWN_WAIT_TRANSACTIONS = (unsigned char)((1 << 1)), |
|
715 |
SHUTDOWN_WAIT_UPDATES = (unsigned char)((1 << 3)), |
|
716 |
SHUTDOWN_WAIT_ALL_BUFFERS = ((unsigned char)((1 << 3)) << 1), |
|
717 |
SHUTDOWN_WAIT_CRITICAL_BUFFERS = (((unsigned char)((1 << 3)) << 1) + 1), |
|
718 |
KILL_CONNECTION = 255, |
|
719 |
};
|
|
720 |
# 160 "mysql.h"
|
|
721 |
enum mysql_option |
|
722 |
{
|
|
723 |
MYSQL_OPT_CONNECT_TIMEOUT = 0, |
|
724 |
MYSQL_OPT_COMPRESS = 1, |
|
725 |
MYSQL_OPT_NAMED_PIPE = 2, |
|
726 |
MYSQL_INIT_COMMAND = 3, |
|
727 |
MYSQL_READ_DEFAULT_FILE = 4, |
|
728 |
MYSQL_READ_DEFAULT_GROUP = 5, |
|
729 |
MYSQL_SET_CHARSET_DIR = 6, |
|
730 |
MYSQL_SET_CHARSET_NAME = 7, |
|
731 |
MYSQL_OPT_LOCAL_INFILE = 8, |
|
732 |
MYSQL_OPT_PROTOCOL = 9, |
|
733 |
MYSQL_SHARED_MEMORY_BASE_NAME = 10, |
|
734 |
MYSQL_OPT_READ_TIMEOUT = 11, |
|
735 |
MYSQL_OPT_WRITE_TIMEOUT = 12, |
|
736 |
MYSQL_OPT_USE_RESULT = 13, |
|
737 |
MYSQL_OPT_USE_REMOTE_CONNECTION = 14, |
|
738 |
MYSQL_OPT_USE_EMBEDDED_CONNECTION = 15, |
|
739 |
MYSQL_OPT_GUESS_CONNECTION = 16, |
|
740 |
MYSQL_SET_CLIENT_IP = 17, |
|
741 |
MYSQL_SECURE_AUTH = 18, |
|
742 |
MYSQL_REPORT_DATA_TRUNCATION = 19, |
|
743 |
MYSQL_OPT_RECONNECT = 20, |
|
744 |
MYSQL_OPT_SSL_VERIFY_SERVER_CERT = 21, |
|
745 |
};
|
|
746 |
# 214 "mysql.h"
|
|
747 |
enum mysql_protocol_type |
|
748 |
{
|
|
749 |
MYSQL_PROTOCOL_DEFAULT = 0, |
|
750 |
MYSQL_PROTOCOL_TCP = 1, |
|
751 |
MYSQL_PROTOCOL_SOCKET = 2, |
|
752 |
MYSQL_PROTOCOL_PIPE = 3, |
|
753 |
MYSQL_PROTOCOL_MEMORY = 4, |
|
754 |
};
|
|
755 |
# 209 "mysql.h"
|
|
756 |
enum mysql_status |
|
757 |
{
|
|
758 |
MYSQL_STATUS_READY = 0, |
|
759 |
MYSQL_STATUS_GET_RESULT = 1, |
|
760 |
MYSQL_STATUS_USE_RESULT = 2, |
|
761 |
};
|
|
762 |
# 452 "mysql_com.h"
|
|
763 |
extern my_bool check_scramble(char const * reply, char const * message, unsigned char const * hash_stage2); |
|
764 |
# 445 "mysql_com.h"
|
|
765 |
extern my_bool check_scramble_323(char const *, char const * message, unsigned long int * salt); |
|
766 |
# 35 "typelib.h"
|
|
767 |
extern TYPELIB * copy_typelib(MEM_ROOT * root, TYPELIB * from); |
|
768 |
# 440 "mysql_com.h"
|
|
769 |
extern void create_random_string(char * to, unsigned int, struct rand_struct * rand_st); |
|
770 |
# 32 "typelib.h"
|
|
771 |
extern int find_type(char * x, TYPELIB const * typelib, unsigned int); |
|
772 |
# 30 "typelib.h"
|
|
773 |
extern int find_type_or_exit(char const * x, TYPELIB * typelib, char const * option); |
|
774 |
# 29 "typelib.h"
|
|
775 |
extern my_ulonglong find_typeset(char * x, TYPELIB * typelib, int * error_position); |
|
776 |
# 454 "mysql_com.h"
|
|
777 |
extern void get_salt_from_password(unsigned char * res, char const * password); |
|
778 |
# 447 "mysql_com.h"
|
|
779 |
extern void get_salt_from_password_323(unsigned long int * res, char const * password); |
|
780 |
# 460 "mysql_com.h"
|
|
781 |
extern char * get_tty_password(char const * opt_message); |
|
782 |
# 34 "typelib.h"
|
|
783 |
extern char const * get_type(TYPELIB * typelib, unsigned int); |
|
784 |
# 442 "mysql_com.h"
|
|
785 |
extern void hash_password(unsigned long int * to, char const * password, unsigned int); |
|
786 |
# 30 "my_list.h"
|
|
787 |
extern LIST * list_add(LIST * root, LIST * element); |
|
788 |
# 32 "my_list.h"
|
|
789 |
extern LIST * list_cons(void * data, LIST * root); |
|
790 |
# 31 "my_list.h"
|
|
791 |
extern LIST * list_delete(LIST * root, LIST * element); |
|
792 |
# 34 "my_list.h"
|
|
793 |
extern void list_free(LIST * root, unsigned int); |
|
794 |
# 35 "my_list.h"
|
|
795 |
extern unsigned int list_length(LIST *); |
|
796 |
# 33 "my_list.h"
|
|
797 |
extern LIST * list_reverse(LIST * root); |
|
798 |
# 36 "my_list.h"
|
|
799 |
extern int list_walk(LIST *, list_walk_action, unsigned char * argument); |
|
800 |
# 455 "mysql_com.h"
|
|
801 |
extern void make_password_from_salt(char * to, unsigned char const * hash_stage2); |
|
802 |
# 448 "mysql_com.h"
|
|
803 |
extern void make_password_from_salt_323(char * to, unsigned long int const * salt); |
|
804 |
# 450 "mysql_com.h"
|
|
805 |
extern void make_scrambled_password(char * to, char const * password); |
|
806 |
# 443 "mysql_com.h"
|
|
807 |
extern void make_scrambled_password_323(char * to, char const * password); |
|
808 |
# 33 "typelib.h"
|
|
809 |
extern void make_type(char * to, unsigned int, TYPELIB * typelib); |
|
810 |
# 377 "mysql_com.h"
|
|
811 |
extern int my_connect(my_socket, struct sockaddr const * name, unsigned int, unsigned int); |
|
812 |
# 358 "mysql_com.h"
|
|
813 |
extern my_bool my_net_init(NET * net, Vio * vio); |
|
814 |
# 359 "mysql_com.h"
|
|
815 |
extern void my_net_local_init(NET * net); |
|
816 |
# 369 "mysql_com.h"
|
|
817 |
extern unsigned long int my_net_read(NET * net); |
|
818 |
# 364 "mysql_com.h"
|
|
819 |
extern my_bool my_net_write(NET * net, unsigned char const * packet, size_t); |
|
820 |
# 439 "mysql_com.h"
|
|
821 |
extern double my_rnd(struct rand_struct *); |
|
822 |
# 466 "mysql_com.h"
|
|
823 |
extern void my_thread_end(void); |
|
824 |
# 465 "mysql_com.h"
|
|
825 |
extern my_bool my_thread_init(void); |
|
826 |
# 460 "mysql.h"
|
|
827 |
extern void myodbc_remove_escape(MYSQL * mysql, char * name); |
|
828 |
# 362 "mysql.h"
|
|
829 |
extern my_ulonglong mysql_affected_rows(MYSQL * mysql); |
|
830 |
# 714 "mysql.h"
|
|
831 |
extern my_bool mysql_autocommit(MYSQL * mysql, my_bool); |
|
832 |
# 378 "mysql.h"
|
|
833 |
extern my_bool mysql_change_user(MYSQL * mysql, char const * user, char const * passwd, char const * db); |
|
834 |
# 370 "mysql.h"
|
|
835 |
extern char const * mysql_character_set_name(MYSQL * mysql); |
|
836 |
# 717 "mysql.h"
|
|
837 |
extern void mysql_close(MYSQL * sock); |
|
838 |
# 712 "mysql.h"
|
|
839 |
extern my_bool mysql_commit(MYSQL * mysql); |
|
840 |
# 441 "mysql.h"
|
|
841 |
extern void mysql_data_seek(MYSQL_RES * result, my_ulonglong); |
|
842 |
# 459 "mysql.h"
|
|
843 |
extern void mysql_debug(char const * debug); |
|
844 |
# 420 "mysql.h"
|
|
845 |
extern int mysql_dump_debug_info(MYSQL * mysql); |
|
846 |
# 462 "mysql.h"
|
|
847 |
extern my_bool mysql_embedded(void); |
|
848 |
# 354 "mysql.h"
|
|
849 |
extern my_bool mysql_eof(MYSQL_RES * res); |
|
850 |
# 364 "mysql.h"
|
|
851 |
extern unsigned int mysql_errno(MYSQL * mysql); |
|
852 |
# 461 "mysql_com.h"
|
|
853 |
extern char const * mysql_errno_to_sqlstate(unsigned int); |
|
854 |
# 365 "mysql.h"
|
|
855 |
extern char const * mysql_error(MYSQL * mysql); |
|
856 |
# 452 "mysql.h"
|
|
857 |
extern unsigned long int mysql_escape_string(char * to, char const * from, unsigned long int); |
|
858 |
# 449 "mysql.h"
|
|
859 |
extern MYSQL_FIELD * mysql_fetch_field(MYSQL_RES * result); |
|
860 |
# 355 "mysql.h"
|
|
861 |
extern MYSQL_FIELD * mysql_fetch_field_direct(MYSQL_RES * res, unsigned int); |
|
862 |
# 357 "mysql.h"
|
|
863 |
extern MYSQL_FIELD * mysql_fetch_fields(MYSQL_RES * res); |
|
864 |
# 448 "mysql.h"
|
|
865 |
extern unsigned long int * mysql_fetch_lengths(MYSQL_RES * result); |
|
866 |
# 447 "mysql.h"
|
|
867 |
extern MYSQL_ROW mysql_fetch_row(MYSQL_RES * result); |
|
868 |
# 361 "mysql.h"
|
|
869 |
extern unsigned int mysql_field_count(MYSQL * mysql); |
|
870 |
# 445 "mysql.h"
|
|
871 |
extern MYSQL_FIELD_OFFSET mysql_field_seek(MYSQL_RES * result, MYSQL_FIELD_OFFSET); |
|
872 |
# 359 "mysql.h"
|
|
873 |
extern MYSQL_FIELD_OFFSET mysql_field_tell(MYSQL_RES * res); |
|
874 |
# 440 "mysql.h"
|
|
875 |
extern void mysql_free_result(MYSQL_RES * result); |
|
876 |
# 396 "mysql.h"
|
|
877 |
extern void mysql_get_character_set_info(MYSQL * mysql, MY_CHARSET_INFO * charset); |
|
878 |
# 430 "mysql.h"
|
|
879 |
extern char const * mysql_get_client_info(void); |
|
880 |
# 431 "mysql.h"
|
|
881 |
extern unsigned long int mysql_get_client_version(void); |
|
882 |
# 432 "mysql.h"
|
|
883 |
extern char const * mysql_get_host_info(MYSQL * mysql); |
|
884 |
# 336 "mysql.h"
|
|
885 |
extern MYSQL_PARAMETERS * mysql_get_parameters(void); |
|
886 |
# 434 "mysql.h"
|
|
887 |
extern unsigned int mysql_get_proto_info(MYSQL * mysql); |
|
888 |
# 429 "mysql.h"
|
|
889 |
extern char const * mysql_get_server_info(MYSQL * mysql); |
|
890 |
# 433 "mysql.h"
|
|
891 |
extern unsigned long int mysql_get_server_version(MYSQL * mysql); |
|
892 |
# 377 "mysql.h"
|
|
893 |
extern char const * mysql_get_ssl_cipher(MYSQL * mysql); |
|
894 |
# 454 "mysql.h"
|
|
895 |
extern unsigned long int mysql_hex_string(char * to, char const * from, unsigned long int); |
|
896 |
# 368 "mysql.h"
|
|
897 |
extern char const * mysql_info(MYSQL * mysql); |
|
898 |
# 373 "mysql.h"
|
|
899 |
extern MYSQL * mysql_init(MYSQL * mysql); |
|
900 |
# 363 "mysql.h"
|
|
901 |
extern my_ulonglong mysql_insert_id(MYSQL * mysql); |
|
902 |
# 423 "mysql.h"
|
|
903 |
extern int mysql_kill(MYSQL * mysql, unsigned long int); |
|
904 |
# 435 "mysql.h"
|
|
905 |
extern MYSQL_RES * mysql_list_dbs(MYSQL * mysql, char const * wild); |
|
906 |
# 450 "mysql.h"
|
|
907 |
extern MYSQL_RES * mysql_list_fields(MYSQL * mysql, char const * table, char const * wild); |
|
908 |
# 437 "mysql.h"
|
|
909 |
extern MYSQL_RES * mysql_list_processes(MYSQL * mysql); |
|
910 |
# 436 "mysql.h"
|
|
911 |
extern MYSQL_RES * mysql_list_tables(MYSQL * mysql, char const * wild); |
|
912 |
# 715 "mysql.h"
|
|
913 |
extern my_bool mysql_more_results(MYSQL * mysql); |
|
914 |
# 716 "mysql.h"
|
|
915 |
extern int mysql_next_result(MYSQL * mysql); |
|
916 |
# 353 "mysql.h"
|
|
917 |
extern unsigned int mysql_num_fields(MYSQL_RES * res); |
|
918 |
# 352 "mysql.h"
|
|
919 |
extern my_ulonglong mysql_num_rows(MYSQL_RES * res); |
|
920 |
# 438 "mysql.h"
|
|
921 |
extern int mysql_options(MYSQL * mysql, enum mysql_option, void const * arg); |
|
922 |
# 427 "mysql.h"
|
|
923 |
extern int mysql_ping(MYSQL * mysql); |
|
924 |
# 76 "mysql.h"
|
|
925 |
extern unsigned int mysql_port; |
|
926 |
# 388 "mysql.h"
|
|
927 |
extern int mysql_query(MYSQL * mysql, char const * q); |
|
928 |
# 790 "mysql/plugin.h"
|
|
929 |
extern void mysql_query_cache_invalidate4(void * thd, char const * key, unsigned int, int); |
|
930 |
# 463 "mysql.h"
|
|
931 |
extern my_bool mysql_read_query_result(MYSQL * mysql); |
|
932 |
# 380 "mysql.h"
|
|
933 |
extern MYSQL * mysql_real_connect(MYSQL * mysql, char const * host, char const * user, char const * passwd, char const * db, unsigned int, char const * unix_socket, unsigned long int); |
|
934 |
# 456 "mysql.h"
|
|
935 |
extern unsigned long int mysql_real_escape_string(MYSQL * mysql, char * to, char const * from, unsigned long int); |
|
936 |
# 391 "mysql.h"
|
|
937 |
extern int mysql_real_query(MYSQL * mysql, char const * q, unsigned long int); |
|
938 |
# 421 "mysql.h"
|
|
939 |
extern int mysql_refresh(MYSQL * mysql, unsigned int); |
|
940 |
# 713 "mysql.h"
|
|
941 |
extern my_bool mysql_rollback(MYSQL * mysql); |
|
942 |
# 443 "mysql.h"
|
|
943 |
extern MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result, MYSQL_ROW_OFFSET); |
|
944 |
# 358 "mysql.h"
|
|
945 |
extern MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res); |
|
946 |
# 387 "mysql.h"
|
|
947 |
extern int mysql_select_db(MYSQL * mysql, char const * db); |
|
948 |
# 389 "mysql.h"
|
|
949 |
extern int mysql_send_query(MYSQL * mysql, char const * q, unsigned long int); |
|
950 |
# 322 "mysql.h"
|
|
951 |
extern void mysql_server_end(void); |
|
952 |
# 321 "mysql.h"
|
|
953 |
extern int mysql_server_init(int, char * * argv, char * * groups); |
|
954 |
# 371 "mysql.h"
|
|
955 |
extern int mysql_set_character_set(MYSQL * mysql, char const * csname); |
|
956 |
# 414 "mysql.h"
|
|
957 |
extern void mysql_set_local_infile_default(MYSQL * mysql); |
|
958 |
# 403 "mysql.h"
|
|
959 |
extern void mysql_set_local_infile_handler(MYSQL * 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 *); |
|
960 |
# 424 "mysql.h"
|
|
961 |
extern int mysql_set_server_option(MYSQL * mysql, enum enum_mysql_set_option); |
|
962 |
# 417 "mysql.h"
|
|
963 |
extern int mysql_shutdown(MYSQL * mysql, enum mysql_enum_shutdown_level); |
|
964 |
# 366 "mysql.h"
|
|
965 |
extern char const * mysql_sqlstate(MYSQL * mysql); |
|
966 |
# 374 "mysql.h"
|
|
967 |
extern my_bool mysql_ssl_set(MYSQL * mysql, char const * key, char const * cert, char const * ca, char const * capath, char const * cipher); |
|
968 |
# 428 "mysql.h"
|
|
969 |
extern char const * mysql_stat(MYSQL * mysql); |
|
970 |
# 708 "mysql.h"
|
|
971 |
extern my_ulonglong mysql_stmt_affected_rows(MYSQL_STMT * stmt); |
|
972 |
# 686 "mysql.h"
|
|
973 |
extern my_bool mysql_stmt_attr_get(MYSQL_STMT * stmt, enum enum_stmt_attr_type, void * attr); |
|
974 |
# 683 "mysql.h"
|
|
975 |
extern my_bool mysql_stmt_attr_set(MYSQL_STMT * stmt, enum enum_stmt_attr_type, void const * attr); |
|
976 |
# 689 "mysql.h"
|
|
977 |
extern my_bool mysql_stmt_bind_param(MYSQL_STMT * stmt, MYSQL_BIND * bnd); |
|
978 |
# 690 "mysql.h"
|
|
979 |
extern my_bool mysql_stmt_bind_result(MYSQL_STMT * stmt, MYSQL_BIND * bnd); |
|
980 |
# 691 "mysql.h"
|
|
981 |
extern my_bool mysql_stmt_close(MYSQL_STMT * stmt); |
|
982 |
# 706 "mysql.h"
|
|
983 |
extern void mysql_stmt_data_seek(MYSQL_STMT * stmt, my_ulonglong); |
|
984 |
# 700 "mysql.h"
|
|
985 |
extern unsigned int mysql_stmt_errno(MYSQL_STMT * stmt); |
|
986 |
# 701 "mysql.h"
|
|
987 |
extern char const * mysql_stmt_error(MYSQL_STMT * stmt); |
|
988 |
# 676 "mysql.h"
|
|
989 |
extern int mysql_stmt_execute(MYSQL_STMT * stmt); |
|
990 |
# 677 "mysql.h"
|
|
991 |
extern int mysql_stmt_fetch(MYSQL_STMT * stmt); |
|
992 |
# 678 "mysql.h"
|
|
993 |
extern int mysql_stmt_fetch_column(MYSQL_STMT * stmt, MYSQL_BIND * bind_arg, unsigned int, unsigned long int); |
|
994 |
# 710 "mysql.h"
|
|
995 |
extern unsigned int mysql_stmt_field_count(MYSQL_STMT * stmt); |
|
996 |
# 693 "mysql.h"
|
|
997 |
extern my_bool mysql_stmt_free_result(MYSQL_STMT * stmt); |
|
998 |
# 673 "mysql.h"
|
|
999 |
extern MYSQL_STMT * mysql_stmt_init(MYSQL * mysql); |
|
1000 |
# 709 "mysql.h"
|
|
1001 |
extern my_ulonglong mysql_stmt_insert_id(MYSQL_STMT * stmt); |
|
1002 |
# 707 "mysql.h"
|
|
1003 |
extern my_ulonglong mysql_stmt_num_rows(MYSQL_STMT * stmt); |
|
1004 |
# 682 "mysql.h"
|
|
1005 |
extern unsigned long int mysql_stmt_param_count(MYSQL_STMT * stmt); |
|
1006 |
# 699 "mysql.h"
|
|
1007 |
extern MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT * stmt); |
|
1008 |
# 674 "mysql.h"
|
|
1009 |
extern int mysql_stmt_prepare(MYSQL_STMT * stmt, char const * query, unsigned long int); |
|
1010 |
# 692 "mysql.h"
|
|
1011 |
extern my_bool mysql_stmt_reset(MYSQL_STMT * stmt); |
|
1012 |
# 698 "mysql.h"
|
|
1013 |
extern MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT * stmt); |
|
1014 |
# 703 "mysql.h"
|
|
1015 |
extern MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt, MYSQL_ROW_OFFSET); |
|
1016 |
# 705 "mysql.h"
|
|
1017 |
extern MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT * stmt); |
|
1018 |
# 694 "mysql.h"
|
|
1019 |
extern my_bool mysql_stmt_send_long_data(MYSQL_STMT * stmt, unsigned int, char const * data, unsigned long int); |
|
1020 |
# 702 "mysql.h"
|
|
1021 |
extern char const * mysql_stmt_sqlstate(MYSQL_STMT * stmt); |
|
1022 |
# 681 "mysql.h"
|
|
1023 |
extern int mysql_stmt_store_result(MYSQL_STMT * stmt); |
|
1024 |
# 393 "mysql.h"
|
|
1025 |
extern MYSQL_RES * mysql_store_result(MYSQL * mysql); |
|
1026 |
# 345 "mysql.h"
|
|
1027 |
extern void mysql_thread_end(void); |
|
1028 |
# 369 "mysql.h"
|
|
1029 |
extern unsigned long int mysql_thread_id(MYSQL * mysql); |
|
1030 |
# 344 "mysql.h"
|
|
1031 |
extern my_bool mysql_thread_init(void); |
|
1032 |
# 461 "mysql.h"
|
|
1033 |
extern unsigned int mysql_thread_safe(void); |
|
1034 |
# 699 "mysql/plugin.h"
|
|
1035 |
extern int mysql_tmpfile(char const * prefix); |
|
1036 |
# 77 "mysql.h"
|
|
1037 |
extern char * mysql_unix_port; |
|
1038 |
# 394 "mysql.h"
|
|
1039 |
extern MYSQL_RES * mysql_use_result(MYSQL * mysql); |
|
1040 |
# 367 "mysql.h"
|
|
1041 |
extern unsigned int mysql_warning_count(MYSQL * mysql); |
|
1042 |
# 361 "mysql_com.h"
|
|
1043 |
extern void net_clear(NET * net, my_bool); |
|
1044 |
# 360 "mysql_com.h"
|
|
1045 |
extern void net_end(NET * net); |
|
1046 |
# 363 "mysql_com.h"
|
|
1047 |
extern my_bool net_flush(NET * net); |
|
1048 |
# 368 "mysql_com.h"
|
|
1049 |
extern int net_real_write(NET * net, unsigned char const * packet, size_t); |
|
1050 |
# 362 "mysql_com.h"
|
|
1051 |
extern my_bool net_realloc(NET * net, size_t); |
|
1052 |
# 365 "mysql_com.h"
|
|
1053 |
extern my_bool net_write_command(NET * net, unsigned char, unsigned char const * header, size_t, unsigned char const * packet, size_t); |
|
1054 |
# 456 "mysql_com.h"
|
|
1055 |
extern char * octet2hex(char * to, char const * str, unsigned int); |
|
1056 |
# 437 "mysql_com.h"
|
|
1057 |
extern void randominit(struct rand_struct *, unsigned long int, unsigned long int); |
|
1058 |
# 451 "mysql_com.h"
|
|
1059 |
extern void scramble(char * to, char const * message, char const * password); |
|
1060 |
# 444 "mysql_com.h"
|
|
1061 |
extern void scramble_323(char * to, char const * message, char const * password); |
|
1062 |
# 37 "typelib.h"
|
|
1063 |
extern TYPELIB sql_protocol_typelib; |
|
1064 |
# 739 "mysql/plugin.h"
|
|
1065 |
extern void * thd_alloc(void * thd, unsigned int); |
|
1066 |
# 743 "mysql/plugin.h"
|
|
1067 |
extern void * thd_calloc(void * thd, unsigned int); |
|
1068 |
# 724 "mysql/plugin.h"
|
|
1069 |
extern unsigned long int thd_get_thread_id(void const * thd); |
|
1070 |
# 780 "mysql/plugin.h"
|
|
1071 |
extern void thd_get_xid(void const * thd, MYSQL_XID * xid); |
|
1072 |
# 680 "mysql/plugin.h"
|
|
1073 |
extern void * * thd_ha_data(void const * thd, struct handlerton const * hton); |
|
1074 |
# 675 "mysql/plugin.h"
|
|
1075 |
extern int thd_in_lock_tables(void const * thd); |
|
1076 |
# 685 "mysql/plugin.h"
|
|
1077 |
extern void thd_inc_row_count(void); |
|
1078 |
# 715 "mysql/plugin.h"
|
|
1079 |
extern int thd_killed(void const * thd); |
|
1080 |
# 770 "mysql/plugin.h"
|
|
1081 |
extern MYSQL_LEX_STRING * thd_make_lex_string(void * thd, MYSQL_LEX_STRING * lex_str, char const * str, unsigned int, int); |
|
1082 |
# 755 "mysql/plugin.h"
|
|
1083 |
extern void * thd_memdup(void * thd, void const * str, unsigned int); |
|
1084 |
# 679 "mysql/plugin.h"
|
|
1085 |
extern char const * thd_proc_info(void * thd, char const * info); |
|
1086 |
# 682 "mysql/plugin.h"
|
|
1087 |
extern char * thd_security_context(void * thd, char * buffer, unsigned int, unsigned int); |
|
1088 |
# 678 "mysql/plugin.h"
|
|
1089 |
extern int thd_sql_command(void const * thd); |
|
1090 |
# 747 "mysql/plugin.h"
|
|
1091 |
extern char * thd_strdup(void * thd, char const * str); |
|
1092 |
# 751 "mysql/plugin.h"
|
|
1093 |
extern char * thd_strmake(void * thd, char const * str, unsigned int); |
|
1094 |
# 676 "mysql/plugin.h"
|
|
1095 |
extern int thd_tablespace_op(void const * thd); |
|
1096 |
# 677 "mysql/plugin.h"
|
|
1097 |
extern long long int thd_test_options(void const * thd, long long int); |
|
1098 |
# 681 "mysql/plugin.h"
|
|
1099 |
extern int thd_tx_isolation(void const * thd); |