summaryrefslogtreecommitdiff
path: root/include/net-snmp/agent/null.h
blob: f24a0b46742a06a5a6e213d7d31203c4b7fbedbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef AGENT_NULL_H
#define AGENT_NULL_H

#ifdef __cplusplus
extern          "C" {
#endif

/*
 * null.h 
 */

/*
 * literally does nothing and is used as a final handler for
 * "do-nothing" nodes that must exist solely for mib tree storage
 * usage..
 */

int      netsnmp_register_null(oid *, size_t);
int      netsnmp_register_null_context(oid *, size_t, const char *contextName);

Netsnmp_Node_Handler netsnmp_null_handler;

#ifdef __cplusplus
}
#endif
#endif