yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
db_api_types.h File Reference

Data structures for DB-API service layer. More...

#include <xmlstring.h>
#include "dlq.h"
#include "ncxtypes.h"
#include "obj.h"
#include "rpc.h"
#include "status_enum.h"
#include "val.h"
Include dependency graph for db_api_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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

Detailed Description

Data structures for DB-API service layer.