~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/charset_info.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <sys/types.h>
24
24
 
25
 
#ifdef  __cplusplus
26
 
extern "C" {
27
 
#endif
 
25
namespace drizzled
 
26
{
28
27
 
29
28
#define MY_CS_NAME_SIZE                 32
30
29
#define MY_CS_CTYPE_TABLE_SIZE          257
320
319
extern CHARSET_INFO my_charset_utf8mb4_unicode_ci;
321
320
 
322
321
#define MY_UTF8MB4                 "utf8"
323
 
#define my_charset_utf8_general_ci my_charset_utf8mb4_general_ci
324
 
#define my_charset_utf8_bin        my_charset_utf8mb4_bin
 
322
#define my_charset_utf8_general_ci ::drizzled::my_charset_utf8mb4_general_ci
 
323
#define my_charset_utf8_bin        ::drizzled::my_charset_utf8mb4_bin
325
324
 
326
325
 
327
326
/* declarations for simple charsets */
475
474
 
476
475
int my_strcasecmp_mb_bin(const CHARSET_INFO * const, const char *s, const char *t);
477
476
 
478
 
void my_hash_sort_mb_bin(const CHARSET_INFO *,
 
477
void my_hash_sort_mb_bin(const CHARSET_INFO * const,
479
478
                         const unsigned char *key, size_t len, uint32_t *nr1, uint32_t *nr2);
480
479
 
481
480
size_t my_strnxfrm_mb(const CHARSET_INFO * const,
704
703
 
705
704
int make_escape_code(const CHARSET_INFO * const cs, const char *escape);
706
705
 
707
 
#ifdef  __cplusplus
708
 
}
709
 
#endif
 
706
} /* namespace drizzled */
710
707
 
711
708
#endif /* DRIZZLED_CHARSET_INFO_H */