~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 18:32:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2362.
  • Revision ID: olafvdspek@gmail.com-20110629183225-bxa0qk9wqg0w4rng
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
/* See strings/charset_info_st.txt for information about this structure  */
167
167
typedef struct my_collation_handler_st
168
168
{
169
 
  bool (*init)(charset_info_st*, unsigned char *(*alloc)(size_t));
 
169
  bool (*init)(charset_info_st&, unsigned char *(*alloc)(size_t));
170
170
  /* Collation routines */
171
171
  int     (*strnncoll)(const struct charset_info_st * const,
172
172
                       const unsigned char *, size_t, const unsigned char *, size_t, bool);
574
574
                  char *dst, size_t dstlen);
575
575
 
576
576
 
577
 
bool my_coll_init_uca(charset_info_st *cs, cs_alloc_func alloc);
578
 
 
579
577
int my_strnncoll_any_uca(const charset_info_st * const cs,
580
578
                         const unsigned char *s, size_t slen,
581
579
                         const unsigned char *t, size_t tlen,