net-snmp
5.4.1
|
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 00015 netsnmp_transport *netsnmp_ipx_transport(struct sockaddr_ipx *addr, int local); 00016 00017 /* 00018 * Convert an textually formatted IPX address into a sockaddr_ipx 00019 * structure which is written to *addr. Returns 1 if the conversion 00020 * was successful, or 0 if it failed. 00021 */ 00022 00023 int netsnmp_sockaddr_ipx(struct sockaddr_ipx *addr, 00024 const char *peername); 00025 00026 /* 00027 * "Constructor" for transport domain object. 00028 */ 00029 00030 void netsnmp_ipx_ctor(void); 00031 00032 #ifdef __cplusplus 00033 } 00034 #endif 00035 #endif/*_SNMPIPXDOMAIN_H*/