Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / notification / snmpNotifyTable.h
1 /*
2  * This file was generated by mib2c and is intended for use as a mib module
3  * for the ucd-snmp snmpd agent. 
4  */
5
6
7 #ifndef _MIBGROUP_SNMPNOTIFYTABLE_H
8 #define _MIBGROUP_SNMPNOTIFYTABLE_H
9
10
11 /*
12  * we may use header_complex from the header_complex module 
13  */
14
15
16 config_require(header_complex)
17 config_require(target)
18 config_add_mib(SNMP-NOTIFICATION-MIB)
19
20
21     /*
22      * our storage structure(s) 
23      */
24      struct snmpNotifyTable_data {
25
26          char           *snmpNotifyName;
27          size_t          snmpNotifyNameLen;
28          char           *snmpNotifyTag;
29          size_t          snmpNotifyTagLen;
30          long            snmpNotifyType;
31          long            snmpNotifyStorageType;
32          long            snmpNotifyRowStatus;
33
34      };
35
36
37
38
39 /*
40  * enum definitions from the covered mib sections 
41  */
42
43
44
45
46
47
48 #define SNMPNOTIFYTYPE_TRAP                      1
49 #define SNMPNOTIFYTYPE_INFORM                    2
50
51
52
53
54 /*
55  * function prototypes 
56  */
57
58
59      void            init_snmpNotifyTable(void);
60      FindVarMethod   var_snmpNotifyTable;
61      void            parse_snmpNotifyTable(const char *, char *);
62
63      int             snmpNotifyTable_add(struct snmpNotifyTable_data
64                                          *thedata);
65
66      WriteMethod     write_snmpNotifyTag;
67      WriteMethod     write_snmpNotifyType;
68      WriteMethod     write_snmpNotifyStorageType;
69      WriteMethod     write_snmpNotifyRowStatus;
70
71      WriteMethod     write_snmpNotifyRowStatus;
72
73
74
75 #endif                          /* _MIBGROUP_SNMPNOTIFYTABLE_H */