yumapro  20.10-12
YumaPro SDK
db_api_cb_t_ Struct Reference

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

#include <db_api_types.h>

Data Fields

ncx_module_t * mod
 yumaworks-db-api YANG module
 
obj_template_t * obj
 <db-api> object within the /ycontrol/payload object
 
val_value_t * payload
 cached <payload> element for use in request messages
 
db_api_state_t state
 DB-API module state.
 
uint32 msgid
 request msgid that is expected in the response
 
val_value_t * edit_request
 cached <edit-request> message body
 
rpc_msg_t * rpc_msg
 dummy msg used for DB-API callback functions
 
uint32 last_msgid
 edit or getconfig in progress state
 
status_t last_status
 last message status
 
xmlChar * last_msg
 saved last message (malloced string)
 
xmlChar * filespec
 getconfig in progress state, last filespec (malloced string)
 
const char * cmdname
 back-ptr to command name
 
boolean db_lock_enabled
 db-lock is enabled
 
lock_state_t db_lock_state
 current db-lock state if enabled
 
xmlChar * lock_id
 current lock-id if locked (malloced string)
 

Detailed Description

internal control block for the DB-API module


The documentation for this struct was generated from the following file: