and added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / library / snmpIPXDomain.h
diff --git a/userapps/opensource/net-snmp/include/net-snmp/library/snmpIPXDomain.h b/userapps/opensource/net-snmp/include/net-snmp/library/snmpIPXDomain.h
new file mode 100644 (file)
index 0000000..304b360
--- /dev/null
@@ -0,0 +1,35 @@
+#ifndef _SNMPIPXDOMAIN_H
+#define _SNMPIPXDOMAIN_H
+
+#ifdef __cplusplus
+extern          "C" {
+#endif
+
+#include <net-snmp/library/snmp_transport.h>
+#include <net-snmp/library/asn1.h>
+#if HAVE_NETIPX_IPX_H
+#include <netipx/ipx.h>
+#endif
+
+
+netsnmp_transport *netsnmp_ipx_transport(struct sockaddr_ipx *addr, int local);
+
+/*
+ * Convert an textually formatted IPX address into a sockaddr_ipx
+ * structure which is written to *addr.  Returns 1 if the conversion
+ * was successful, or 0 if it failed.  
+ */
+
+int             netsnmp_sockaddr_ipx(struct sockaddr_ipx *addr,
+                                     const char *peername);
+
+/*
+ * "Constructor" for transport domain object.  
+ */
+
+void            netsnmp_ipx_ctor(void);
+
+#ifdef __cplusplus
+}
+#endif
+#endif/*_SNMPIPXDOMAIN_H*/