24 #ifndef LIBASTERIX_COUNTRY_H 25 #define LIBASTERIX_COUNTRY_H 37 typedef struct _ast_country_t
55 typedef const char* (*ast_get_national_flag_func_t)(
const char* country_code2);
64 #endif //LIBASTERIX_COUNTRY_H const char *(* ast_get_national_flag_func_t)(const char *country_code2)
Function prototype of getting national flag image link from ISO 2-letter country code.
Definition: country.h:55
const char * country_name
Common English name.
Definition: country.h:42
bool valid
If country info is valid.
Definition: country.h:39
Country info definition.
Definition: country.h:37
void ast_reg_callback_get_national_flag(ast_get_national_flag_func_t callback)
Registry callback function of ast_get_national_flag_func_t.
void ast_reg_callback_icao_addr_get_country(ast_icao_addr_get_country_func_t callback)
Registry callback function of ast_icao_addr_get_country_func_t.
ast_country_t(* ast_icao_addr_get_country_func_t)(const unsigned int icao_addr)
Function prototype of getting country info from ICAO 24-bit address.
Definition: country.h:48
const char * country_fullname
Full English name.
Definition: country.h:43
const char * country_code2
ISO 3166-1 2-letter country code.
Definition: country.h:40
const char * country_code3
ISO 3166-1 3-letter country code.
Definition: country.h:41