yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
yang_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_yang_parse
13#define _H_yang_parse
14
15/* FILE: yang_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----------------------------------------------------------------------
3626-oct-07 abb Begun; start from ncx_parse.h
37
38*/
39
40#include <xmlstring.h>
41
42#ifndef _H_status
43#include "status.h"
44#endif
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50/********************************************************************
51* *
52* T Y P E S *
53* *
54*********************************************************************/
55
56
57/********************************************************************
58* *
59* F U N C T I O N S *
60* *
61*********************************************************************/
62
63/* Group yangcomp-parse defined in yang.h */
64
65
106extern status_t
107 yang_parse_from_filespec (const xmlChar *filespec,
108 yang_pcb_t *pcb,
109 yang_parsetype_t ptyp,
110 boolean isyang);
111
112
115#ifdef __cplusplus
116} /* end extern 'C' */
117#endif
118
119#endif /* _H_yang_parse */
status_t
global error return code
Definition: status_enum.h:210
yang_parsetype_t
YANG parser mode entry types.
Definition: yang.h:104
status_t yang_parse_from_filespec(const xmlChar *filespec, yang_pcb_t *pcb, yang_parsetype_t ptyp, boolean isyang)
Parse a file as a YANG module.
Definition: yang_parse.c:4618
Global error messages for status code enumerations.
YANG parser control block.
Definition: yang.h:204