Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4349 Serge 1
/*
2
 * Redistribution and use in source and binary forms, with or without
3
 * modification, are permitted provided that the following conditions
4
 * are met:
5
 * 1. Redistributions of source code must retain the above copyright
6
 *    notice, this list of conditions and the following disclaimer.
7
 * 2. Redistributions in binary form must reproduce the above copyright
8
 *    notice, this list of conditions and the following disclaimer in the
9
 *    documentation and/or other materials provided with the distribution.
10
 *
11
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
12
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
13
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
14
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
15
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
16
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
17
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
18
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
19
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
20
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
21
 * SUCH DAMAGE.
22
 */
23
 
24
#ifndef _LCTYPE_H_
25
#define	_LCTYPE_H_
26
 
27
#include <_ansi.h>
28
#include 
29
#include 
30
 
31
__BEGIN_DECLS
32
 
33
struct lc_ctype_T {
34
	const char	*codeset;	 /* codeset for mbtowc conversion */
35
	const char	*mb_cur_max;
36
#ifdef __HAVE_LOCALE_INFO_EXTENDED__
37
	const char	*outdigits[10];
38
	const wchar_t	*woutdigits[10];
39
#endif
40
};
41
 
42
struct lc_ctype_T *__get_current_ctype_locale(void);
43
int	__ctype_load_locale(const char *, void *, const char *, int);
44
 
45
__END_DECLS
46
 
47
#endif /* !_LCTYPE_H_ */