yumapro  23.10T-10
YumaPro SDK
Loading...
Searching...
No Matches
agt_json_parse.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_json_parse
13#define _H_agt_json_parse
14
15/* FILE: agt_json_parse.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
28/*********************************************************************
29* *
30* C H A N G E H I S T O R Y *
31* *
32*********************************************************************
33
34date init comment
35----------------------------------------------------------------------
3630-mar-13 abb Begun
37*/
38
39#ifndef _H_rpc
40#include "rpc.h"
41#endif
42
43#ifndef _H_ses
44#include "ses.h"
45#endif
46
47#ifndef _H_status
48#include "status.h"
49#endif
50
51#ifndef _H_typ
52#include "typ.h"
53#endif
54
55#ifndef _H_xml_util
56#include "xml_util.h"
57#endif
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
63/********************************************************************
64* *
65* F U N C T I O N S *
66* *
67*********************************************************************/
68
69
100extern status_t
102 xml_msg_hdr_t *msg,
103 obj_template_t *obj,
104 const xmlChar **modname,
105 const xmlChar **name,
106 xmlChar **tempbuff);
107
108
134extern status_t
136 xml_msg_hdr_t *msg,
137 obj_template_t *obj,
138 dlq_hdr_t *returnQ);
139
143#ifdef __cplusplus
144} /* end extern 'C' */
145#endif
146
147#endif /* _H_agt_json_parse */
status_t agt_json_parse_text(ses_cb_t *scb, xml_msg_hdr_t *msg, obj_template_t *obj, dlq_hdr_t *returnQ)
Parse token chain representing JSON Text.
Definition: agt_json_parse.c:172
status_t agt_json_parse_top_identifier(ses_cb_t *scb, xml_msg_hdr_t *msg, obj_template_t *obj, const xmlChar **modname, const xmlChar **name, xmlChar **tempbuff)
Parse a top-level JSON object;.
Definition: agt_json_parse.c:116
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.
One YANG data-def-stmt.
Definition: obj.h:1220
Session Control Block.
Definition: ses.h:573
Common Encoding Message Header No longer XML specific!! Used by JSON and CBOR parsing as well!...
Definition: xml_msg.h:397
Parameter Type Handler.
XML Utilities.