385 boolean match_exact);
405extern const xmlChar *
415extern const xmlChar *
status_t
global error return code
Definition: status_enum.h:210
xpath_restype_t
XPath expression result type.
Definition: xpath.h:380
xpath_get2_form_t
GET2 control block forms.
Definition: xpath.h:485
int64 xpath1_res_get_position(xpath_result_t *result, val_value_t *valptr)
Find the position of the specified entry.
Definition: xpath1_res.c:943
const xmlChar * xpath1_res_get_resnode_name(const xpath_resnode_t *resnode)
Get the local-name of the resnode node.
Definition: xpath1_res.c:1413
void xpath1_res_malloc_failed_error(xpath_pcb_t *pcb)
Generate a malloc failed error if OK.
Definition: xpath1_res.c:124
int64 xpath1_res_get_count(xpath_result_t *result)
Get the number of entries in the node-set result to support the count() function.
Definition: xpath1_res.c:903
xpath_resnode_t * xpath1_res_new_obj_resnode(xpath_pcb_t *pcb, boolean dblslash, obj_template_t *objptr)
Get a new result node from the cache or malloc if none available.
Definition: xpath1_res.c:276
const xmlChar * xpath1_res_get_cxt_name(const xpath_pcb_t *pcb)
Get the local-name of the context node.
Definition: xpath1_res.c:1391
xpath_resnode_t * xpath1_res_find_resnode(xpath_pcb_t *pcb, dlq_hdr_t *resultQ, const void *ptr)
Check if the specified resnode ptr is already in the Q.
Definition: xpath1_res.c:1078
status_t xpath1_res_flatten_result(xpath_pcb_t *pcb, xpath_result_t *result)
Convert any vahdr resnodes to valptr resnodes for simplified processing.
Definition: xpath1_res.c:1022
void xpath1_res_free_result(xpath_pcb_t *pcb, xpath_result_t *result)
Free a result struct: put in cache or free if cache maxed out.
Definition: xpath1_res.c:210
xpath_resnode_t * xpath1_res_new_val_resnode(xpath_pcb_t *pcb, boolean dblslash, val_value_t *valptr)
Get a new result node from the cache or malloc if none available.
Definition: xpath1_res.c:393
val_value_t * xpath1_res_find_entry(xpath_result_t *result, int64 position)
Find the Nth entry in the node-set result for the position() function.
Definition: xpath1_res.c:832
xpath_resnode_t * xpath1_res_find_get2_resnode(xpath_pcb_t *pcb, dlq_hdr_t *resultQ, xpath_get2_node_t *get2node)
Check if the specified resnode ptr is already in the Q (GET2)
Definition: xpath1_res.c:1136
void xpath1_res_copy_resnode(xpath_resnode_t *srcnode, xpath_resnode_t *dstnode)
Copy a resnode struct.
Definition: xpath1_res.c:1346
void xpath1_res_free_resnode(xpath_pcb_t *pcb, xpath_resnode_t *resnode)
Free a result node struct: put in cache or free if cache maxed out.
Definition: xpath1_res.c:585
xpath_resnode_t * xpath1_res_new_valhdr_resnode(xpath_pcb_t *pcb, boolean dblslash, val_child_hdr_t *valhdr)
Get a new result node from the cache or malloc if none available.
Definition: xpath1_res.c:462
xpath_result_t * xpath1_res_new_result(xpath_pcb_t *pcb, xpath_restype_t restype)
Get a new result from the cache or malloc if none available.
Definition: xpath1_res.c:159
xpath_result_t * xpath1_res_new_cxt_nodeset(xpath_pcb_t *pcb, boolean dblslash)
Start a nodeset result with the current context node.
Definition: xpath1_res.c:685
xpath_result_t * xpath1_res_new_origcxt_nodeset(xpath_pcb_t *pcb, boolean dblslash)
Start a nodeset result with the original context node.
Definition: xpath1_res.c:758
xpath_resnode_t * xpath1_res_new_get2_resnode(xpath_pcb_t *pcb, boolean dblslash, val_value_t *nodeptr_val, xpath_get2_cb_t *nodeptr_cb, xpath_get2_form_t get2_form)
Get a new result node from the cache or malloc if none available.
Definition: xpath1_res.c:524
boolean xpath1_res_match_get2node(xpath_get2_cb_t *cb1, xpath_get2_cb_t *cb2)
Compare two GET2 CBs.
Definition: xpath1_res.c:1456
xpath_resnode_t * xpath1_res_new_aioval_resnode(xpath_pcb_t *pcb, boolean dblslash, val_value_t *valptr)
Get a new AIO val result node from the cache or malloc if none available.
Definition: xpath1_res.c:429
xpath_resnode_t * xpath1_res_match_resnode(dlq_hdr_t *resultQ, xpath_resnode_t *findnode, boolean match_exact)
Match the specified result node.
Definition: xpath1_res.c:1232
void xpath1_res_add_resnode(xpath_resnode_t *resnode, xpath_result_t *result)
Add the specified resnode to the result.
Definition: xpath1_res.c:997
xpath_result_t * xpath1_res_new_nodeset(xpath_pcb_t *pcb, obj_template_t *obj, val_value_t *val, boolean dblslash)
Create a new nodeset.
Definition: xpath1_res.c:635
One YANG data-def-stmt.
Definition: obj.h:1229
this struct is inserted in the val->v.child_hdrQ for container and list value nodes
Definition: val.h:1074
one value to match one type
Definition: val.h:912
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
Schema and data model Xpath search support.