yumapro  20.10-10
YumaPro SDK
DB-API Data Types

DB-API data types are used only by the db_api.c C code. More...

Collaboration diagram for DB-API Data Types:

Data Structures

struct  db_api_cb_t
 internal control block for the DB-API module More...
 

Enumerations

Detailed Description

DB-API data types are used only by the db_api.c C code.

Do not use directly!

Enumeration Type Documentation

DB-API service state machine enumerations.

Enumerator
DB_API_ST_NONE 

not set

DB_API_ST_START 

DB-API is starting up.

DB_API_ST_STOPPED 

DB-API is stopped.

DB_API_ST_ERROR 

DB-API in error state.

DB_API_ST_WAIT_REGISTER 

DB-API waiting for reply to register.

DB_API_ST_READY 

DB-API is ready for using request APIs.

DB_API_ST_WAIT_EDIT 

DB-API is waiting for a server response to an edit request.

DB_API_ST_WAIT_GETCONFIG 

DB-API is waiting for a server response to a get request.

DB_API_ST_WAIT_DB_LOCK_INIT 

DB-API is waiting for a server response to a db-lock init request.

DB_API_ST_WAIT_SUBRPC 

DB-API is waiting for a server response to a subrpc request.

db-lock state enumerations

Enumerator
LOCK_ST_NONE 

not set

LOCK_ST_WAIT_INIT 

waiting for server response to init request

LOCK_ST_IDLE 

ready for use

LOCK_ST_LOCAL_LOCKED 

currently locked by a local system user

LOCK_ST_SERVER_LOCKED 

currently locked by the main server

LOCK_ST_ERROR 

db-lock error state