ELinks 0.18.0
loadinfo.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  loaded_l10nfile

Macros

#define PATH_SEPARATOR   ':'
#define CEN_REVISION   1
#define CEN_SPONSOR   2
#define CEN_SPECIAL   4
#define XPG_NORM_CODESET   8
#define XPG_CODESET   16
#define TERRITORY   32
#define CEN_AUDIENCE   64
#define XPG_MODIFIER   128
#define CEN_SPECIFIC   (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE)
#define XPG_SPECIFIC   (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER)

Functions

const char * _nl_normalize_codeset (const char *codeset, size_t name_len)
struct loaded_l10nfile_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *special, const char *sponsor, const char *revision, const char *filename, int do_allocate)
const char * _nl_expand_alias (const char *name)
int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset, const char **special, const char **sponsor, const char **revision)
char * _nl_find_language (const char *name)

Macro Definition Documentation

◆ CEN_AUDIENCE

#define CEN_AUDIENCE   64

◆ CEN_REVISION

#define CEN_REVISION   1

◆ CEN_SPECIAL

#define CEN_SPECIAL   4

◆ CEN_SPECIFIC

#define CEN_SPECIFIC   (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE)

◆ CEN_SPONSOR

#define CEN_SPONSOR   2

◆ PATH_SEPARATOR

#define PATH_SEPARATOR   ':'

◆ TERRITORY

#define TERRITORY   32

◆ XPG_CODESET

#define XPG_CODESET   16

◆ XPG_MODIFIER

#define XPG_MODIFIER   128

◆ XPG_NORM_CODESET

#define XPG_NORM_CODESET   8

◆ XPG_SPECIFIC

#define XPG_SPECIFIC   (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER)

Function Documentation

◆ _nl_expand_alias()

const char * _nl_expand_alias ( const char * name)
extern

◆ _nl_explode_name()

int _nl_explode_name ( char * name,
const char ** language,
const char ** modifier,
const char ** territory,
const char ** codeset,
const char ** normalized_codeset,
const char ** special,
const char ** sponsor,
const char ** revision )
extern

◆ _nl_find_language()

char * _nl_find_language ( const char * name)
extern

◆ _nl_make_l10nflist()

struct loaded_l10nfile * _nl_make_l10nflist ( struct loaded_l10nfile ** l10nfile_list,
const char * dirlist,
size_t dirlist_len,
int mask,
const char * language,
const char * territory,
const char * codeset,
const char * normalized_codeset,
const char * modifier,
const char * special,
const char * sponsor,
const char * revision,
const char * filename,
int do_allocate )
extern

◆ _nl_normalize_codeset()

const char * _nl_normalize_codeset ( const char * codeset,
size_t name_len )
extern