dnscrypto-proxy: Update to release 1.3.0
[tomato.git] / release / src / router / snmp / apps / notification_log.h
blobceb94299c5b76da6b87088643463337afe8c40ee
1 #ifndef NOTIFICATION_LOG_H
2 #define NOTIFICATION_LOG_H
3 #include <net-snmp/agent/agent_handler.h>
5 /*
6 * function declarations
7 */
8 void init_notification_log(void);
9 Netsnmp_Node_Handler nlmLogTable_handler;
10 Netsnmp_Node_Handler nlmLogVariableTable_handler;
12 void
13 log_notification(struct hostent *host, netsnmp_pdu *pdu,
14 netsnmp_transport *transport);
16 #define NETSNMP_DS_APP_DONT_LOG 9 /* must match notification_log. */
19 * column number definitions for table nlmLogTable
21 #define COLUMN_NLMLOGINDEX 1
22 #define COLUMN_NLMLOGTIME 2
23 #define COLUMN_NLMLOGDATEANDTIME 3
24 #define COLUMN_NLMLOGENGINEID 4
25 #define COLUMN_NLMLOGENGINETADDRESS 5
26 #define COLUMN_NLMLOGENGINETDOMAIN 6
27 #define COLUMN_NLMLOGCONTEXTENGINEID 7
28 #define COLUMN_NLMLOGCONTEXTNAME 8
29 #define COLUMN_NLMLOGNOTIFICATIONID 9
32 * column number definitions for table nlmLogVariableTable
34 #define COLUMN_NLMLOGVARIABLEINDEX 1
35 #define COLUMN_NLMLOGVARIABLEID 2
36 #define COLUMN_NLMLOGVARIABLEVALUETYPE 3
37 #define COLUMN_NLMLOGVARIABLECOUNTER32VAL 4
38 #define COLUMN_NLMLOGVARIABLEUNSIGNED32VAL 5
39 #define COLUMN_NLMLOGVARIABLETIMETICKSVAL 6
40 #define COLUMN_NLMLOGVARIABLEINTEGER32VAL 7
41 #define COLUMN_NLMLOGVARIABLEOCTETSTRINGVAL 8
42 #define COLUMN_NLMLOGVARIABLEIPADDRESSVAL 9
43 #define COLUMN_NLMLOGVARIABLEOIDVAL 10
44 #define COLUMN_NLMLOGVARIABLECOUNTER64VAL 11
45 #define COLUMN_NLMLOGVARIABLEOPAQUEVAL 12
47 #endif /* NOTIFICATION_LOG_H */