summaryrefslogtreecommitdiff
path: root/include/net-snmp/library/snmpAliasDomain.h
blob: ccafcb5c202988250fcd42aaaa3f63f030e59e17 (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
#ifndef _SNMPALIASDOMAIN_H
#define _SNMPALIASDOMAIN_H

#ifdef NETSNMP_TRANSPORT_ALIAS_DOMAIN

#ifdef __cplusplus
extern          "C" {
#endif

#include <net-snmp/library/snmp_transport.h>
#include <net-snmp/library/asn1.h>

/*
 * Simple aliases for complex transport strings that can be specified
 * via the snmp.conf file and the 'alias' token.
 */

#define TRANSPORT_DOMAIN_ALIAS_IP		1,3,6,1,2,1,100,1,5
NETSNMP_IMPORT oid netsnmp_snmpALIASDomain[];

/*
 * "Constructor" for transport domain object.  
 */

void            netsnmp_alias_ctor(void);

#ifdef __cplusplus
}
#endif
#endif                          /*NETSNMP_TRANSPORT_ALIAS_DOMAIN */

#endif/*_SNMPALIASDOMAIN_H*/