yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
sid_file.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 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_sid_file
12#define _H_sid_file
13
14#ifdef WITH_YANG_CBOR
15
16/* FILE: sid_file.h
17*********************************************************************
18* *
19* P U R P O S E *
20* *
21*********************************************************************/
22
29/*********************************************************************
30* *
31* C H A N G E H I S T O R Y *
32* *
33*********************************************************************
34
35date init comment
36----------------------------------------------------------------------
3726-nov-21 abb Begun; start from yang_hash.c
38
39*/
40
41#include "status_enum.h"
42
43/*** assumes procdefs.h has been included ***/
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49/********************************************************************
50* *
51* T Y P E S *
52* *
53*********************************************************************/
54
55
56/********************************************************************
57* *
58* F U N C T I O N S *
59* *
60*********************************************************************/
61
62/* Group definied in yang.h */
63
64
81extern status_t sid_file_init (void);
82
83
88extern void sid_file_cleanup (void);
89
90
103extern val_value_t *
105 status_t *res);
106
107
123extern status_t
124 sid_file_apply (uint32 sid_tree_id,
125 val_value_t *sidfile,
126 ncx_module_t *mod);
127
130#endif // WITH_YANG_CBOR
131
132#ifdef __cplusplus
133} /* end extern 'C' */
134#endif
135
136#endif /* _H_sid_file */
status_t
global error return code
Definition: status_enum.h:210
val_value_t * sid_file_load(ncx_module_t *mod, status_t *res)
Load the SID file for the specified YANG module.
Definition: sid_file.c:486
status_t sid_file_apply(uint32 sid_tree_id, val_value_t *sidfile, ncx_module_t *mod)
Apply the SID file contents to specified YANG module.
Definition: sid_file.c:633
void sid_file_cleanup(void)
Cleanup the SID FIle Parser Module.
Definition: sid_file.c:462
status_t sid_file_init(void)
Initialize the SID FIle Parser Module.
Definition: sid_file.c:411
global error status code enumerations
representation of one module or submodule during and after parsing
Definition: ncxtypes.h:1138
one value to match one type
Definition: val.h:912