summaryrefslogtreecommitdiff
path: root/include/net-snmp/agent/auto_nlist.h
blob: c7cd8727670438a9aa6f53e80b2baf1b69f696c8 (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
/*
 * auto_nlist.h
 */
#ifndef AUTO_NLIST_H
#define AUTO_NLIST_H
#ifdef __cplusplus
extern          "C" {
#endif

#if defined(irix6) && defined(IRIX64)
#define nlist nlist64
#endif

#ifdef NETSNMP_CAN_USE_NLIST
int             auto_nlist(const char *, char *, int);
long            auto_nlist_value(const char *);
int             KNLookup(struct nlist *, int, char *, int);
#else
int             auto_nlist_noop(void);
#	define auto_nlist(x,y,z) auto_nlist_noop()
#	define auto_nlist_value(z) auto_nlist_noop()
#	define KNLookup(w,x,y,z) auto_nlist_noop()
#endif

#ifdef __cplusplus
}
#endif
#endif