yumapro  23.10T-8
YumaPro SDK
Loading...
Searching...
No Matches
xpath1_get2.h File Reference

XPath 1.0 expression support for server GET2 callback functions. More...

#include "dlq.h"
#include "ncxtypes.h"
#include "obj.h"
#include "status.h"
#include "tk.h"
#include "val.h"
#include "xmlns.h"
#include "xpath.h"
Include dependency graph for xpath1_get2.h:

Go to the source code of this file.

Data Structures

struct  xpath1_walker_cookie_t
 walker cookie contains the state used to output or process XPath nodes that are received from GET2 callbacks More...
 

Functions

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. More...
 
status_t xpath1_get2_set_resnode_parent (xpath_resnode_t *resnode)
 Set the resnode to its parent. More...
 
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. More...
 
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. More...
 
xpath_get2_cb_txpath1_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. More...
 
void xpath1_get2_free_cb (xpath_get2_cb_t *cb)
 Free a malloced XPath parser control block. More...
 
xpath_get2_node_txpath1_get2_new_node (xpath_get2_cb_t *cb, val_value_t *val, xpath_get2_form_t get2_form)
 Create a malloced XPath GET2 node. More...
 
void xpath1_get2_free_node (xpath_get2_node_t *node)
 Free a malloced XPath GET2 node. More...
 
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 More...
 
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. More...
 
val_value_txpath1_get2_find_return_key (xpath_get2_cb_t *cb, obj_template_t *keyobj)
 Find a return key. More...
 
getcb_get2_txpath1_get2_ancestor_keys_setup (xpath_get2_cb_t *cb)
 Create parent_get2cb to facilitate all ancestor keys to the next callback invocation. More...
 

Detailed Description

XPath 1.0 expression support for server GET2 callback functions.