59typedef struct getbulk_cb_t_ {
dlq provides general double-linked list and queue support:
void getbulk_free_cb(getbulk_cb_t *cb)
Clean and free a getbulk control block.
Definition: getbulk.c:116
status_t getbulk_create_last_keys(getbulk_cb_t *bulk, val_value_t *lastval)
Create the <last-keys> container and clone the keys from the lastval.
Definition: getbulk.c:217
status_t getbulk_check_get2(getbulk_cb_t *bulk, obj_template_t *obj, uint32 *max_entries, val_value_t **last_entry)
Check the GET2 object against the getbulk request to see if it needs to be processed as get-bulk or n...
Definition: getbulk.c:150
status_t getbulk_create_last_keys_get2(getbulk_cb_t *bulk, dlq_hdr_t *keyQ)
Create the <last-keys> container and clone the keys from the lastval; For GET2 callback.
Definition: getbulk.c:281
getbulk_cb_t * getbulk_new_cb(void)
Create a new getbulk control block.
Definition: getbulk.c:96
boolean getbulk_with_get2(getbulk_cb_t *bulk, obj_template_t *obj)
Check the GET2 object against the getbulk request to see if it needs to be processed as get-bulk or n...
Definition: getbulk.c:186
restconf_content_t
RESTCONF content query param enumeration.
Definition: yangapi.h:215
status_t
global error return code
Definition: status_enum.h:210
YANG module data structures Many internal representations of YANG module constructs.
global error status code enumerations
Get Bulk Control BLock.
Definition: getbulk.h:59
xmlChar * list_target
expression identifying the list object to walk
Definition: getbulk.h:65
uint32 ret_count
number of list entries returned
Definition: getbulk.h:77
struct obj_template_t_ * target_obj
back-ptr to the target object template
Definition: getbulk.h:68
int32 start_indent
the requested indent for the list target instances <verbatim> <rpc-reply> <bulk> <data> <foo> <– star...
Definition: getbulk.h:93
val_value_t * last_entry
last_entry based on target object; moves key leafs from last_keys into this value for checking in the...
Definition: getbulk.h:111
val_value_t * list_test_val
list_test filter for list-target
Definition: getbulk.h:99
obj_template_t * last_keys_obj
last_keys object saved from rpc/output for return last keys
Definition: getbulk.h:105
val_value_t * last_keys
last_keys anydata w/ last keys from client request
Definition: getbulk.h:96
val_value_t * ret_last_keys
last_keys anyxml w/ last keys to return to client
Definition: getbulk.h:114
val_value_t * fixed_keys
fixed_keys anydata w/ any fixed keys from client request
Definition: getbulk.h:102
struct cfg_template_t_ * source_cfg
back-ptr to the datastore config
Definition: getbulk.h:62
uint32 count
number of list entries requested
Definition: getbulk.h:71
restconf_content_t content_enum
content parameter from RESTCONF
Definition: getbulk.h:74
One YANG data-def-stmt.
Definition: obj.h:1229
one value to match one type
Definition: val.h:912
Value Node Basic Support.
YANG-API definitions (pre-RESTCONF)