1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
1 |
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
1999.6.1
by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file |
4 |
* Copyright (C) 2008 Sun Microsystems, Inc.
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
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; version 2 of the License.
|
|
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 |
*/
|
|
19 |
||
2234
by Brian Aker
Mass removal of ifdef/endif in favor of pragma once. |
20 |
#pragma once
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
21 |
|
22 |
#include <cstddef> |
|
2173.2.1
by Monty Taylor
Fixes incorrect usage of include |
23 |
#include <drizzled/definitions.h> |
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
24 |
|
2173.2.1
by Monty Taylor
Fixes incorrect usage of include |
25 |
#include <drizzled/visibility.h> |
2119.4.1
by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by |
26 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
27 |
namespace drizzled |
28 |
{
|
|
29 |
||
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
30 |
struct charset_info_st; |
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
31 |
|
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
32 |
extern DRIZZLED_API charset_info_st *all_charsets[256]; |
33 |
extern charset_info_st compiled_charsets[]; |
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
34 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
35 |
extern uint32_t get_charset_number(const char *cs_name, uint32_t cs_flags); |
36 |
extern uint32_t get_collation_number(const char *name); |
|
37 |
extern const char *get_charset_name(uint32_t cs_number); |
|
38 |
||
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
39 |
DRIZZLED_API const charset_info_st *get_charset(uint32_t cs_number); |
40 |
DRIZZLED_API const charset_info_st *get_charset_by_name(const char *cs_name); |
|
41 |
DRIZZLED_API const charset_info_st *get_charset_by_csname(const char *cs_name, uint32_t cs_flags); |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
42 |
|
43 |
extern bool resolve_charset(const char *cs_name, |
|
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
44 |
const charset_info_st *default_cs, |
45 |
const charset_info_st **cs); |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
46 |
extern bool resolve_collation(const char *cl_name, |
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
47 |
const charset_info_st *default_cl, |
48 |
const charset_info_st **cl); |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
49 |
|
50 |
extern void free_charsets(void); |
|
51 |
extern char *get_charsets_dir(char *buf); |
|
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
52 |
extern bool my_charset_same(const charset_info_st *cs1, const charset_info_st *cs2); |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
53 |
extern bool init_compiled_charsets(myf flags); |
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
54 |
extern void add_compiled_collation(charset_info_st *cs); |
55 |
extern size_t escape_string_for_drizzle(const charset_info_st *charset_info, |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
56 |
char *to, size_t to_length, |
57 |
const char *from, size_t length); |
|
2254
by Brian Aker
Shift CHARSET_INFO to charset_info_st |
58 |
extern size_t escape_quotes_for_drizzle(const charset_info_st *charset_info, |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
59 |
char *to, size_t to_length, |
60 |
const char *from, size_t length); |
|
61 |
||
62 |
} /* namespace drizzled */ |
|
1241.9.57
by Monty Taylor
Oy. Bigger change than I normally like - but this stuff is all intertwined. |
63 |