diff options
Diffstat (limited to 'strings/ctype-mb.h')
-rw-r--r-- | strings/ctype-mb.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/strings/ctype-mb.h b/strings/ctype-mb.h new file mode 100644 index 00000000..b6f06e8d --- /dev/null +++ b/strings/ctype-mb.h @@ -0,0 +1,37 @@ +#ifndef CTYPE_MB_INCLUDED +#define CTYPE_MB_INCLUDED +/* Copyright (C) 2021 MariaDB Corporation + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */ + +/* This file is to be include first in all files in the string directory */ + +#undef DBUG_ASSERT_AS_PRINTF +#include <my_global.h> /* Define standard vars */ +#include "m_string.h" /* Exernal definitions of string functions */ + + +size_t +my_min_str_mb_simple(CHARSET_INFO *cs, + uchar *dst, size_t dst_size, size_t nchars); + +size_t +my_min_str_mb_simple_nopad(CHARSET_INFO *cs, + uchar *dst, size_t dst_size, size_t nchars); + +size_t +my_max_str_mb_simple(CHARSET_INFO *cs, + uchar *dst, size_t dst_size, size_t nchars); + +#endif /*CTYPE_MB_INCLUDED */ |