#include "common.h"
#include "atoms.h"
#include "iso3166.h"
#include "misc.h"
#include "override.h"
Data Structures | |
| struct | iso3166_entry_t |
Defines | |
| #define | NUM_CODES (36 * 35 + 35) |
Functions | |
| const gchar * | iso3166_decode_cc (guint16 code) |
| Decodes a valid 2-letter country code into an integer. | |
| guint16 | iso3166_encode_cc (const gchar *cc) |
| Encodes a valid 2-letter country code into an integer. | |
| void | iso3166_init (void) |
| void | iso3166_close (void) |
| const iso3166_entry_t * | iso3166_country_entry (guint16 code) |
| const gchar * | iso3166_country_name (guint16 code) |
| Maps a valid encoded country code to the country name. | |
| const gchar * | iso3166_country_cc (guint16 code) |
| Maps a valid encoded country code to the 2-letter code. | |
Variables | |
| struct { | |
| const char cc [3] | |
| const char * country | |
| } | iso3166_tab [] |
| Suggestion for translators: Translate only the name the of country in which the language is spoken - if the native name is different. | |
| iso3166_entry_t | iso3166_entries [G_N_ELEMENTS(iso3166_tab)] |
| iso3166_entry_t * | iso3166_countries [NUM_CODES] |
|
|
|
|
|
|
|
|
Maps a valid encoded country code to the 2-letter code.
|
|
|
|
|
|
Maps a valid encoded country code to the country name.
|
|
|
Decodes a valid 2-letter country code into an integer.
|
|
|
Encodes a valid 2-letter country code into an integer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Suggestion for translators: Translate only the name the of country in which the language is spoken - if the native name is different.
|
1.3.9.1