yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
errmsg_dict.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 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_errmsg_dict
12#define _H_errmsg_dict
13
14/* FILE: errmsg_dict.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
29/*********************************************************************
30* *
31* C H A N G E H I S T O R Y *
32* *
33*********************************************************************
34
35date init comment
36----------------------------------------------------------------------
3726-mar-18 abb Begun; start from val_tree.c
38
39*/
40
41#include <xmlstring.h>
42
43#include "dict.h"
44#include "ncxtypes.h"
45#include "status_enum.h"
46
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52
53/********************************************************************
54* *
55* T Y P E S *
56* *
57*********************************************************************/
58
59
60
61/********************************************************************
62* *
63* F U N C T I O N S *
64* *
65*********************************************************************/
66
67
79extern void errmsg_dict_init (void);
80
81
86extern void errmsg_dict_cleanup (void);
87
88
100extern status_t
101 errmsg_dict_insert (const xmlChar *lang,
102 ncx_errmsg_t *errmsg);
103
112extern ncx_errmsg_t *
113 errmsg_dict_find (const xmlChar *lang,
114 status_t findres);
115
116
119#ifdef __cplusplus
120} /* end extern 'C' */
121#endif
122
123#endif /* _H_errmsg_dict */
status_t
global error return code
Definition: status_enum.h:210
void errmsg_dict_init(void)
Initialize this module.
Definition: errmsg_dict.c:225
status_t errmsg_dict_insert(const xmlChar *lang, ncx_errmsg_t *errmsg)
Add a list entry to the errmsg_dict.
Definition: errmsg_dict.c:267
void errmsg_dict_cleanup(void)
Cleanup this module.
Definition: errmsg_dict.c:243
ncx_errmsg_t * errmsg_dict_find(const xmlChar *lang, status_t findres)
Find a value node from the specified language tree.
Definition: errmsg_dict.c:315
YANG module data structures Many internal representations of YANG module constructs.
global error status code enumerations
error message replacement record
Definition: ncxtypes.h:1624