1 #ifndef _SNMPIPXDOMAIN_H 2 #define _SNMPIPXDOMAIN_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include <net-snmp/library/snmp_transport.h> 9 #include <net-snmp/library/asn1.h> 10 #if HAVE_NETIPX_IPX_H 11 #include <netipx/ipx.h> 12 #endif 13 14 #ifndef linux 15 config_error(IPX support unavailable for this platform -Linux only-); 16 #endif 17 18 netsnmp_transport *netsnmp_ipx_transport(const struct sockaddr_ipx *addr, 19 int local); 20 21 /* 22 * Convert an textually formatted IPX address into a sockaddr_ipx 23 * structure which is written to *addr. Returns 1 if the conversion 24 * was successful, or 0 if it failed. 25 */ 26 27 int netsnmp_sockaddr_ipx(struct sockaddr_ipx *addr, 28 const char *peername); 29 30 /* 31 * "Constructor" for transport domain object. 32 */ 33 34 void netsnmp_ipx_ctor(void); 35 36 #ifdef __cplusplus 37 } 38 #endif 39 #endif/*_SNMPIPXDOMAIN_H*/ 40