1N/A/***********************************************************************
1N/A* *
1N/A* This software is part of the ast package *
1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property *
1N/A* and is licensed under the *
1N/A* Common Public License, Version 1.0 *
1N/A* by AT&T Intellectual Property *
1N/A* *
1N/A* A copy of the License is available at *
1N/A* http://www.opensource.org/licenses/cpl1.0.txt *
1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
1N/A* *
1N/A* Information and Software Systems Research *
1N/A* AT&T Research *
1N/A* Florham Park NJ *
1N/A* *
1N/A* Glenn Fowler <gsf@research.att.com> *
1N/A* David Korn <dgk@research.att.com> *
1N/A* Phong Vo <kpv@research.att.com> *
1N/A* *
1N/A***********************************************************************/
1N/A#pragma prototyped
1N/A
1N/A/*
1N/A * locale state private definitions
1N/A */
1N/A
1N/A#ifndef _LCLIB_H
1N/A#define _LCLIB_H 1
1N/A
1N/A#define locales _ast_locales
1N/A#define translate _ast_translate
1N/A
1N/A#define lc_categories _ast_lc_categories
1N/A#define lc_charsets _ast_lc_charsets
1N/A#define lc_languages _ast_lc_languages
1N/A#define lc_maps _ast_lc_maps
1N/A#define lc_territories _ast_lc_territories
1N/A
1N/Astruct Lc_info_s;
1N/A
1N/A#define _LC_PRIVATE_ \
1N/A struct Lc_info_s info[AST_LC_COUNT]; \
1N/A struct Lc_s* next;
1N/A
1N/A#define _LC_TERRITORY_PRIVATE_ \
1N/A unsigned char indices[LC_territory_language_max];
1N/A
1N/A#include <ast.h>
1N/A#include <error.h>
1N/A#include <lc.h>
1N/A
1N/Atypedef struct Lc_numeric_s
1N/A{
1N/A int decimal;
1N/A int thousand;
1N/A} Lc_numeric_t;
1N/A
1N/A#define LCINFO(c) (&locales[c]->info[c])
1N/A
1N/Aextern const Lc_charset_t lc_charsets[];
1N/Aextern const Lc_language_t lc_languages[];
1N/Aextern const Lc_map_t lc_maps[];
1N/Aextern const Lc_territory_t lc_territories[];
1N/A
1N/Aextern Lc_category_t lc_categories[];
1N/Aextern Lc_t* locales[];
1N/A
1N/Aextern char* translate(const char*, const char*, const char*, const char*);
1N/A
1N/A#endif