yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
yumaworks-lock.h
Go to the documentation of this file.
1
2#ifndef _H_yumaworks_lock
3#define _H_yumaworks_lock
4/*
5 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
6 * Copyright (c) 2012 - 2023, YumaWorks, Inc., All Rights Reserved.
7 *
8 * Unless required by applicable law or agreed to in writing,
9 * software distributed under the License is distributed on an
10 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
11 * KIND, either express or implied. See the License for the
12 * specific language governing permissions and limitations
13 * under the License.
14 *
15 */
16
47#include <xmlstring.h>
48
49#include "procdefs.h"
50#include "dlq.h"
51#include "ncxtypes.h"
52#include "op.h"
53#include "status.h"
54#include "val.h"
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
81#define y_ywlock_M_ywlock (const xmlChar *)"yumaworks-lock"
82
83#define y_ywlock_R_ywlock (const xmlChar *)"2023-04-29"
84
85#define y_ywlock_N_lock_all (const xmlChar *)"lock-all"
86#define y_ywlock_N_unlock_all (const xmlChar *)"unlock-all"
87
88
89/* container /lock-all/input */
90typedef struct y_ywlock_T_input_ {
92
93/* container /lock-all/output */
94typedef struct y_ywlock_T_output_ {
96
97/* rpc /lock-all */
98typedef struct y_ywlock_T_lock_all_ {
99 y_ywlock_T_input v_input;
100 y_ywlock_T_output v_output;
102
103/* container /unlock-all/input */
104typedef struct y_ywlock_T_input_1_ {
106
107/* container /unlock-all/output */
108typedef struct y_ywlock_T_output_1_ {
110
111/* rpc /unlock-all */
112typedef struct y_ywlock_T_unlock_all_ {
113 y_ywlock_T_input_1 v_input;
114 y_ywlock_T_output_1 v_output;
116
117
129 const xmlChar *modname,
130 const xmlChar *revision);
131
132
142extern status_t y_yumaworks_lock_init2 (void);
143
144
151extern void y_yumaworks_lock_cleanup (void);
152
153
156#ifdef __cplusplus
157} /* end extern 'C' */
158#endif
159
160#endif
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
status_t y_yumaworks_lock_init(const xmlChar *modname, const xmlChar *revision)
Phase 1: Initialize the yumaworks-lock server instrumentation library.
Definition: yumaworks-lock.c:420
void y_yumaworks_lock_cleanup(void)
Cleanup the yumaworks-lock server instrumentation library.
Definition: yumaworks-lock.c:544
status_t y_yumaworks_lock_init2(void)
Phase 2: Initialize the yumaworks-lock server instrumentation library.
Definition: yumaworks-lock.c:525
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol operations.
Global error messages for status code enumerations.
Definition: yumaworks-lock.h:104
Definition: yumaworks-lock.h:90
Definition: yumaworks-lock.h:98
Definition: yumaworks-lock.h:108
Definition: yumaworks-lock.h:94
Definition: yumaworks-lock.h:112
Value Node Basic Support.