~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/charset.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-29 15:37:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2362.
  • Revision ID: olafvdspek@gmail.com-20110629153757-xed9pcc07mlroymw
MY_CHARSET_HANDLER::initĀ isĀ unused

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
/* See strings/charset_info_st.txt about information on this structure  */
206
206
typedef struct my_charset_handler_st
207
207
{
208
 
  bool (*init)(struct charset_info_st *, unsigned char *(*alloc)(size_t));
 
208
  void* init_unused;
209
209
  /* Multibyte routines */
210
210
  uint32_t    (*ismbchar)(const struct charset_info_st * const, const char *, const char *);
211
211
  uint32_t    (*mbcharlen)(const struct charset_info_st * const, uint32_t c);
320
320
extern bool resolve_collation(const char *cl_name,
321
321
                             const charset_info_st *default_cl,
322
322
                             const charset_info_st **cl);
323
 
extern void free_charsets(void);
 
323
extern void free_charsets();
324
324
extern char *get_charsets_dir(char *buf);
325
325
extern bool my_charset_same(const charset_info_st *cs1, const charset_info_st *cs2);
326
 
extern bool init_compiled_charsets(myf flags);
327
 
extern void add_compiled_collation(charset_info_st *cs);
328
326
extern size_t escape_string_for_drizzle(const charset_info_st *charset_info,
329
327
                                        char *to, size_t to_length,
330
328
                                        const char *from, size_t length);