blob: 11c2beb11945e30714a7d22da758daa6ef857535 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#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
#ifndef linux
config_error(IPX support unavailable for this platform -Linux only-);
#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*/
|