yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
yin.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012, 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_yin
13#define _H_yin
14
15/* FILE: yin.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
3506-dec-09 abb Begun; split out from yangdump dir
36
37*/
38
39#include <xmlstring.h>
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45
46
56/********************************************************************
57* *
58* C O N S T A N T S *
59* *
60*********************************************************************/
61
62
63/********************************************************************
64* *
65* T Y P E S *
66* *
67*********************************************************************/
68
72typedef struct yin_mapping_t_ {
74 const xmlChar *keyword;
75
77 const xmlChar *argname;
78
80 boolean elem;
82
83
84/********************************************************************
85* *
86* F U N C T I O N S *
87* *
88*********************************************************************/
89
90
97extern const yin_mapping_t *
98 yin_find_mapping (const xmlChar *name);
99
100
104#ifdef __cplusplus
105} /* end extern 'C' */
106#endif
107
108#endif /* _H_yin */
const yin_mapping_t * yin_find_mapping(const xmlChar *name)
Find a static yin mapping entry.
Definition: yin.c:141
YANG to YIN mapping The argument and element vs.
Definition: yin.h:72
const xmlChar * keyword
YANG keyword.
Definition: yin.h:74
boolean elem
TRUE if element argument, FALSE for attribute argument.
Definition: yin.h:80
const xmlChar * argname
argument name, may be NULL
Definition: yin.h:77