yumapro
24.10-3
YumaPro SDK
|
DB-API data types are used only by the db_api.c C code. More...
Data Structures | |
struct | db_api_cb_t |
internal control block for the DB-API module More... | |
Typedefs | |
typedef void(* | db_api_dataresp_cbfn_t) (status_t res, val_value_t *val, void *cookie) |
user function callback template for processing the val_value_t tree for the server data response. More... | |
Enumerations | |
enum | db_api_state_t { DB_API_ST_NONE , DB_API_ST_START , DB_API_ST_STOPPED , DB_API_ST_ERROR , DB_API_ST_WAIT_REGISTER , DB_API_ST_READY , DB_API_ST_WAIT_EDIT , DB_API_ST_WAIT_GETCONFIG , DB_API_ST_WAIT_DB_LOCK_INIT , DB_API_ST_WAIT_SUBRPC , DB_API_ST_WAIT_PROTOCTL } |
DB-API service state machine enumerations. More... | |
enum | lock_state_t { LOCK_ST_NONE , LOCK_ST_WAIT_INIT , LOCK_ST_IDLE , LOCK_ST_LOCAL_LOCKED , LOCK_ST_SERVER_LOCKED , LOCK_ST_ERROR } |
db-lock state enumerations More... | |
DB-API data types are used only by the db_api.c C code.
Do not use directly!
typedef void(* db_api_dataresp_cbfn_t) (status_t res, val_value_t *val, void *cookie) |
user function callback template for processing the val_value_t tree for the server data response.
res | result of the get request; if error then val will be NULL |
val | value node representing the 'config' root node received from the server for the corresponding get request |
cookie | cookie param passed to db_api_getfilter_cb |
enum db_api_state_t |
DB-API service state machine enumerations.
enum lock_state_t |