31#ifndef _STLP_C_LOCALE_IMPL_H
32#define _STLP_C_LOCALE_IMPL_H
41#if defined (_GNU_SOURCE) && defined (__GLIBC__) && \
42 ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
43# define _STLP_USE_GLIBC2_LOCALIZATION
54#define _Locale_MAX_SIMPLE_NAME 256
99#define _STLP_LOC_UNDEFINED 0
100#define _STLP_LOC_UNSUPPORTED_FACET_CATEGORY 1
101#define _STLP_LOC_UNKNOWN_NAME 2
102#define _STLP_LOC_NO_PLATFORM_SUPPORT 3
103#define _STLP_LOC_NO_MEMORY 4
201#ifndef _STLP_NO_WCHAR_T
245 const char * ,
size_t ,
272 char *,
size_t,
char **);
287 const char * ,
size_t ,
288 const char * ,
size_t );
289#ifndef _STLP_NO_WCHAR_T
291 const wchar_t * ,
size_t ,
292 const wchar_t * ,
size_t );
306 const char * ,
size_t );
308#ifndef _STLP_NO_WCHAR_T
311 const wchar_t * ,
size_t );
327#ifndef _STLP_NO_WCHAR_T
339#ifndef _STLP_NO_WCHAR_T
367#ifndef _STLP_NO_WCHAR_T
386#ifndef _STLP_NO_WCHAR_T
399#ifndef _STLP_NO_WCHAR_T
415#ifndef _STLP_NO_WCHAR_T
444 int,
int,
const char *);
struct _Locale_name_hint * _Locale_get_monetary_hint(struct _Locale_monetary *)
struct _Locale_collate * _Locale_collate_create(const char *, struct _Locale_name_hint *, int *)
const wchar_t * _WLocale_true(struct _Locale_numeric *, wchar_t *, size_t)
const char * _Locale_pm_str(struct _Locale_time *)
char const * _Locale_codecvt_name(const struct _Locale_codecvt *, char *__buf)
void _Locale_monetary_destroy(struct _Locale_monetary *)
void _Locale_codecvt_destroy(struct _Locale_codecvt *)
struct _Locale_ctype * _Locale_ctype_create(const char *, struct _Locale_name_hint *, int *)
int _WLocale_mb_cur_max(struct _Locale_codecvt *)
char _Locale_int_frac_digits(struct _Locale_monetary *)
const char * _Locale_t_fmt(struct _Locale_time *)
char _Locale_mon_thousands_sep(struct _Locale_monetary *)
int _Locale_n_sign_posn(struct _Locale_monetary *)
const char * _Locale_long_d_fmt(struct _Locale_time *)
int _Locale_strcmp(struct _Locale_collate *, const char *, size_t, const char *, size_t)
const char * _Locale_messages_default(char *__buf)
int _Locale_p_sep_by_space(struct _Locale_monetary *)
struct _Locale_name_hint * _Locale_get_collate_hint(struct _Locale_collate *)
const wchar_t * _WLocale_int_curr_symbol(struct _Locale_monetary *, wchar_t *, size_t)
const char * _Locale_ctype_default(char *__buf)
struct _Locale_monetary * _Locale_monetary_create(const char *, struct _Locale_name_hint *, int *)
struct _Locale_codecvt * _Locale_codecvt_create(const char *, struct _Locale_name_hint *, int *)
char const * _Locale_monetary_name(const struct _Locale_monetary *, char *__buf)
char const * _Locale_time_name(const struct _Locale_time *, char *__buf)
void _Locale_time_destroy(struct _Locale_time *)
const char * _Locale_mon_grouping(struct _Locale_monetary *)
void _Locale_ctype_destroy(struct _Locale_ctype *)
size_t _WLocale_strxfrm(struct _Locale_collate *, wchar_t *, size_t, const wchar_t *, size_t)
const char * _Locale_true(struct _Locale_numeric *)
wchar_t _WLocale_thousands_sep(struct _Locale_numeric *)
char const * _Locale_collate_name(const struct _Locale_collate *, char *__buf)
const wchar_t * _WLocale_abbrev_monthname(struct _Locale_time *, int, wchar_t *, size_t)
const wchar_t * _WLocale_negative_sign(struct _Locale_monetary *, wchar_t *, size_t)
int _Locale_p_cs_precedes(struct _Locale_monetary *)
char const * _Locale_messages_name(const struct _Locale_messages *, char *__buf)
const wchar_t * _WLocale_false(struct _Locale_numeric *, wchar_t *, size_t)
void _Locale_numeric_destroy(struct _Locale_numeric *)
int _Locale_tolower(struct _Locale_ctype *, int)
const wchar_t * _WLocale_am_str(struct _Locale_time *, wchar_t *, size_t)
char const * _Locale_numeric_name(const struct _Locale_numeric *, char *__buf)
char _Locale_mon_decimal_point(struct _Locale_monetary *)
int _WLocale_is_stateless(struct _Locale_codecvt *)
size_t _WLocale_wctomb(struct _Locale_codecvt *, char *, size_t, const wchar_t, mbstate_t *)
const char * _Locale_am_str(struct _Locale_time *)
const char * _Locale_abbrev_dayofweek(struct _Locale_time *, int)
const char * _Locale_collate_default(char *__buf)
wchar_t _WLocale_decimal_point(struct _Locale_numeric *)
const _Locale_mask_t * _Locale_ctype_table(struct _Locale_ctype *)
struct _Locale_name_hint * _Locale_get_time_hint(struct _Locale_time *)
const char * _Locale_long_d_t_fmt(struct _Locale_time *)
int _Locale_toupper(struct _Locale_ctype *, int)
char const * _Locale_extract_numeric_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
unsigned short int _Locale_mask_t
wint_t _WLocale_tolower(struct _Locale_ctype *, wint_t)
void _Locale_catclose(struct _Locale_messages *, nl_catd_type)
char const * _Locale_extract_monetary_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
nl_catd_type _Locale_catopen(struct _Locale_messages *, const char *)
struct _Locale_name_hint * _Locale_get_numeric_hint(struct _Locale_numeric *)
char _Locale_frac_digits(struct _Locale_monetary *)
const wchar_t * _WLocale_full_monthname(struct _Locale_time *, int, wchar_t *, size_t)
char const * _Locale_extract_time_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
const char * _Locale_catgets(struct _Locale_messages *, nl_catd_type, int, int, const char *)
const char * _Locale_currency_symbol(struct _Locale_monetary *)
const char * _Locale_numeric_default(char *__buf)
int _Locale_n_sep_by_space(struct _Locale_monetary *)
const char * _Locale_positive_sign(struct _Locale_monetary *)
wchar_t _WLocale_mon_thousands_sep(struct _Locale_monetary *)
const char * _Locale_int_curr_symbol(struct _Locale_monetary *)
const char * _Locale_abbrev_monthname(struct _Locale_time *, int)
const wchar_t * _WLocale_currency_symbol(struct _Locale_monetary *, wchar_t *, size_t)
const char * _Locale_negative_sign(struct _Locale_monetary *)
char _Locale_thousands_sep(struct _Locale_numeric *)
char const * _Locale_extract_collate_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
void _Locale_collate_destroy(struct _Locale_collate *)
size_t _WLocale_mbtowc(struct _Locale_codecvt *, wchar_t *, const char *, size_t, mbstate_t *)
struct _Locale_time * _Locale_time_create(const char *, struct _Locale_name_hint *, int *)
const char * _Locale_full_monthname(struct _Locale_time *, int)
struct _Locale_messages * _Locale_messages_create(const char *, struct _Locale_name_hint *, int *)
const char * _Locale_full_dayofweek(struct _Locale_time *, int)
const wchar_t * _WLocale_pm_str(struct _Locale_time *, wchar_t *, size_t)
void _Locale_messages_destroy(struct _Locale_messages *)
const wchar_t * _WLocale_positive_sign(struct _Locale_monetary *, wchar_t *, size_t)
size_t _Locale_strxfrm(struct _Locale_collate *, char *, size_t, const char *, size_t)
const wchar_t * _WLocale_abbrev_dayofweek(struct _Locale_time *, int, wchar_t *, size_t)
const char * _Locale_monetary_default(char *__buf)
int _Locale_p_sign_posn(struct _Locale_monetary *)
int _Locale_n_cs_precedes(struct _Locale_monetary *)
int _WLocale_mb_cur_min(struct _Locale_codecvt *)
size_t _WLocale_unshift(struct _Locale_codecvt *, mbstate_t *, char *, size_t, char **)
char const * _Locale_extract_ctype_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
char const * _Locale_ctype_name(const struct _Locale_ctype *, char *__buf)
char _Locale_decimal_point(struct _Locale_numeric *)
const char * _Locale_time_default(char *__buf)
_Locale_mask_t _WLocale_ctype(struct _Locale_ctype *, wint_t, _Locale_mask_t)
wint_t _WLocale_toupper(struct _Locale_ctype *, wint_t)
int _WLocale_strcmp(struct _Locale_collate *, const wchar_t *, size_t, const wchar_t *, size_t)
wchar_t _WLocale_mon_decimal_point(struct _Locale_monetary *)
const char * _Locale_false(struct _Locale_numeric *)
struct _Locale_name_hint * _Locale_get_messages_hint(struct _Locale_messages *)
char const * _Locale_extract_messages_name(const char *cname, char *__buf, struct _Locale_name_hint *__hint, int *__err_code)
const char * _Locale_d_t_fmt(struct _Locale_time *)
const char * _Locale_grouping(struct _Locale_numeric *)
const char * _Locale_d_fmt(struct _Locale_time *)
struct _Locale_numeric * _Locale_numeric_create(const char *, struct _Locale_name_hint *, int *)
const wchar_t * _WLocale_full_dayofweek(struct _Locale_time *, int, wchar_t *, size_t)
struct _Locale_name_hint * _Locale_get_ctype_hint(struct _Locale_ctype *)