Supports the NETCONF <get-bulk> operation.
More...
Supports the NETCONF <get-bulk> operation.
Defines the Get Bulk Control Block and utilties to manage this CB. Also utilities to convert to/from val_value_t to use within SIL or SIL-SA code and between subsystem and server.
◆ getbulk_check_get2()
Check the GET2 object against the getbulk request to see if it needs to be processed as get-bulk or normal.
- Parameters
-
| bulk | getbulk control block to check |
| obj | object being processed by getcb GET2 |
[out] | max_entries | address of return 'count'
- *max_entries value of 'count' if get-bulk needed
|
[out] | last_entry | address of return last_entry struct
- *last_entry value struct containing keys to use for GETNEXT
|
- Returns
- status; ERR_NCX_SKIPPED if not used;
◆ getbulk_create_last_keys()
Create the <last-keys> container and clone the keys from the lastval.
- Parameters
-
[in,out] | bulk | getbulk control block to use
- bulk->ret_last_keys is set
|
| lastval | value to use for keys |
- Returns
- status
◆ getbulk_create_last_keys_get2()
Create the <last-keys> container and clone the keys from the lastval; For GET2 callback.
- Parameters
-
[in,out] | bulk | getbulk control block to use
- bulk->ret_last_keys is set
|
| keyQ | Q of leaf values to use for keys |
- Returns
- status
◆ getbulk_free_cb()
Clean and free a getbulk control block.
- Parameters
-
cb | getbulk control block to clean and free |
◆ getbulk_new_cb()
Create a new getbulk control block.
- Returns
- malloced new getbulk control block that must be freed later
◆ getbulk_with_get2()
Check the GET2 object against the getbulk request to see if it needs to be processed as get-bulk or normal.
- Parameters
-
bulk | getbulk control block to check |
obj | object being processed by getcb GET2 |
- Returns
- TRUE id getbulk active for this object