and added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / container_binary_array.h
diff --git a/userapps/opensource/net-snmp/include/net-snmp/library/container_binary_array.h b/userapps/opensource/net-snmp/include/net-snmp/library/container_binary_array.h
new file mode 100644 (file)
index 0000000..0e8d225
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * binary_array.h
+ * $Id: container_binary_array.h,v 1.1 2002/07/16 16:40:58 rstory Exp $
+ */
+
+#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>
+
+    /*
+     * get an container which uses an binary_array for storage
+     */
+    netsnmp_container *   netsnmp_container_get_binary_array(void);
+    int netsnmp_container_get_binary_array_noalloc(netsnmp_container *c);
+
+    /*
+     * get a factory for producing binary_array objects
+     */
+    netsnmp_factory *     netsnmp_container_get_binary_array_factory(void);
+
+#ifdef __cplusplus
+}
+#endif
+#endif