236.1.23
by Monty Taylor
Cleaned header headers. |
1 |
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
4 |
* Copyright (C) 2008 MySQL
|
|
5 |
*
|
|
6 |
* This program is free software; you can redistribute it and/or modify
|
|
7 |
* it under the terms of the GNU General Public License as published by
|
|
8 |
* the Free Software Foundation; either version 2 of the License, or
|
|
9 |
* (at your option) any later version.
|
|
10 |
*
|
|
11 |
* This program is distributed in the hope that it will be useful,
|
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 |
* GNU General Public License for more details.
|
|
15 |
*
|
|
16 |
* You should have received a copy of the GNU General Public License
|
|
17 |
* along with this program; if not, write to the Free Software
|
|
18 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
19 |
*/
|
|
1
by brian
clean slate |
20 |
|
236.1.23
by Monty Taylor
Cleaned header headers. |
21 |
#ifndef _libdrizzle_sql_common_h
|
22 |
#define _libdrizzle_sql_common_h
|
|
1
by brian
clean slate |
23 |
|
24 |
extern const char *unknown_sqlstate; |
|
25 |
extern const char *cant_connect_sqlstate; |
|
26 |
extern const char *not_error_sqlstate; |
|
27 |
||
28 |
#ifdef __cplusplus
|
|
29 |
extern "C" { |
|
30 |
#endif
|
|
31 |
||
32 |
extern CHARSET_INFO *default_client_charset_info; |
|
264.2.4
by Andrey Hristov
Remove support for the old, pre-4.1, protocol |
33 |
DRIZZLE_FIELD *unpack_fields(DRIZZLE_DATA *data, MEM_ROOT *alloc, uint fields, |
277
by Brian Aker
Cleanup of my_bool from extra and libdrizzle |
34 |
bool default_value); |
206.3.1
by Patrick Galbraith
Most everything working with client rename |
35 |
void free_rows(DRIZZLE_DATA *cur); |
36 |
void free_old_query(DRIZZLE *drizzle); |
|
37 |
void end_server(DRIZZLE *drizzle); |
|
277
by Brian Aker
Cleanup of my_bool from extra and libdrizzle |
38 |
bool drizzle_reconnect(DRIZZLE *drizzle); |
206.3.1
by Patrick Galbraith
Most everything working with client rename |
39 |
void drizzle_read_default_options(struct st_drizzle_options *options, |
1
by brian
clean slate |
40 |
const char *filename,const char *group); |
164
by Brian Aker
Commit cleanup of export types. |
41 |
bool
|
206.3.1
by Patrick Galbraith
Most everything working with client rename |
42 |
cli_advanced_command(DRIZZLE *drizzle, enum enum_server_command command, |
164
by Brian Aker
Commit cleanup of export types. |
43 |
const unsigned char *header, uint32_t header_length, |
44 |
const unsigned char *arg, uint32_t arg_length, bool skip_check); |
|
206.3.1
by Patrick Galbraith
Most everything working with client rename |
45 |
uint32_t cli_safe_read(DRIZZLE *drizzle); |
1
by brian
clean slate |
46 |
void net_clear_error(NET *net); |
206.3.1
by Patrick Galbraith
Most everything working with client rename |
47 |
void set_drizzle_error(DRIZZLE *drizzle, int errcode, const char *sqlstate); |
1
by brian
clean slate |
48 |
#ifdef __cplusplus
|
49 |
}
|
|
50 |
#endif
|
|
51 |
||
236.1.23
by Monty Taylor
Cleaned header headers. |
52 |
#endif
|