yumapro  21.10T-9
YumaPro SDK
u_yumaworks_event_filter.h
Go to the documentation of this file.
1 
2 #ifndef _H_u_yumaworks_event_filter
3 #define _H_u_yumaworks_event_filter
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-pro cheetah-integ-2014-02-08.17.36-M
17 
18  User SIL header
19  module yumaworks-event-filter
20  revision 2014-02-09
21  namespace http://yumaworks.com/ns/yumaworks-event-filter
22  organization YumaWorks, Inc.
23 
24  */
25 
26 
33 #include <xmlstring.h>
34 
35 #include "agt.h"
36 #include "agt_cb.h"
37 #include "dlq.h"
38 #include "ncxtypes.h"
39 #include "op.h"
40 #include "rpc.h"
41 #include "ses.h"
42 #include "status.h"
43 #include "val.h"
45 
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49 
50 
51 #if 0
52 
53 /* list /event-filters/event-filter */
54 typedef struct y_yumaworks_event_filter_T_event_filters_event_filter_ {
55  dlq_hdr_t qhdr;
56  xmlChar *module;
57  xmlChar *event;
58  boolean enabled;
59  boolean log_drops;
60 } y_yumaworks_event_filter_T_event_filters_event_filter;
61 
62 /* container /event-filters */
63 typedef struct y_yumaworks_event_filter_T_event_filters_ {
64  dlq_hdr_t event_filter;
65 } y_yumaworks_event_filter_T_event_filters;
66 
67 
68 #endif
69 
70 
106  ses_cb_t *scb,
107  rpc_msg_t *msg,
108  agt_cbtyp_t cbtyp,
109  op_editop_t editop,
110  val_value_t *newval,
111  val_value_t *curval,
112  const xmlChar *k_event_filters_event_filter_module,
113  const xmlChar *k_event_filters_event_filter_event);
114 
115 
139  ses_cb_t *scb,
140  rpc_msg_t *msg,
141  agt_cbtyp_t cbtyp,
142  op_editop_t editop,
143  val_value_t *newval,
144  val_value_t *curval,
145  const xmlChar *k_event_filters_event_filter_module,
146  const xmlChar *k_event_filters_event_filter_event);
147 
148 
172  ses_cb_t *scb,
173  rpc_msg_t *msg,
174  agt_cbtyp_t cbtyp,
175  op_editop_t editop,
176  val_value_t *newval,
177  val_value_t *curval,
178  const xmlChar *k_event_filters_event_filter_module,
179  const xmlChar *k_event_filters_event_filter_event);
180 
181 
205  ses_cb_t *scb,
206  rpc_msg_t *msg,
207  agt_cbtyp_t cbtyp,
208  op_editop_t editop,
209  val_value_t *newval,
210  val_value_t *curval,
211  const xmlChar *k_event_filters_event_filter_module,
212  const xmlChar *k_event_filters_event_filter_event);
213 
214 
238  ses_cb_t *scb,
239  rpc_msg_t *msg,
240  agt_cbtyp_t cbtyp,
241  op_editop_t editop,
242  val_value_t *newval,
243  val_value_t *curval,
244  const xmlChar *k_event_filters_event_filter_module,
245  const xmlChar *k_event_filters_event_filter_event);
246 
247 
269  ses_cb_t *scb,
270  rpc_msg_t *msg,
271  agt_cbtyp_t cbtyp,
272  op_editop_t editop,
273  val_value_t *newval,
274  val_value_t *curval);
275 
276 
285  const xmlChar *modname,
286  const xmlChar *revision);
287 
288 
297 
298 
304 extern void u_yumaworks_event_filter_cleanup (void);
305 
306 
310 #ifdef __cplusplus
311 } /* end extern 'C' */
312 #endif
313 
314 #endif
status_t u_yumaworks_event_filter_event_filters_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval)
Edit database object callback.
Definition: u_yumaworks_event_filter.c:362
dlq provides general double-linked list and queue support:
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
void u_yumaworks_event_filter_cleanup(void)
cleanup the server instrumentation library
Definition: u_yumaworks_event_filter.c:462
status_t u_yumaworks_event_filter_event_filters_event_filter_enabled_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, const xmlChar *k_event_filters_event_filter_module, const xmlChar *k_event_filters_event_filter_event)
Edit database object callback.
Definition: u_yumaworks_event_filter.c:100
System SIL callbacks for yumaworks-event-filter module.
NETCONF Session Common definitions module.
Value Node Basic Support.
YANG module data structures Many internal representations of YANG module constructs.
op_editop_t
NETCONF edit-config operation types.
Definition: op.h:122
one value to match one type
Definition: val.h:870
status_t u_yumaworks_event_filter_init2(void)
SIL init phase 2: non-config data structures.
Definition: u_yumaworks_event_filter.c:447
NETCONF Server Data Model callback handler.
Session Control Block.
Definition: ses.h:542
status_t
global error return code
Definition: status_enum.h:186
Multi-Protocol Network Management Server.
NETCONF protocol remote procedure call common definitions.
Global error messages for status code enumerations.
status_t u_yumaworks_event_filter_init(const xmlChar *modname, const xmlChar *revision)
initialize the yumaworks-event-filter server instrumentation library
Definition: u_yumaworks_event_filter.c:428
status_t u_yumaworks_event_filter_event_filters_event_filter_log_drops_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, const xmlChar *k_event_filters_event_filter_module, const xmlChar *k_event_filters_event_filter_event)
Edit database object callback.
Definition: u_yumaworks_event_filter.c:188
NETCONF protocol operations.
status_t u_yumaworks_event_filter_event_filters_event_filter_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, const xmlChar *k_event_filters_event_filter_module, const xmlChar *k_event_filters_event_filter_event)
Edit database object callback.
Definition: u_yumaworks_event_filter.c:279
agt_cbtyp_t
enumeration of the different server EDIT callback types These are used as array indices so there is n...
Definition: agt.h:625
status_t u_yumaworks_event_filter_event_filters_event_filter_module_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, const xmlChar *k_event_filters_event_filter_module, const xmlChar *k_event_filters_event_filter_event)
Edit database object callback.
status_t u_yumaworks_event_filter_event_filters_event_filter_event_edit(ses_cb_t *scb, rpc_msg_t *msg, agt_cbtyp_t cbtyp, op_editop_t editop, val_value_t *newval, val_value_t *curval, const xmlChar *k_event_filters_event_filter_module, const xmlChar *k_event_filters_event_filter_event)
Edit database object callback.