00001 /*- 00002 * © Portions copyright (c) 2006 Nokia Corporation. All rights reserved. 00003 * 00004 * Copyright (c) 2001 Alexey Zelkin <[email protected]> 00005 * All rights reserved. 00006 * 00007 * Redistribution and use in source and binary forms, with or without 00008 * modification, are permitted provided that the following conditions 00009 * are met: 00010 * 1. Redistributions of source code must retain the above copyright 00011 * notice, this list of conditions and the following disclaimer. 00012 * 2. Redistributions in binary form must reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 00016 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 00017 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00018 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00019 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 00020 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00021 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00022 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00023 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00024 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00025 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00026 * SUCH DAMAGE. 00027 * 00028 * $FreeBSD: src/include/langinfo.h,v 1.6 2002/09/18 05:54:25 mike Exp $ 00029 */ 00030 00031 00032 #ifndef _LANGINFO_H_ 00033 #define _LANGINFO_H_ 00034 00035 #include <sys/cdefs.h> 00036 #include <sys/_types.h> 00037 #ifdef __SYMBIAN32__ 00038 #include <_ansi.h> 00039 #endif 00040 00041 #ifndef _NL_ITEM_DECLARED 00042 typedef __nl_item nl_item; 00043 #define _NL_ITEM_DECLARED 00044 #endif 00045 00046 #define CODESET 0 /* codeset name */ 00047 #define D_T_FMT 1 /* string for formatting date and time */ 00048 #define D_FMT 2 /* date format string */ 00049 #define T_FMT 3 /* time format string */ 00050 #define T_FMT_AMPM 4 /* a.m. or p.m. time formatting string */ 00051 #define AM_STR 5 /* Ante Meridian affix */ 00052 #define PM_STR 6 /* Post Meridian affix */ 00053 00054 /* week day names */ 00055 #define DAY_1 7 00056 #define DAY_2 8 00057 #define DAY_3 9 00058 #define DAY_4 10 00059 #define DAY_5 11 00060 #define DAY_6 12 00061 #define DAY_7 13 00062 00063 /* abbreviated week day names */ 00064 #define ABDAY_1 14 00065 #define ABDAY_2 15 00066 #define ABDAY_3 16 00067 #define ABDAY_4 17 00068 #define ABDAY_5 18 00069 #define ABDAY_6 19 00070 #define ABDAY_7 20 00071 00072 /* month names */ 00073 #define MON_1 21 00074 #define MON_2 22 00075 #define MON_3 23 00076 #define MON_4 24 00077 #define MON_5 25 00078 #define MON_6 26 00079 #define MON_7 27 00080 #define MON_8 28 00081 #define MON_9 29 00082 #define MON_10 30 00083 #define MON_11 31 00084 #define MON_12 32 00085 00086 /* abbreviated month names */ 00087 #define ABMON_1 33 00088 #define ABMON_2 34 00089 #define ABMON_3 35 00090 #define ABMON_4 36 00091 #define ABMON_5 37 00092 #define ABMON_6 38 00093 #define ABMON_7 39 00094 #define ABMON_8 40 00095 #define ABMON_9 41 00096 #define ABMON_10 42 00097 #define ABMON_11 43 00098 #define ABMON_12 44 00099 00100 #define ERA 45 /* era description segments */ 00101 #define ERA_D_FMT 46 /* era date format string */ 00102 #define ERA_D_T_FMT 47 /* era date and time format string */ 00103 #define ERA_T_FMT 48 /* era time format string */ 00104 #define ALT_DIGITS 49 /* alternative symbols for digits */ 00105 00106 #define RADIXCHAR 50 /* radix char */ 00107 #define THOUSEP 51 /* separator for thousands */ 00108 00109 #define YESEXPR 52 /* affirmative response expression */ 00110 #define NOEXPR 53 /* negative response expression */ 00111 00112 #if __BSD_VISIBLE || __XSI_VISIBLE <= 500 00113 #define YESSTR 54 /* affirmative response for yes/no queries */ 00114 #define NOSTR 55 /* negative response for yes/no queries */ 00115 #endif 00116 00117 #define CRNCYSTR 56 /* currency symbol */ 00118 00119 #if __BSD_VISIBLE 00120 #define D_MD_ORDER 57 /* month/day order (local extension) */ 00121 #endif 00122 00123 __BEGIN_DECLS 00124 IMPORT_C char *nl_langinfo(nl_item); 00125 __END_DECLS 00126 00127 #endif /* !_LANGINFO_H_ */