16 #ifndef STRFUNC_INCLUDED
17 #define STRFUNC_INCLUDED
19 #include "my_global.h"
25 ulonglong find_set(
TYPELIB *lib,
const char *x, uint length,
27 char **err_pos, uint *err_len,
bool *set_warning);
28 ulonglong find_set_from_flags(
TYPELIB *lib, uint default_name,
29 ulonglong cur_set, ulonglong default_set,
30 const char *str, uint length,
32 char **err_pos, uint *err_len,
bool *set_warning);
33 uint find_type(
const TYPELIB *lib,
const char *find, uint length,
35 uint find_type2(
const TYPELIB *lib,
const char *find, uint length,
38 uint check_word(
TYPELIB *lib,
const char *val,
const char *end,
39 const char **end_of_word);
42 char *flagset_to_string(THD *thd,
LEX_STRING *result, ulonglong
set,
44 char *set_to_string(THD *thd,
LEX_STRING *result, ulonglong
set,