sacsic.h File Reference

This file includes functions to manipulate SAC/SIC. More...

#include <stddef.h>
#include <stdbool.h>
#include "platform.h"
Include dependency graph for sacsic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_sac_t
 SAC info definition. More...
 
struct  ast_sac_list_t
 SAC info listdefinition. More...
 
struct  ast_sensor_t
 Sensor info definition. More...
 
struct  ast_sensor_list_t
 Sensor info listdefinition. More...
 

Macros

#define AST_MAX_REGIONS   6
 
#define AST_MAX_SENSORS   10
 

Typedefs

typedef ast_sac_list_t(* ast_sac_get_info_func_t) (const unsigned int sac)
 Function prototype of getting country info list from SAC. More...
 
typedef 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. More...
 

Functions

void ast_reg_callback_sac_get_info (ast_sac_get_info_func_t callback)
 Registry callback function of ast_sac_get_info_func_t. More...
 
void ast_reg_callback_sacsic_get_sensor (ast_sacsic_get_sensor_func_t callback)
 Registry callback function of ast_sacsic_get_info_func_t. More...
 

Detailed Description

This file includes functions to manipulate SAC/SIC.

Macro Definition Documentation

◆ AST_MAX_REGIONS

#define AST_MAX_REGIONS   6

◆ AST_MAX_SENSORS

#define AST_MAX_SENSORS   10

Typedef Documentation

◆ ast_sac_get_info_func_t

typedef ast_sac_list_t(* ast_sac_get_info_func_t) (const unsigned int sac)

Function prototype of getting country info list from SAC.

◆ ast_sacsic_get_sensor_func_t

typedef 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.

Function Documentation

◆ ast_reg_callback_sac_get_info()

void ast_reg_callback_sac_get_info ( ast_sac_get_info_func_t  callback)

Registry callback function of ast_sac_get_info_func_t.

◆ ast_reg_callback_sacsic_get_sensor()

void ast_reg_callback_sacsic_get_sensor ( ast_sacsic_get_sensor_func_t  callback)

Registry callback function of ast_sacsic_get_info_func_t.