yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
yumaworks-event-stream.h
Go to the documentation of this file.
1
2#ifndef _H_yumaworks_event_stream
3#define _H_yumaworks_event_stream
4/*
5 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
6 * Copyright (c) 2012 - 2021, 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*** Generated by yangdump-sdk tomcat-integ-2021-01-26.11.14-M
17
18 Combined SIL header
19 module yumaworks-event-stream
20 revision 2021-01-25
21 prefix ywes
22 namespace http://yumaworks.com/ns/yumaworks-event-stream
23 organization YumaWorks, Inc.
24 Created: 2021-01-26T21:18:44Z
25 CLI parameters:
26 format h
27 indent 4
28 module yumaworks-event-stream
29 output yumaworks-event-stream.h
30 sil-edit2
31 sil-get2
32 unified true
33
34 */
35
36
43#include <xmlstring.h>
44
45#include "procdefs.h"
46#include "dlq.h"
47#include "ncxtypes.h"
48#include "op.h"
49#include "status.h"
50#include "val.h"
51
52#ifdef __cplusplus
53extern "C" {
54#endif
55
56#define y_ywes_M_ywes (const xmlChar *)"yumaworks-event-stream"
57
58/* updated for 23.10-6 */
59#define y_ywes_R_ywes (const xmlChar *)"2024-02-16"
60
61#define y_ywes_N_clear_eventlog (const xmlChar *)"clear-eventlog"
62#define y_ywes_N_event_stream (const xmlChar *)"event-stream"
63#define y_ywes_N_event_streams (const xmlChar *)"event-streams"
64#define y_ywes_N_eventlog_size (const xmlChar *)"eventlog-size"
65#define y_ywes_N_module_map (const xmlChar *)"module-map"
66#define y_ywes_N_module_name (const xmlChar *)"module-name"
67#define y_ywes_N_name (const xmlChar *)"name"
68#define y_ywes_N_stream_name (const xmlChar *)"stream-name"
69
70
71#if 0 // NOT USED
72
73/* list /event-streams/event-stream */
74typedef struct y_ywes_T_event_stream_ {
75 dlq_hdr_t qhdr;
76 xmlChar *v_name;
77 uint32 v_eventlog_size;
78} y_ywes_T_event_stream;
79
80/* list /event-streams/module-map */
81typedef struct y_ywes_T_module_map_ {
82 dlq_hdr_t qhdr;
83 xmlChar *v_module_name;
84 xmlChar *v_stream_name;
85} y_ywes_T_module_map;
86
87/* container /event-streams */
88typedef struct y_ywes_T_event_streams_ {
89 dlq_hdr_t v_event_stream;
90 dlq_hdr_t v_module_map;
91} y_ywes_T_event_streams;
92
93/* container /clear-eventlog/input */
94typedef struct y_ywes_T_input_ {
95 xmlChar *v_stream_name;
96} y_ywes_T_input;
97
98/* container /clear-eventlog/output */
99typedef struct y_ywes_T_output_ {
100} y_ywes_T_output;
101
102/* rpc /clear-eventlog */
103typedef struct y_ywes_T_clear_eventlog_ {
104 y_ywes_T_input v_input;
105 y_ywes_T_output v_output;
106} y_ywes_T_clear_eventlog;
107
108#endif // 0 NOT USED
109
110
134 const xmlChar *modname,
135 const xmlChar *revision);
136
137
138
144extern void y_yumaworks_event_stream_cleanup (void);
145
146
150#ifdef __cplusplus
151} /* end extern 'C' */
152#endif
153
154#endif
dlq provides general double-linked list and queue support:
void y_yumaworks_event_stream_cleanup(void)
cleanup the server instrumentation library
Definition: yumaworks-event-stream.c:941
status_t y_yumaworks_event_stream_init(const xmlChar *modname, const xmlChar *revision)
initialize the yumaworks-event-filter server instrumentation library
Definition: yumaworks-event-stream.c:830
status_t
global error return code
Definition: status_enum.h:210
YANG module data structures Many internal representations of YANG module constructs.
NETCONF protocol operations.
Global error messages for status code enumerations.
Value Node Basic Support.