yumapro  23.10T-6
YumaPro SDK
Loading...
Searching...
No Matches
agt_yangapi_reply.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
3 *
4 * Unless required by applicable law or agreed to in writing,
5 * software distributed under the License is distributed on an
6 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
7 * KIND, either express or implied. See the License for the
8 * specific language governing permissions and limitations
9 * under the License.
10 */
11#ifndef _H_agt_yangapi_reply
12#define _H_agt_yangapi_reply
13/* FILE: agt_yangapi_reply.h
14*********************************************************************
15* *
16* P U R P O S E *
17* *
18*********************************************************************/
19
26/*********************************************************************
27* *
28* C H A N G E H I S T O R Y *
29* *
30*********************************************************************
31
32date init comment
33----------------------------------------------------------------------
3417-mar-13 abb Begun.
35*/
36
37#ifndef _H_rpc
38#include "rpc.h"
39#endif
40
41#ifndef _H_ses
42#include "ses.h"
43#endif
44
45#ifndef _H_status
46#include "status.h"
47#endif
48
49#ifndef _H_yangapi
50#include "yangapi.h"
51#endif
52
53#ifdef __cplusplus
54extern "C" {
55#endif
56
57
58
59/********************************************************************
60* *
61* T Y P E S *
62* *
63*********************************************************************/
64
65
66/********************************************************************
67* *
68* F U N C T I O N S *
69* *
70*********************************************************************/
71
96extern status_t
98 yangapi_cb_t *rcb,
99 rpc_msg_t *msg,
100 status_t res,
101 boolean is_events);
102
103
116extern status_t
118 yangapi_cb_t *rcb,
119 rpc_msg_t *msg,
120 status_t res);
121
122
135extern void
137 yangapi_cb_t *rcb,
138 rpc_msg_t *msg,
139 val_value_t *valnode,
140 int32 indent);
141
142
156extern status_t
158 yangapi_cb_t *rcb,
159 rpc_msg_t *msg,
160 status_t res);
161
162
163
167#ifdef __cplusplus
168} /* end extern 'C' */
169#endif
170
171#endif /* _H_agt_yangapi_reply */
status_t agt_yangapi_yangpatch_reply_send(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, status_t res)
Send a YANG Patch reply.
Definition: agt_yangapi_reply.c:2942
status_t agt_yangapi_getbulk_reply_send(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, status_t res)
Output a RESTCONF <get-bulk> reply.
Definition: agt_yangapi_reply.c:3104
void agt_yangapi_reply_output_last_keys(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, val_value_t *valnode, int32 indent)
Output the last-keys for <get-bulk>
Definition: agt_yangapi_reply.c:3054
status_t agt_yangapi_reply_send(ses_cb_t *scb, yangapi_cb_t *rcb, rpc_msg_t *msg, status_t res, boolean is_events)
Send a RESTCONF reply.
Definition: agt_yangapi_reply.c:2647
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.
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:911
Restapi Control Block Used by RESTCONF to hold parse and request processing state.
Definition: yangapi.h:224
YANG-API definitions (pre-RESTCONF)