Loading...
Searching...
No Matches
Atomize XPath options
Trees » Schema Tree
Collaboration diagram for Atomize XPath options:

## Macros

#define | LYS_FIND_NO_MATCH_ERROR 0x40
#define | LYS_FIND_SCHEMAMOUNT 0x0200
#define | LYS_FIND_XP_OUTPUT 0x10
#define | LYS_FIND_XP_SCHEMA 0x08

## Detailed Description

Options to modify behavior of lys_find_xpath() and lys_find_xpath_atoms() searching for schema nodes in schema tree.

## Macro Definition Documentation

## LYS_FIND_NO_MATCH_ERROR

#define LYS_FIND_NO_MATCH_ERROR 0x40

Return error if a path segment matches no nodes, otherwise only warning is printed.

Definition at line 2027 of file tree_schema.h.

## LYS_FIND_SCHEMAMOUNT

#define LYS_FIND_SCHEMAMOUNT 0x0200

Traverse also nodes from mounted modules. If any such nodes are returned, the caller must free their context!

Definition at line 2029 of file tree_schema.h.

## LYS_FIND_XP_OUTPUT

#define LYS_FIND_XP_OUTPUT 0x10

Search RPC/action output nodes instead of input ones.

Definition at line 2026 of file tree_schema.h.

## LYS_FIND_XP_SCHEMA

#define LYS_FIND_XP_SCHEMA 0x08

Apply node access restrictions defined for 'when' and 'must' evaluation.

Definition at line 2025 of file tree_schema.h.