yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_plock.h
Go to the documentation of this file.
1
2#ifndef _H_agt_plock
3#define _H_agt_plock
4/*
5
6 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
7 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
8 * All Rights Reserved.
9 *
10 * Unless required by applicable law or agreed to in writing,
11 * software distributed under the License is distributed on an
12 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13 * KIND, either express or implied. See the License for the
14 * specific language governing permissions and limitations
15 * under the License.
16 *
17
18 module ietf-netconf-partial-lock
19 revision 2009-10-19
20
21 namespace urn:ietf:params:xml:ns:netconf:partial-lock:1.0
22 organization IETF Network Configuration (netconf) Working Group
23
24 */
25
26
33#include <xmlstring.h>
34
35#ifndef _H_dlq
36#include "dlq.h"
37#endif
38
39#ifndef _H_ncxtypes
40#include "ncxtypes.h"
41#endif
42
43#ifndef _H_status
44#include "status.h"
45#endif
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51#define y_ietf_netconf_partial_lock_M_ietf_netconf_partial_lock \
52 (const xmlChar *)"ietf-netconf-partial-lock"
53#define y_ietf_netconf_partial_lock_R_ietf_netconf_partial_lock \
54 (const xmlChar *)"2009-10-19"
55
56#define y_ietf_netconf_partial_lock_N_lock_id (const xmlChar *)"lock-id"
57#define y_ietf_netconf_partial_lock_N_locked_node (const xmlChar *)"locked-node"
58#define y_ietf_netconf_partial_lock_N_partial_lock \
59 (const xmlChar *)"partial-lock"
60#define y_ietf_netconf_partial_lock_N_partial_unlock \
61 (const xmlChar *)"partial-unlock"
62#define y_ietf_netconf_partial_lock_N_select (const xmlChar *)"select"
63
64
65
66#if 0 // NOT USED
67
68/* leaf-list /partial-lock/input/select */
69typedef struct y_ietf_netconf_partial_lock_T_partial_lock_input_select_ {
70 dlq_hdr_t qhdr;
71 xmlChar *myselect;
72} y_ietf_netconf_partial_lock_T_partial_lock_input_select;
73
74/* container /partial-lock/input */
75typedef struct y_ietf_netconf_partial_lock_T_partial_lock_input_ {
76 dlq_hdr_t myselect;
77} y_ietf_netconf_partial_lock_T_partial_lock_input;
78
79/* leaf-list /partial-lock/output/locked-node */
80typedef struct y_ietf_netconf_partial_lock_T_partial_lock_output_locked_node_ {
81 dlq_hdr_t qhdr;
82 xmlChar *locked_node;
83} y_ietf_netconf_partial_lock_T_partial_lock_output_locked_node;
84
85/* container /partial-lock/output */
86typedef struct y_ietf_netconf_partial_lock_T_partial_lock_output_ {
87 uint32 lock_id;
88 dlq_hdr_t locked_node;
89} y_ietf_netconf_partial_lock_T_partial_lock_output;
90
91/* container /partial-unlock/input */
92typedef struct y_ietf_netconf_partial_lock_T_partial_unlock_input_ {
93 uint32 lock_id;
94} y_ietf_netconf_partial_lock_T_partial_unlock_input;
95
96
97#endif // 0 NOT USED
98
99
118extern status_t
120 const xmlChar *modname,
121 const xmlChar *revision);
122
123
129extern status_t
131
132
138extern void
140
141
145#ifdef __cplusplus
146} /* end extern 'C' */
147#endif
148
149#endif
dlq provides general double-linked list and queue support:
status_t y_ietf_netconf_partial_lock_init(const xmlChar *modname, const xmlChar *revision)
ietf-netconf-partial-lock module init 1
Definition: agt_plock.c:725
status_t y_ietf_netconf_partial_lock_init2(void)
ietf-netconf-partial-lock module init 2
Definition: agt_plock.c:819
void y_ietf_netconf_partial_lock_cleanup(void)
ietf-netconf-partial-lock module cleanup
Definition: agt_plock.c:836
status_t
global error return code
Definition: status_enum.h:210
YANG module data structures Many internal representations of YANG module constructs.
Global error messages for status code enumerations.