| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
#ifndef PARAMS |
| 20 |
# if __STDC__ |
| 21 |
# define PARAMS(args) args |
| 22 |
# else |
| 23 |
# define PARAMS(args) () |
| 24 |
# endif |
| 25 |
#endif |
| 26 |
|
| 27 |
|
| 28 |
#define CEN_REVISION 1 |
| 29 |
#define CEN_SPONSOR 2 |
| 30 |
#define CEN_SPECIAL 4 |
| 31 |
#define XPG_NORM_CODESET 8 |
| 32 |
#define XPG_CODESET 16 |
| 33 |
#define TERRITORY 32 |
| 34 |
#define CEN_AUDIENCE 64 |
| 35 |
#define XPG_MODIFIER 128 |
| 36 |
|
| 37 |
#define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) |
| 38 |
#define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) |
| 39 |
|
| 40 |
|
| 41 |
struct loaded_l10nfile |
| 42 |
{ |
| 43 |
const char *filename; |
| 44 |
int decided; |
| 45 |
|
| 46 |
const void *data; |
| 47 |
|
| 48 |
struct loaded_l10nfile *next; |
| 49 |
struct loaded_l10nfile *successor[1]; |
| 50 |
}; |
| 51 |
|
| 52 |
|
| 53 |
extern const char *_nl_normalize_codeset PARAMS ((const unsigned char *codeset, |
| 54 |
size_t name_len)); |
| 55 |
|
| 56 |
extern struct loaded_l10nfile * |
| 57 |
_nl_make_l10nflist PARAMS ((struct loaded_l10nfile **l10nfile_list, |
| 58 |
const char *dirlist, size_t dirlist_len, int mask, |
| 59 |
const char *language, const char *territory, |
| 60 |
const char *codeset, |
| 61 |
const char *normalized_codeset, |
| 62 |
const char *modifier, const char *special, |
| 63 |
const char *sponsor, const char *revision, |
| 64 |
const char *filename, int do_allocate)); |
| 65 |
|
| 66 |
|
| 67 |
extern const char *_nl_expand_alias PARAMS ((const char *name)); |
| 68 |
|
| 69 |
extern int _nl_explode_name PARAMS ((char *name, const char **language, |
| 70 |
const char **modifier, |
| 71 |
const char **territory, |
| 72 |
const char **codeset, |
| 73 |
const char **normalized_codeset, |
| 74 |
const char **special, |
| 75 |
const char **sponsor, |
| 76 |
const char **revision)); |