Back to Evolution Project page


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Header Files   Sources   Compound Members   File Members  

loadinfo.h

00001 /* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
00002    This file is part of the GNU C Library.
00003    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2, or (at your option)
00008    any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software Foundation,
00017    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00018 
00019 #ifndef PARAMS
00020 # if __STDC__
00021 #  define PARAMS(args) args
00022 # else
00023 #  define PARAMS(args) ()
00024 # endif
00025 #endif
00026 
00027 /* Encoding of locale name parts.  */
00028 #define CEN_REVISION        1
00029 #define CEN_SPONSOR     2
00030 #define CEN_SPECIAL     4
00031 #define XPG_NORM_CODESET    8
00032 #define XPG_CODESET     16
00033 #define TERRITORY       32
00034 #define CEN_AUDIENCE        64
00035 #define XPG_MODIFIER        128
00036 
00037 #define CEN_SPECIFIC    (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE)
00038 #define XPG_SPECIFIC    (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER)
00039 
00040 
00041 struct loaded_l10nfile
00042 {
00043   const char *filename;
00044   int decided;
00045 
00046   const void *data;
00047 
00048   struct loaded_l10nfile *next;
00049   struct loaded_l10nfile *successor[1];
00050 };
00051 
00052 
00053 extern const char *_nl_normalize_codeset PARAMS ((const char *codeset,
00054                           size_t name_len));
00055 
00056 extern struct loaded_l10nfile *
00057 _nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list,
00058                 const char *dirlist, size_t dirlist_len, int mask,
00059                 const char *language, const char *territory,
00060                 const char *codeset,
00061                 const char *normalized_codeset,
00062                 const char *modifier, const char *special,
00063                 const char *sponsor, const char *revision,
00064                 const char *filename, int do_allocate));
00065 
00066 
00067 extern const char *_nl_expand_alias PARAMS ((const char *name));
00068 
00069 extern int _nl_explode_name PARAMS ((char *name, const char **language,
00070                      const char **modifier,
00071                      const char **territory,
00072                      const char **codeset,
00073                      const char **normalized_codeset,
00074                      const char **special,
00075                      const char **sponsor,
00076                      const char **revision));
00077 
00078 extern char *_nl_find_language PARAMS ((const char *name));

Generated at Mon Nov 6 22:47:05 2000 for TheGameofEvolution by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999