yumapro  24.10-1
YumaPro SDK
Loading...
Searching...
No Matches
db_api_cb_t Struct Reference

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

#include <db_api_types.h>

Collaboration diagram for db_api_cb_t:

Data Fields

ncx_module_tmod
 yumaworks-db-api YANG module
 
obj_template_tobj
 <db-api> object within the /ycontrol/payload object
 
val_value_tpayload
 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_tedit_request
 cached <edit-request> message body
 
rpc_msg_trpc_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)
 
db_api_dataresp_cbfn_t cbfn
 getconfig callback function, instead of filespec
 
void * cookie
 cookie parameter for the get response callback function
 
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: