summaryrefslogtreecommitdiff
path: root/include/net-snmp/library/container_binary_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/library/container_binary_array.h')
-rw-r--r--include/net-snmp/library/container_binary_array.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/include/net-snmp/library/container_binary_array.h b/include/net-snmp/library/container_binary_array.h
new file mode 100644
index 0000000..336a8e9
--- /dev/null
+++ b/include/net-snmp/library/container_binary_array.h
@@ -0,0 +1,46 @@
+/*
+ * binary_array.h
+ * $Id$
+ */
+
+#ifndef BINARY_ARRAY_H
+#define BINARY_ARRAY_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <net-snmp/library/asn1.h>
+#include <net-snmp/library/container.h>
+#include <net-snmp/library/factory.h>
+
+ /*
+ * initialize binary array container. call at startup.
+ */
+ void netsnmp_container_binary_array_init(void);
+
+ /*
+ * get an container which uses an binary_array for storage
+ */
+ netsnmp_container * netsnmp_container_get_binary_array(void);
+
+ /*
+ * get a factory for producing binary_array objects
+ */
+ netsnmp_factory * netsnmp_container_get_binary_array_factory(void);
+
+
+ int netsnmp_binary_array_remove(netsnmp_container *c, const void *key,
+ void **save);
+
+ void netsnmp_binary_array_release(netsnmp_container *c);
+
+ void netsnmp_container_binary_array_init(void);
+
+ int netsnmp_binary_array_options_set(netsnmp_container *c, int set, u_int flags);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif