![]() |
yumapro
25.10-1
YumaPro SDK
|
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) | |
| 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) | |
internal control block for the DB-API module