yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
ncx_owner.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 - 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_ncx_owner
12#define _H_ncx_owner
13
14/* FILE: ncx_owner.h
15*********************************************************************
16* *
17* P U R P O S E *
18* *
19*********************************************************************/
20
26/*********************************************************************
27* *
28* C H A N G E H I S T O R Y *
29* *
30*********************************************************************
31
32date init comment
33----------------------------------------------------------------------
3420apr20 am Moved from ncx_owner
35
36*/
37
38#include <xmlstring.h>
39
40#ifndef _H_ncxtypes
41#include "ncxtypes.h"
42#endif
43
44#ifndef _H_status
45#include "status.h"
46#endif
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52/********************************************************************
53* *
54* C O N S T A N T S *
55* *
56*********************************************************************/
57
58
59/********************************************************************
60* *
61* T Y P E S *
62* *
63*********************************************************************/
64
65
66/********************************************************************
67* *
68* F U N C T I O N S *
69* *
70*********************************************************************/
71
85extern void
86 ncx_owner_init (void);
87
88
93extern void
94 ncx_owner_cleanup (void);
95
96
105extern status_t
106 ncx_owner_store_name (const xmlChar *name,
107 ncx_owner_id_t *id);
108
109
116extern const xmlChar *
118
119
123#ifdef __cplusplus
124} /* end extern 'C' */
125#endif
126
127#endif /* _H_ncx_owner */
status_t
global error return code
Definition: status_enum.h:210
const xmlChar * ncx_owner_get_name(ncx_owner_id_t id)
Find an owner name to the registry.
Definition: ncx_owner.c:213
void ncx_owner_init(void)
Initialize the Owner registry.
Definition: ncx_owner.c:121
void ncx_owner_cleanup(void)
Cleanup the Owner registry.
Definition: ncx_owner.c:141
status_t ncx_owner_store_name(const xmlChar *name, ncx_owner_id_t *id)
Add an owner name to the registry; return the ID,.
Definition: ncx_owner.c:172
uint8 ncx_owner_id_t
used as index into the agt_owner registry
Definition: ncxtypes.h:1554
YANG module data structures Many internal representations of YANG module constructs.
Global error messages for status code enumerations.