Debian Codegraph @

agent/mibgroup/notification/snmpNotifyFilterProfileTable_data.h

raw
1 /*
2 * This file was created to separate data storage from MIB implementation.
3 *
4 * Portions of this file are copyrighted by:
5 * Copyright (c) 2016 VMware, Inc. All rights reserved.
6 * Use is subject to license terms specified in the COPYING file
7 * distributed with the Net-SNMP package.
8 */
9
10
11 #ifndef _MIBGROUP_SNMPNOTIFYFILTERPROFILETABLE_DATA_H
12 #define _MIBGROUP_SNMPNOTIFYFILTERPROFILETABLE_DATA_H
13
14 config_require(header_complex);
15
16 /*
17 * our storage structure(s)
18 */
19 struct snmpNotifyFilterProfileTable_data {
20 char *snmpTargetParamsName;
21 size_t snmpTargetParamsNameLen;
22 char *snmpNotifyFilterProfileName;
23 size_t snmpNotifyFilterProfileNameLen;
24 long snmpNotifyFilterProfileStorType;
25 long snmpNotifyFilterProfileRowStatus;
26 };
27
28
29 /*
30 * function prototypes
31 */
32
33 void init_snmpNotifyFilterProfileTable_data(void);
34 void shutdown_snmpNotifyFilterProfileTable_data(void);
35
36 int
37 snmpNotifyFilterProfileTable_add(struct snmpNotifyFilterProfileTable_data *);
38
39 struct snmpNotifyFilterProfileTable_data *
40 snmpNotifyFilterProfileTable_create(const char *params, size_t param_len,
41 const char *profile, size_t profile_len);
42
43 void
44 snmpNotifyFilterProfileTable_free(struct snmpNotifyFilterProfileTable_data *);
45
46 int
47 snmpNotifyFilterProfileTable_remove(struct snmpNotifyFilterProfileTable_data *);
48
49 struct snmpNotifyFilterProfileTable_data *
50 snmpNotifyFilterProfileTable_extract(struct snmpNotifyFilterProfileTable_data *);
51
52 struct snmpNotifyFilterProfileTable_data *
53 snmpNotifyFilterProfileTable_oldapi_find(struct variable *vp,
54 oid *name, size_t *length, int exact,
55 size_t *var_len,
56 WriteMethod ** write_method);
57
58 struct snmpNotifyFilterProfileTable_data *
59 snmpNotifyFilterProfileTable_find(const char *name, size_t len);
60
61 char *get_FilterProfileName(const char *paramName,
62 size_t paramName_len,
63 size_t * profileName_len);
64
65
66 #endif /* _MIBGROUP_SNMPNOTIFYFILTERPROFILETABLE_DATA_H */