lctype.h revision 2d08521bd15501c8370ba2153b9cca4f094979d0
/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2013 Garrett D'Amore <garrett@damore.org>
*/
#ifndef _LCTYPE_H_
#define _LCTYPE_H_
#include <wchar.h>
/* private LC_CTYPE related structures */
/* encoding callbacks */
struct lc_ctype {
int (*lc_mbsinit)(const mbstate_t *);
unsigned char lc_is_ascii;
unsigned char lc_max_mblen;
const int *lc_trans_upper;
const int *lc_trans_lower;
const unsigned *lc_ctype_mask;
};
/*
* Default implementation (C locale, i.e. ASCII).
*/
int __mbsinit_ascii(const mbstate_t *);
const wchar_t **_RESTRICT_KYWD,
#endif /* !_LCTYPE_H_ */