~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/notification/snmpNotifyTable.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
72
 
 
73
#endif                          /* _MIBGROUP_SNMPNOTIFYTABLE_H */