summaryrefslogtreecommitdiff
path: root/strings/ctype-simple.h
blob: 321c107a61f8785cf35c44b1dcc8c6cce1b42946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef CTYPE_SIMPLE_INCLUDED
#define CTYPE_SIMPLE_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_8bit_simple(CHARSET_INFO *cs,
                       uchar *dst, size_t dst_size, size_t nchars);

size_t
my_min_str_8bit_simple_nopad(CHARSET_INFO *cs,
                             uchar *dst, size_t dst_size, size_t nchars);

size_t
my_max_str_8bit_simple(CHARSET_INFO *cs,
                       uchar *dst, size_t dst_size, size_t nchars);

#endif /*CTYPE_SIMPLE_INCLUDED */