25 #ifndef LIBASTERIX_SACSIC_H 26 #define LIBASTERIX_SACSIC_H 38 typedef struct _ast_sac_t
50 #define AST_MAX_REGIONS 6 54 typedef struct _ast_sac_list_t
69 typedef struct _ast_sensor_t
83 #define AST_MAX_SENSORS 10 87 typedef struct _ast_sensor_list_t
106 #endif //LIBASTERIX_SACSIC_H const char * country_fullname
Full English name.
Definition: sacsic.h:47
unsigned int sac
Definition: sacsic.h:41
const char * region_code
Definition: sacsic.h:42
const char * country_name
Common English name.
Definition: sacsic.h:46
unsigned int sac
Definition: sacsic.h:72
const char * country_name
Common English name.
Definition: sacsic.h:76
const char * model
Definition: sacsic.h:79
#define AST_MAX_REGIONS
Definition: sacsic.h:50
Sensor info definition.
Definition: sacsic.h:69
void ast_reg_callback_sac_get_info(ast_sac_get_info_func_t callback)
Registry callback function of ast_sac_get_info_func_t.
SAC info listdefinition.
Definition: sacsic.h:54
bool valid
If SAC info is valid.
Definition: sacsic.h:40
#define AST_MAX_SENSORS
Definition: sacsic.h:83
const char * manufacturer
Manufacturer name.
Definition: sacsic.h:78
ast_sac_list_t(* ast_sac_get_info_func_t)(const unsigned int sac)
Function prototype of getting country info list from SAC.
Definition: sacsic.h:62
Sensor info listdefinition.
Definition: sacsic.h:87
const char * description
Definition: sacsic.h:80
const char * country_code3
ISO 3166-1 3-letter country code.
Definition: sacsic.h:75
const char * type
System type.
Definition: sacsic.h:77
SAC info definition.
Definition: sacsic.h:38
const char * name
Definition: sacsic.h:74
const char * country_code3
ISO 3166-1 3-letter country code.
Definition: sacsic.h:45
size_t n_sacs
Definition: sacsic.h:56
ast_sensor_list_t(* ast_sacsic_get_sensor_func_t)(const unsigned int sac, const unsigned int sic)
Function prototype of getting sensor info list from SAC/SIC.
Definition: sacsic.h:95
const char * country_code2
ISO 3166-1 2-letter country code.
Definition: sacsic.h:44
const char * region_name
Definition: sacsic.h:43
bool valid
If Sensor info is valid.
Definition: sacsic.h:71
unsigned int sic
Definition: sacsic.h:73
void ast_reg_callback_sacsic_get_sensor(ast_sacsic_get_sensor_func_t callback)
Registry callback function of ast_sacsic_get_info_func_t.
size_t n_sensors
Definition: sacsic.h:89