yumapro  23.10T-6
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#define y_ywes_R_ywes (const xmlChar *)"2021-05-15"
59
60#define y_ywes_N_clear_eventlog (const xmlChar *)"clear-eventlog"
61#define y_ywes_N_event_stream (const xmlChar *)"event-stream"
62#define y_ywes_N_event_streams (const xmlChar *)"event-streams"
63#define y_ywes_N_eventlog_size (const xmlChar *)"eventlog-size"
64#define y_ywes_N_module_map (const xmlChar *)"module-map"
65#define y_ywes_N_module_name (const xmlChar *)"module-name"
66#define y_ywes_N_name (const xmlChar *)"name"
67#define y_ywes_N_stream_name (const xmlChar *)"stream-name"
68
69
70#if 0 // NOT USED
71
72/* list /event-streams/event-stream */
73typedef struct y_ywes_T_event_stream_ {
74 dlq_hdr_t qhdr;
75 xmlChar *v_name;
76 uint32 v_eventlog_size;
77} y_ywes_T_event_stream;
78
79/* list /event-streams/module-map */
80typedef struct y_ywes_T_module_map_ {
81 dlq_hdr_t qhdr;
82 xmlChar *v_module_name;
83 xmlChar *v_stream_name;
84} y_ywes_T_module_map;
85
86/* container /event-streams */
87typedef struct y_ywes_T_event_streams_ {
88 dlq_hdr_t v_event_stream;
89 dlq_hdr_t v_module_map;
90} y_ywes_T_event_streams;
91
92/* container /clear-eventlog/input */
93typedef struct y_ywes_T_input_ {
94 xmlChar *v_stream_name;
95} y_ywes_T_input;
96
97/* container /clear-eventlog/output */
98typedef struct y_ywes_T_output_ {
99} y_ywes_T_output;
100
101/* rpc /clear-eventlog */
102typedef struct y_ywes_T_clear_eventlog_ {
103 y_ywes_T_input v_input;
104 y_ywes_T_output v_output;
105} y_ywes_T_clear_eventlog;
106
107#endif // 0 NOT USED
108
109
133 const xmlChar *modname,
134 const xmlChar *revision);
135
136
137
143extern void y_yumaworks_event_stream_cleanup (void);
144
145
149#ifdef __cplusplus
150} /* end extern 'C' */
151#endif
152
153#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:928
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:817
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.