summaryrefslogtreecommitdiff
path: root/include/net-snmp/agent/null.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/agent/null.h')
-rw-r--r--include/net-snmp/agent/null.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/net-snmp/agent/null.h b/include/net-snmp/agent/null.h
new file mode 100644
index 0000000..f24a0b4
--- /dev/null
+++ b/include/net-snmp/agent/null.h
@@ -0,0 +1,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