yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
agt_xpath.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4 *
5 * Unless required by applicable law or agreed to in writing,
6 * software distributed under the License is distributed on an
7 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations
10 * under the License.
11 */
12#ifndef _H_agt_xpath
13#define _H_agt_xpath
14
15/* FILE: agt_xpath.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
29/*********************************************************************
30* *
31* C H A N G E H I S T O R Y *
32* *
33*********************************************************************
34
35date init comment
36----------------------------------------------------------------------
3727-jan-09 abb Begun
38
39*/
40
41#ifndef _H_cfg
42#include "cfg.h"
43#endif
44
45#ifndef _H_rpc
46#include "rpc.h"
47#endif
48
49#ifndef _H_ses
50#include "ses.h"
51#endif
52
53#ifndef _H_status
54#include "status.h"
55#endif
56
57#ifndef _H_xml_msg
58#include "xml_msg.h"
59#endif
60
61#ifndef _H_val
62#include "val.h"
63#endif
64
65#ifdef __cplusplus
66extern "C" {
67#endif
68
69/********************************************************************
70* *
71* F U N C T I O N S *
72* *
73*********************************************************************/
74
75
109extern status_t
111 rpc_msg_t *msg,
112 const cfg_template_t *cfg,
113 boolean getop,
114 int32 indent);
115
116
138extern status_t
140 rpc_msg_t *msg,
141 const cfg_template_t *cfg,
142 xpath_pcb_t *pcb,
143 boolean getop,
144 int32 indent);
145
146
164extern boolean
166 ses_cb_t *scb,
167 val_value_t *selectval,
168 val_value_t *val);
169
173#ifdef __cplusplus
174} /* end extern 'C' */
175#endif
176
177#endif /* _H_agt_xpath */
@ brief NCX configuration database manager
status_t agt_xpath_output_filter(ses_cb_t *scb, rpc_msg_t *msg, const cfg_template_t *cfg, boolean getop, int32 indent)
Output an XPath filter.
Definition: agt_xpath.c:2991
status_t agt_xpath_output_cvt_filter(ses_cb_t *scb, rpc_msg_t *msg, const cfg_template_t *cfg, xpath_pcb_t *pcb, boolean getop, int32 indent)
Output an XPath filter converted from Subtree.
Definition: agt_xpath.c:3066
boolean agt_xpath_test_filter(xml_msg_hdr_t *msghdr, ses_cb_t *scb, val_value_t *selectval, val_value_t *val)
Test an XPath filter for a notification.
Definition: agt_xpath.c:3121
status_t
global error return code
Definition: status_enum.h:210
NETCONF protocol remote procedure call common definitions.
NETCONF Session Common definitions module.
Global error messages for status code enumerations.
struct representing 1 configuration database
Definition: cfg.h:229
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:185
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:912
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:404
XPath parser control block.
Definition: xpath.h:754
Value Node Basic Support.
XML and JSON Message send and receive support.