~drizzle-trunk/drizzle/development

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
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
22
  dynamically linked libdrizzleclient.
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
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
29
#ifndef LIBDRIZZLECLIENT_LIBDRIZZLE_H
30
#define LIBDRIZZLECLIENT_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
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
37
#include "drizzle_field.h"
38
#include "drizzle_rows.h"
39
#include "drizzle_data.h"
840.1.21 by Monty Taylor
ZOMG. Renamed all the rest of the stuff in libdrizzleclient to be drizzleclient_*. I love commandline perl.
40
#include "options.h"
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
41
42
#include "drizzle.h"
43
#include "drizzle_parameters.h"
44
#include "drizzle_methods.h"
45
383.1.48 by Monty Taylor
Got rid of libsqlcommon and some surious defines.
46
#include <stdint.h>
1 by brian
clean slate
47
390.1.5 by Monty Taylor
Moved more functions into drizzle.c as part of the split of code.
48
#ifdef  __cplusplus
49
extern "C" {
50
#endif
51
840.1.21 by Monty Taylor
ZOMG. Renamed all the rest of the stuff in libdrizzleclient to be drizzleclient_*. I love commandline perl.
52
  const char * drizzleclient_get_client_info(void);
53
  uint32_t drizzleclient_get_client_version(void);
54
  unsigned int drizzleclient_get_default_port(void);
55
  uint32_t drizzleclient_escape_string(char *to,const char *from,
390.1.5 by Monty Taylor
Moved more functions into drizzle.c as part of the split of code.
56
                                 uint32_t from_length);
1 by brian
clean slate
57
206.3.1 by Patrick Galbraith
Most everything working with client rename
58
#ifdef  __cplusplus
1 by brian
clean slate
59
}
60
#endif
61
779.3.37 by Monty Taylor
Renmaed libdrizzle in the tree to libdrizzleclient to avoid namespace clashes
62
#endif /* LIBDRIZZLECLIENT_LIBDRIZZLE_H */