178
178
extern ulong my_thread_stack_size;
181
extern CHARSET_INFO *default_charset_info;
181
extern const CHARSET_INFO *default_charset_info;
182
182
extern CHARSET_INFO *all_charsets[256];
183
183
extern CHARSET_INFO compiled_charsets[];
814
814
extern uint get_collation_number(const char *name);
815
815
extern const char *get_charset_name(uint cs_number);
817
extern CHARSET_INFO *get_charset(uint cs_number, myf flags);
818
extern CHARSET_INFO *get_charset_by_name(const char *cs_name, myf flags);
819
extern CHARSET_INFO *get_charset_by_csname(const char *cs_name,
820
uint cs_flags, myf my_flags);
817
extern const CHARSET_INFO *get_charset(uint cs_number, myf flags);
818
extern const CHARSET_INFO *get_charset_by_name(const char *cs_name, myf flags);
819
extern const CHARSET_INFO *get_charset_by_csname(const char *cs_name,
820
uint cs_flags, myf my_flags);
822
822
extern bool resolve_charset(const char *cs_name,
823
CHARSET_INFO *default_cs,
823
const CHARSET_INFO *default_cs,
824
const CHARSET_INFO **cs);
825
825
extern bool resolve_collation(const char *cl_name,
826
CHARSET_INFO *default_cl,
826
const CHARSET_INFO *default_cl,
827
const CHARSET_INFO **cl);
829
829
extern void free_charsets(void);
830
830
extern char *get_charsets_dir(char *buf);