All-in-One API callback support for XPath 1.0 Processing.
More...
|
xpath_aio_cb_t * | xpath1_aio_find_aiocb_full (dlq_hdr_t *aioQ, obj_template_t *obj, xpath_get2_cb_t *cb) |
| Find AIO control block by object and also check if the AIO CB is the correct control block with the same parent lookup. More...
|
|
xpath_aio_cb_t * | xpath1_aio_find_aiocb_que (dlq_hdr_t *aioQ, obj_template_t *obj) |
| Find AIO control block by object. More...
|
|
xpath_aio_cb_t * | xpath1_aio_find_aiocb_pcb (xpath_pcb_t *pcb, xpath_get2_cb_t *get2cb_cb, obj_template_t *obj) |
| Find AIO control block by object and get2cb. More...
|
|
void | xpath1_aio_free_cb (xpath_aio_cb_t *cb) |
| Free a malloced AIO control block. More...
|
|
xpath_aio_cb_t * | xpath1_aio_get_first_aio (xpath_pcb_t *pcb) |
| Get the first AIO Control block for the top level object. More...
|
|
xpath_aio_cb_t * | xpath1_aio_get_next_aio (xpath_aio_cb_t *cb) |
| Get the next AIO Control block for the next level object. More...
|
|
val_value_t * | xpath1_aio_get_first_aio_ptr (xpath_aio_cb_t *cb) |
| Get the first AIO val value in the valQ Queue. More...
|
|
val_value_t * | xpath1_aio_get_next_aio_ptr (val_value_t *entry) |
| Get the next AIO val value in the valQ Queue. More...
|
|
status_t | xpath1_aio_setup_aiocb (xpath_pcb_t *pcb, xpath_get2_cb_t *get2cb_cb, obj_template_t *obj) |
| Setup AIO control block entries. More...
|
|
boolean | xpath1_aio_check_ascend_lists (val_value_t *useval, xpath_get2_cb_t *cb) |
| Check if all the ascendent AIO lists are correct lists for the current val value and XPath GET2 control block. More...
|
|
void | xpath1_aio_get_parent (const val_value_t *val, val_value_t **parentval, xpath_get2_cb_t **parent_cb) |
| Get the AIO top value node parent. More...
|
|
All-in-One API callback support for XPath 1.0 Processing.
◆ xpath1_aio_check_ascend_lists()
Check if all the ascendent AIO lists are correct lists for the current val value and XPath GET2 control block.
- Parameters
-
useval | val value to use |
cb | current XPath GET2 control block to use |
- Returns
- TRUE if val value and XPath CB are matching and represend the same list value
FALSE otherwise
◆ xpath1_aio_find_aiocb_full()
Find AIO control block by object and also check if the AIO CB is the correct control block with the same parent lookup.
- Parameters
-
aioQ | Queue of AIO control blocks to use |
obj | object to match with |
cb | object to match with |
- Returns
- xpath_aio_cb_t AIO control block
◆ xpath1_aio_find_aiocb_pcb()
Find AIO control block by object and get2cb.
- Parameters
-
pcb | parser control block to check |
get2cb_cb | GET2 resnode control block to find |
obj | object to match with |
- Returns
- xpath_aio_cb_t AIO control block pr NULL of no match
◆ xpath1_aio_find_aiocb_que()
Find AIO control block by object.
- Parameters
-
aioQ | Queue of AIO control blocks to use |
obj | object to match with |
- Returns
- xpath_aio_cb_t AIO control block
◆ xpath1_aio_free_cb()
Free a malloced AIO control block.
- Parameters
-
cb | pointer to AIO control block to free |
◆ xpath1_aio_get_first_aio()
Get the first AIO Control block for the top level object.
- Parameters
-
pcb | Parser control block to use |
- Returns
- pointer to the first entry or NULL if empty Q
◆ xpath1_aio_get_first_aio_ptr()
Get the first AIO val value in the valQ Queue.
- Parameters
-
- Returns
- pointer to the first entry or NULL if empty Q
◆ xpath1_aio_get_next_aio()
Get the next AIO Control block for the next level object.
- Parameters
-
cb | previous control block pointer to use |
- Returns
- pointer to the next entry or NULL
◆ xpath1_aio_get_next_aio_ptr()
Get the next AIO val value in the valQ Queue.
- Parameters
-
entry | previous val value pointer to use |
- Returns
- pointer to the next entry or NULL
◆ xpath1_aio_get_parent()
Get the AIO top value node parent.
- Parameters
-
| val | top AIO value node to check |
[out] | parentval | address of return parentval
- *parentval return parentval (parent_cb will be NULL)
|
[out] | parent_cb | address of return parent_cb
- *parent_cb return parent_cb (parentval will be NULL)
|
◆ xpath1_aio_setup_aiocb()
Setup AIO control block entries.
Porcess the whole tree here, create AIO cb for all of the children of this tree. Every level will have its own CB
- Parameters
-
pcb | parser control block |
get2cb_cb | GET2 XPath node AIO top level get2 control block for this to use |
obj | template for object being processed |
- Returns
- status