100typedef struct xpath1_walker_cookie_t_ {
180 const xmlChar *childname,
221 boolean leaflist_only);
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
uint16 xmlns_id_t
integer handle for registered namespaces
Definition: xmlns.h:89
xpath_get2_form_t
GET2 control block forms.
Definition: xpath.h:485
status_t xpath1_get2_create_fake_nodes(getcb_get2_t *parent_get2cb, dlq_hdr_t *resnodeQ, xpath_get2_cb_t **retcb)
@brief Create a dummy resnode chain for XPath processing of a GET2 node as the context node
Definition: xpath1_get2.c:2351
xpath_get2_cb_t * xpath1_get2_new_cb(obj_template_t *obj, val_value_t *parent_val, xpath_get2_cb_t *parent_cb)
Create a malloced XPath parser control block.
Definition: xpath1_get2.c:2246
val_value_t * xpath1_get2_find_return_key(xpath_get2_cb_t *cb, obj_template_t *keyobj)
Find a return key.
Definition: xpath1_get2.c:2500
getcb_get2_t * xpath1_get2_ancestor_keys_setup(xpath_get2_cb_t *cb)
Create parent_get2cb to facilitate all ancestor keys to the next callback invocation.
Definition: xpath1_get2.c:2548
status_t xpath1_get2_set_nodeset_child(xpath_pcb_t *pcb, xpath_result_t *result, xmlns_id_t childnsid, const xmlChar *childname, boolean textmode, ncx_xpath_axis_t axis)
Check the current result nodeset and replace each node with a node for every child instead.
Definition: xpath1_get2.c:1916
void xpath1_get2_free_node(xpath_get2_node_t *node)
Free a malloced XPath GET2 node.
Definition: xpath1_get2.c:2331
status_t xpath1_get2_set_resnode_parent(xpath_resnode_t *resnode)
Set the resnode to its parent.
Definition: xpath1_get2.c:2056
void xpath1_get2_get_resnode_parent(xpath_get2_node_t *get2node, val_value_t **parentval, xpath_get2_cb_t **parent_cb)
Get the resnode parent.
Definition: xpath1_get2.c:2118
status_t xpath1_get2_expand_result(xpath_pcb_t *pcb, xpath_result_t *result, boolean leaflist_only)
Check the result for GET2 nodes that need to be retrieved.
Definition: xpath1_get2.c:2161
void xpath1_get2_free_fake_nodes(dlq_hdr_t *resnodeQ)
Free the queue of dummy resnodes chain for XPath processing of a GET2 node as the context node.
Definition: xpath1_get2.c:2468
xpath_get2_node_t * xpath1_get2_new_node(xpath_get2_cb_t *cb, val_value_t *val, xpath_get2_form_t get2_form)
Create a malloced XPath GET2 node.
Definition: xpath1_get2.c:2308
void xpath1_get2_free_cb(xpath_get2_cb_t *cb)
Free a malloced XPath parser control block.
Definition: xpath1_get2.c:2284
ncx_xpath_axis_t
XPath expression axis types.
Definition: ncxtypes.h:662
YANG module data structures Many internal representations of YANG module constructs.
Global error messages for status code enumerations.
GET2 control block.
Definition: getcb.h:357
One YANG data-def-stmt.
Definition: obj.h:1229
one value to match one type
Definition: val.h:912
walker cookie contains the state used to output or process XPath nodes that are received from GET2 ca...
Definition: xpath1_get2.h:100
xpath_resnode_t * nextnode
next node pointer for walking
Definition: xpath1_get2.h:120
xpath_pcb_t * pcb
XPath parser control block.
Definition: xpath1_get2.h:102
boolean aio_walk_done
AIO walk flag.
Definition: xpath1_get2.h:129
status_t res
walker status
Definition: xpath1_get2.h:126
const xmlChar * objname
object name
Definition: xpath1_get2.h:111
obj_template_t * child_obj
child object being processed
Definition: xpath1_get2.h:114
xpath_resnode_t * resnode
result node being processed
Definition: xpath1_get2.h:117
const xmlChar * modname
module name
Definition: xpath1_get2.h:108
xpath_get2_cb_t * cb
XPath GET2 control block.
Definition: xpath1_get2.h:105
dlq_hdr_t * resnodeQ
result node Q for processing
Definition: xpath1_get2.h:123
Special XPath GET2 state record to be used instead of val_value_t or val_child_hdr_t pointers.
Definition: xpath.h:562
Special XPath GET2 resnode.
Definition: xpath.h:610
XPath parser control block.
Definition: xpath.h:754
XPath result node struct.
Definition: xpath.h:666
XPath expression result.
Definition: xpath.h:705
NCX Syntax Token Handler.
Value Node Basic Support.
Schema and data model Xpath search support.