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 |
*
|
|
383.1.47
by Monty Taylor
Couple of tiny changes. |
4 |
* Copyright (C) 2008 Sun Microsystems, Inc.
|
236.1.23
by Monty Taylor
Cleaned header headers. |
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
|
|
390.1.3
by Monty Taylor
Copyright header fixes. |
8 |
* the Free Software Foundation; version 2 of the License.
|
236.1.23
by Monty Taylor
Cleaned header headers. |
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
* GNU General Public License for more details.
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
17 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18 |
*/
|
|
1
by brian
clean slate |
19 |
|
20 |
/*
|
|
206.3.1
by Patrick Galbraith
Most everything working with client rename |
21 |
This file defines the client API to DRIZZLE and also the ABI of the
|
390.1.5
by Monty Taylor
Moved more functions into drizzle.c as part of the split of code. |
22 |
dynamically linked libdrizzle.
|
1
by brian
clean slate |
23 |
|
236.1.23
by Monty Taylor
Cleaned header headers. |
24 |
In case the file is changed so the ABI is broken, you must also
|
383.1.47
by Monty Taylor
Couple of tiny changes. |
25 |
update the SHARED_LIB_MAJOR_VERSION in configure.ac.
|
1
by brian
clean slate |
26 |
|
27 |
*/
|
|
28 |
||
383.1.44
by Monty Taylor
Renamed drizzle.h to libdrizzle.h. |
29 |
#ifndef _libdrizzle_libdrizzle_h
|
30 |
#define _libdrizzle_libdrizzle_h
|
|
1
by brian
clean slate |
31 |
|
543
by Monty Taylor
Renamed drizzle_common again. Removed sql_common. (empty) |
32 |
#include <drizzled/common.h> |
1
by brian
clean slate |
33 |
|
206.3.1
by Patrick Galbraith
Most everything working with client rename |
34 |
#define CLIENT_NET_READ_TIMEOUT 365*24*3600 /* Timeout on read */ |
35 |
#define CLIENT_NET_WRITE_TIMEOUT 365*24*3600 /* Timeout on write */ |
|
36 |
||
383.1.48
by Monty Taylor
Got rid of libsqlcommon and some surious defines. |
37 |
#include <stdint.h> |
383.1.45
by Monty Taylor
libdrizzle.h cleanup. Removed some unused things. Started splitting header into |
38 |
#include <libdrizzle/drizzle_field.h> |
39 |
#include <libdrizzle/drizzle_rows.h> |
|
40 |
#include <libdrizzle/drizzle_data.h> |
|
41 |
#include <libdrizzle/drizzle_options.h> |
|
42 |
||
383.1.46
by Monty Taylor
Finished splitting libdrizzle header files. |
43 |
#include <libdrizzle/drizzle.h> |
44 |
#include <libdrizzle/drizzle_parameters.h> |
|
45 |
#include <libdrizzle/drizzle_methods.h> |
|
1
by brian
clean slate |
46 |
|
390.1.5
by Monty Taylor
Moved more functions into drizzle.c as part of the split of code. |
47 |
#ifdef __cplusplus
|
48 |
extern "C" { |
|
49 |
#endif
|
|
50 |
||
51 |
const char * drizzle_get_client_info(void); |
|
52 |
uint32_t drizzle_get_client_version(void); |
|
53 |
unsigned int drizzle_get_default_port(void); |
|
54 |
uint32_t drizzle_escape_string(char *to,const char *from, |
|
55 |
uint32_t from_length); |
|
1
by brian
clean slate |
56 |
|
206.3.1
by Patrick Galbraith
Most everything working with client rename |
57 |
#ifdef __cplusplus
|
1
by brian
clean slate |
58 |
}
|
59 |
#endif
|
|
60 |
||
383.1.45
by Monty Taylor
libdrizzle.h cleanup. Removed some unused things. Started splitting header into |
61 |
#endif /* _libdrizzle_libdrizzle_h */ |