lc.h revision 34f9b3eef6fdadbda0a846aa4d68691ac40eace5
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2009 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
/* : : generated by proto : : */
/* : : generated by ./lcgen : : */
#ifndef _LC_H
#if !defined(__PROTO__)
#include <prototyped.h>
#endif
#if !defined(__LINKAGE__)
#define __LINKAGE__ /* 2004-08-11 transition */
#endif
#define _LC_H 1
#include <ast.h>
#define LC_abbreviated 0x00001
#define LC_checked 0x00002
#define LC_debug 0x00004
#define LC_default 0x00008
#define LC_defined 0x00010
#define LC_local 0x00020
#define LC_primary 0x00040
#define LC_qualified 0x00080
#define LC_undefined 0x00100
#define LC_utf8 0x00200
#define LC_verbose 0x00400
#define LC_user 0x10000
#define LC_language_attribute_max 2
#define LC_territory_language_max 4
struct Lc_s;
typedef struct Lc_info_s
{
unsigned long number;
} Lc_info_t;
typedef struct Lc_attribute_s
{
const char* name;
unsigned long flags;
unsigned long index;
typedef struct Lc_charset_s
{
const char* code;
const char* alternates;
const char* ms;
unsigned long index;
} Lc_charset_t;
typedef struct Lc_language_s
{
const char* code;
const char* name;
const char* alternates;
const Lc_charset_t* charset;
unsigned long flags;
unsigned long index;
typedef struct Lc_territory_s
{
const char* code;
const char* name;
unsigned long flags;
unsigned long index;
#ifdef _LC_TERRITORY_PRIVATE_
#endif
typedef struct Lc_map_s
{
const char* code;
const Lc_language_t* language;
const Lc_territory_t* territory;
const Lc_charset_t* charset;
const Lc_attribute_t* attribute;
} Lc_map_t;
typedef struct Lc_attribute_list_s
{
struct Lc_attribute_list_s* next;
const Lc_attribute_t* attribute;
typedef struct Lc_s
{
const char* name;
const char* code;
const Lc_language_t* language;
const Lc_territory_t* territory;
const Lc_charset_t* charset;
const Lc_attribute_list_t* attributes;
unsigned long flags;
unsigned long index;
#ifdef _LC_PRIVATE_
#endif
} Lc_t;
struct Lc_category_s;
typedef struct Lc_category_s
{
const char* name;
int external;
int internal;
#if _BLD_ast && defined(__EXPORT__)
#endif
#define __MANGLE__ __LINKAGE__
#endif