net-snmp 5.7
|
00001 #ifndef _SNMPIPXDOMAIN_H 00002 #define _SNMPIPXDOMAIN_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 #include <net-snmp/library/snmp_transport.h> 00009 #include <net-snmp/library/asn1.h> 00010 #if HAVE_NETIPX_IPX_H 00011 #include <netipx/ipx.h> 00012 #endif 00013 00014 #ifndef linux 00015 config_error(IPX support unavailable for this platform -Linux only-); 00016 #endif 00017 00018 netsnmp_transport *netsnmp_ipx_transport(struct sockaddr_ipx *addr, int local); 00019 00020 /* 00021 * Convert an textually formatted IPX address into a sockaddr_ipx 00022 * structure which is written to *addr. Returns 1 if the conversion 00023 * was successful, or 0 if it failed. 00024 */ 00025 00026 int netsnmp_sockaddr_ipx(struct sockaddr_ipx *addr, 00027 const char *peername); 00028 00029 /* 00030 * "Constructor" for transport domain object. 00031 */ 00032 00033 void netsnmp_ipx_ctor(void); 00034 00035 #ifdef __cplusplus 00036 } 00037 #endif 00038 #endif/*_SNMPIPXDOMAIN_H*/