~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to include/net-snmp/net-snmp-config.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* include/net-snmp/net-snmp-config.h.in.  Generated from configure.in by autoheader.  */
 
2
/* 
 
3
 * net-snmp configuration header file
 
4
 */
2
5
/* Portions of this file are subject to the following copyright(s).  See
3
6
 * the Net-SNMP's COPYING file for more details and other copyrights
4
7
 * that may apply:
13
16
#ifndef NET_SNMP_CONFIG_H
14
17
#define NET_SNMP_CONFIG_H
15
18
 
16
 
/* config.h:  a general config file */
17
 
 
18
 
/* Default (SNMP) version number for the tools to use */
19
 
#define DEFAULT_SNMP_VERSION 3
20
 
 
21
 
/* don't change these values! */
22
 
#define SNMPV1      0xAAAA       /* readable by anyone */
23
 
#define SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */
24
 
#define SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
25
 
 
26
 
/* default list of mibs to load */
27
 
 
28
 
#define DEFAULT_MIBS "IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB"
29
 
 
30
 
/* default location to look for mibs to load using the above tokens
31
 
   and/or those in the MIBS envrionment variable*/
32
 
#undef DEFAULT_MIBDIRS
33
 
 
34
 
/* default mib files to load, specified by path. */
35
 
#undef DEFAULT_MIBFILES
36
 
 
37
 
/* should we compile to use special opaque types: float, double,
38
 
   counter64, i64, ui64, union? */
39
 
#undef OPAQUE_SPECIAL_TYPES
40
 
 
41
 
/* comment the next line if you are compiling with libsnmp.h 
42
 
   and are not using the UC-Davis SNMP library. */
43
 
#define UCD_SNMP_LIBRARY 1
44
 
 
45
 
/* define if you want to compile support for both authentication and
46
 
   privacy support. */
47
 
#undef SCAPI_AUTHPRIV
48
 
 
49
 
/* define if you are using the MD5 code ...*/
50
 
#undef USE_INTERNAL_MD5
51
 
 
52
 
/* define if you are using the codeS11 library ...*/
53
 
#undef USE_PKCS
54
 
 
55
 
/* add in recent CMU library extensions (not complete) */
56
 
#undef CMU_COMPATIBLE
57
 
 
58
 
/* add in recent resource lock functions (not complete) */
59
 
#undef _REENTRANT
60
 
 
61
 
/* debugging stuff */
62
 
/* if defined, we optimize the code to exclude all debugging calls. */
63
 
#undef SNMP_NO_DEBUGGING
64
 
/* ignore the -D flag and always print debugging information */
65
 
#define SNMP_ALWAYS_DEBUG 0
66
 
 
67
 
/* reverse encoding BER packets is both faster and more efficient in space. */
68
 
#define USE_REVERSE_ASNENCODING       1
69
 
#define DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */
70
 
 
71
 
/* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
72
 
   persisant information to this directory in the form of configuration
73
 
   lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */
74
 
#define PERSISTENT_DIRECTORY "/var/snmp"
75
 
 
76
 
/* PERSISTENT_MASK: the umask permissions to set up persistent files with */
77
 
#define PERSISTENT_MASK 077
78
 
 
79
 
/* AGENT_DIRECTORY_MODE: the mode the agents should use to create
80
 
   directories with. Since the data stored here is probably sensitive, it
81
 
   probably should be read-only by root/administrator. */
82
 
#define AGENT_DIRECTORY_MODE 0700
83
 
 
84
 
/* MAX_PERSISTENT_BACKUPS:
85
 
 *   The maximum number of persistent backups the library will try to
86
 
 *   read from the persistent cache directory.  If an application fails to
87
 
 *   close down successfully more than this number of times, data will be lost.
 
19
 
 
20
/* ********* NETSNMP_MARK_BEGIN_AUTOCONF_DEFINITIONS ********* */
 
21
/*
 
22
 * put all autoconf-specific definitions below here
 
23
 *
88
24
 */
89
 
#define MAX_PERSISTENT_BACKUPS 10
90
 
 
91
 
 
92
 
/* define if you are embedding perl in the main agent */
93
 
#undef NETSNMP_EMBEDDED_PERL
94
 
 
95
 
/* define the system type include file here */
96
 
#define SYSTEM_INCLUDE_FILE <net-snmp/system/generic.h>
97
 
 
98
 
/* define the machine (cpu) type include file here */
99
 
#define MACHINE_INCLUDE_FILE <net-snmp/machine/generic.h>
100
 
 
101
 
/* define the UDP buffer defaults undefined means use the OS buffers
102
 
 * by default */
103
 
#undef DEFAULT_SERVER_SEND_BUF
104
 
#undef DEFAULT_SERVER_RECV_BUF
105
 
#undef DEFAULT_CLIENT_SEND_BUF
106
 
#undef DEFAULT_CLIENT_RECV_BUF
107
 
 
108
 
/* SNMPLIBDIR contains important files */
109
 
#undef SNMPLIBPATH
110
 
#undef SNMPSHAREPATH
111
 
#undef SNMPCONFPATH
112
 
#undef SNMPDLMODPATH
113
 
 
114
 
/* LOGFILE:  If defined it closes stdout/err/in and opens this in out/err's
115
 
   place.  (stdin is closed so that sh scripts won't wait for it) */
116
 
#undef LOGFILE
117
 
 
118
 
/* default system contact */
119
 
#undef SYS_CONTACT
120
 
 
121
 
/* system location */
122
 
#undef SYS_LOC
123
 
 
124
 
/* Use libwrap to handle allow/deny hosts? */
125
 
#undef USE_LIBWRAP
126
 
 
 
25
#ifndef NETSNMP_NO_AUTOCONF_DEFINITIONS
 
26
 
 
27
/* define if you have type int32_t */
 
28
#undef HAVE_INT32_T
 
29
 
 
30
/* define if you have type uint32_t */
 
31
#undef HAVE_UINT32_T
 
32
 
 
33
/* define if you have type u_int32_t */
 
34
#undef HAVE_U_INT32_T
 
35
 
 
36
/* define if you have type int64_t */
 
37
#undef HAVE_INT64_T
 
38
 
 
39
/* define if you have type uint64_t */
 
40
#undef HAVE_UINT64_T
 
41
 
 
42
/* define if you have type u_int64_t */
 
43
#undef HAVE_U_INT64_T
 
44
 
 
45
/* define if you have type intptr_t */
 
46
#undef HAVE_INTPTR_T
 
47
 
 
48
/* define if you have type uintptr_t */
 
49
#undef HAVE_UINTPTR_T
 
50
 
 
51
/* got socklen_t? */
 
52
#undef HAVE_SOCKLEN_T
 
53
 
 
54
/* got in_addr_t? */
 
55
#undef HAVE_IN_ADDR_T
 
56
 
 
57
/* define if you have getdevs() */
 
58
#undef HAVE_GETDEVS
 
59
 
 
60
/* define if you have devstat_getdevs() */
 
61
#undef HAVE_DEVSTAT_GETDEVS
 
62
 
 
63
/* define if you have <netinet/in_pcb.h> */
 
64
#undef HAVE_NETINET_IN_PCB_H
 
65
 
 
66
/* define if you have <sys/disklabel.h> */
 
67
#undef HAVE_SYS_DISKLABEL_H
 
68
 
 
69
/* define if your compiler (processor) defines __FUNCTION__ for you */
 
70
#undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED
 
71
 
 
72
/* on aix, if you have perfstat */
 
73
#undef HAVE_PERFSTAT
 
74
 
 
75
/* define if you have libdb, libnm or librpm, respectively */
 
76
#undef HAVE_LIBDB
 
77
#undef HAVE_LIBNM
 
78
#undef HAVE_LIBRPM
 
79
 
 
80
/* define if you have pkginfo */
 
81
#undef HAVE_PKGINFO
 
82
 
 
83
/* define if you have gethostbyname */
 
84
#undef HAVE_GETHOSTBYNAME
 
85
 
 
86
/* define if you have the perl_eval_pv() function */
 
87
#undef HAVE_PERL_EVAL_PV_LC
 
88
 
 
89
/* define if you have the Perl_eval_pv() function */
 
90
#undef HAVE_PERL_EVAL_PV_UC
 
91
 
 
92
/* printing system */
 
93
#undef HAVE_LPSTAT
 
94
#undef LPSTAT_PATH
 
95
#undef HAVE_PRINTCAP
127
96
/* Use dmalloc to do malloc debugging? */
128
97
#undef HAVE_DMALLOC_H
129
98
 
143
112
/* Where is the uname command */
144
113
#define UNAMEPROG "/bin/uname"
145
114
 
146
 
/* pattern for temporary file names */
147
 
#define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
148
 
 
149
 
/* testing code sections. */
150
 
#undef SNMP_TESTING_CODE 
151
 
 
152
 
/* If you don't have root access don't exit upon kmem errors */
153
 
#undef NO_ROOT_ACCESS
154
 
 
155
 
/* If we don't want to use kmem. */
156
 
#undef NO_KMEM_USAGE
157
 
 
158
 
/* If you don't want the agent to report on variables it doesn't have data for */
159
 
#undef NO_DUMMY_VALUES
 
115
/* define if you are using linux and /proc/net/dev has the compressed
 
116
   field, which exists in linux kernels 2.2 and greater. */
 
117
#undef PROC_NET_DEV_HAS_COMPRESSED
 
118
 
 
119
/* define rtentry to ortentry on SYSV machines (alphas) */
 
120
#undef RTENTRY
 
121
 
 
122
/* Use BSD 4.4 routing table entries? */
 
123
#undef RTENTRY_4_4
 
124
 
 
125
/* Does struct sigaction have a sa_sigaction field? */
 
126
#undef STRUCT_SIGACTION_HAS_SA_SIGACTION
 
127
 
 
128
/* Does struct tm have a tm_gmtoff field? */
 
129
#undef STRUCT_TM_HAS_TM_GMTOFFF
 
130
 
 
131
/* Does struct sockaddr have a sa_len field? */
 
132
#undef STRUCT_SOCKADDR_HAS_SA_LEN
 
133
 
 
134
/* Does struct sockaddr have a sa_family2 field? */
 
135
#undef STRUCT_SOCKADDR_HAS_SA_UNION_SA_GENERIC_SA_FAMILY2
 
136
 
 
137
/* Does struct sockaddr_storage have a ss_family field? */
 
138
#undef STRUCT_SOCKADDR_STORAGE_HAS_SS_FAMILY
 
139
 
 
140
/* Does struct sockaddr_storage have a __ss_family field? */
 
141
#undef STRUCT_SOCKADDR_STORAGE_HAS___SS_FAMILY
 
142
 
 
143
/* Does struct in6_addr have a s6_un.sa6_ladd field? */
 
144
#undef STRUCT_IN6_ADDR_HAS_S6_UN_SA6_LADDR
 
145
 
 
146
/* rtentry structure tests */
 
147
#undef RTENTRY_RT_NEXT
 
148
#undef STRUCT_RTENTRY_HAS_RT_DST
 
149
#undef STRUCT_RTENTRY_HAS_RT_UNIT
 
150
#undef STRUCT_RTENTRY_HAS_RT_USE
 
151
#undef STRUCT_RTENTRY_HAS_RT_REFCNT
 
152
#undef STRUCT_RTENTRY_HAS_RT_HASH
 
153
 
 
154
/* ifnet structure tests */
 
155
#undef STRUCT_IFNET_HAS_IF_BAUDRATE
 
156
#undef STRUCT_IFNET_HAS_IF_BAUDRATE_IFS_VALUE
 
157
#undef STRUCT_IFNET_HAS_IF_SPEED
 
158
#undef STRUCT_IFNET_HAS_IF_TYPE
 
159
#undef STRUCT_IFNET_HAS_IF_IMCASTS
 
160
#undef STRUCT_IFNET_HAS_IF_IQDROPS
 
161
#undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC
 
162
#undef STRUCT_IFNET_HAS_IF_NOPROTO
 
163
#undef STRUCT_IFNET_HAS_IF_OMCASTS
 
164
#undef STRUCT_IFNET_HAS_IF_XNAME
 
165
#undef STRUCT_IFNET_HAS_IF_OBYTES
 
166
#undef STRUCT_IFNET_HAS_IF_IBYTES
 
167
#undef STRUCT_IFNET_HAS_IF_ADDRLIST
 
168
 
 
169
/* tcpstat.tcps_rcvmemdrop */
 
170
#undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP
 
171
 
 
172
/* udpstat.udps_discard */
 
173
#undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD
 
174
 
 
175
/* udpstat.udps_discard */
 
176
#undef STRUCT_UDPSTAT_HAS_UDPS_NOPORT
 
177
 
 
178
/* udpstat.udps_discard */
 
179
#undef STRUCT_UDPSTAT_HAS_UDPS_NOPORTBCAST
 
180
 
 
181
/* udpstat.udps_discard */
 
182
#undef STRUCT_UDPSTAT_HAS_UDPS_FULLSOCK
 
183
 
 
184
/* arphd.at_next */
 
185
#undef STRUCT_ARPHD_HAS_AT_NEXT
 
186
 
 
187
/* ifaddr.ifa_next */
 
188
#undef STRUCT_IFADDR_HAS_IFA_NEXT
 
189
 
 
190
/* ifnet.if_mtu */
 
191
#undef STRUCT_IFNET_HAS_IF_MTU
 
192
 
 
193
/* swdevt.sw_nblksenabled */
 
194
#undef STRUCT_SWDEVT_HAS_SW_NBLKSENABLED
 
195
 
 
196
/* nlist.n_value */
 
197
#undef STRUCT_NLIST_HAS_N_VALUE
 
198
 
 
199
/* nlist64.n_value */
 
200
#undef STRUCT_NLIST64_HAS_N_VALUE
 
201
 
 
202
/* ipstat structure tests */
 
203
#undef STRUCT_IPSTAT_HAS_IPS_CANTFORWARD
 
204
#undef STRUCT_IPSTAT_HAS_IPS_CANTFRAG
 
205
#undef STRUCT_IPSTAT_HAS_IPS_DELIVERED
 
206
#undef STRUCT_IPSTAT_HAS_IPS_FRAGDROPPED
 
207
#undef STRUCT_IPSTAT_HAS_IPS_FRAGTIMEOUT
 
208
#undef STRUCT_IPSTAT_HAS_IPS_LOCALOUT
 
209
#undef STRUCT_IPSTAT_HAS_IPS_NOPROTO
 
210
#undef STRUCT_IPSTAT_HAS_IPS_NOROUTE
 
211
#undef STRUCT_IPSTAT_HAS_IPS_ODROPPED
 
212
#undef STRUCT_IPSTAT_HAS_IPS_OFRAGMENTS
 
213
#undef STRUCT_IPSTAT_HAS_IPS_REASSEMBLED
 
214
 
 
215
/* vfsstat.f_frsize */
 
216
#undef STRUCT_STATVFS_HAS_F_FRSIZE
 
217
 
 
218
/* vfsstat.f_files */
 
219
#undef STRUCT_STATVFS_HAS_F_FILES
 
220
 
 
221
/* statfs inode structure tests*/
 
222
#undef STRUCT_STATFS_HAS_F_FILES
 
223
#undef STRUCT_STATFS_HAS_F_FFREE
 
224
#undef STRUCT_STATFS_HAS_F_FAVAIL
 
225
 
 
226
/* des_ks_struct.weak_key */
 
227
#undef STRUCT_DES_KS_STRUCT_HAS_WEAK_KEY
 
228
 
 
229
/* ifnet needs to have _KERNEL defined */
 
230
#undef IFNET_NEEDS_KERNEL
 
231
 
 
232
/* sysctl works to get boottime, etc... */
 
233
#undef NETSNMP_CAN_USE_SYSCTL
 
234
 
 
235
/* define if SIOCGIFADDR exists in sys/ioctl.h */
 
236
#undef SYS_IOCTL_H_HAS_SIOCGIFADDR
160
237
 
161
238
/* Define if statfs takes 2 args and the second argument has
162
239
   type struct fs_data. [Ultrix] */
166
243
   depend on the integer variable `hz'.  [FreeBSD 4.x] */
167
244
#undef TCPTV_NEEDS_HZ
168
245
 
 
246
/* Not-to-be-compiled macros for use by configure only */
 
247
#define config_require(x)
 
248
#define config_exclude(x)
 
249
#define config_arch_require(x,y)
 
250
#define config_parse_dot_conf(w,x,y,z)
 
251
#define config_add_mib(x)
 
252
#define config_belongs_in(x)
 
253
#define config_error(x)
 
254
#define config_warning(x)
 
255
  
 
256
#if defined (WIN32) || defined (mingw32) || defined (cygwin)
 
257
#define ENV_SEPARATOR ";"
 
258
#define ENV_SEPARATOR_CHAR ';'
 
259
#else
 
260
#define ENV_SEPARATOR ":"
 
261
#define ENV_SEPARATOR_CHAR ':'
 
262
#endif
 
263
 
 
264
/* definitions added by configure on-the-fly */
169
265
 
170
266
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
171
267
   systems. This function is required for `alloca.c' support on those systems.
175
271
/* Define to 1 if using `alloca.c'. */
176
272
#undef C_ALLOCA
177
273
 
178
 
/* Define if DES encryption should not be supported */
179
 
#undef DISABLE_DES
180
 
 
181
 
/* Define if MD5 authentication should not be supported */
182
 
#undef DISABLE_MD5
183
 
 
184
 
/* Define if mib loading and parsing code should not be included */
185
 
#undef DISABLE_MIB_LOADING
186
 
 
187
 
/* Define if SNMP SET support should be disabled */
188
 
#undef DISABLE_SET_SUPPORT
189
 
 
190
 
/* Define if SNMPv1 code should not be included */
191
 
#undef DISABLE_SNMPV1
192
 
 
193
 
/* Define if SNMPv2c code should not be included */
194
 
#undef DISABLE_SNMPV2C
195
 
 
196
274
/* Define to 1 if you have the `AES_cfb128_encrypt' function. */
197
275
#undef HAVE_AES_CFB128_ENCRYPT
198
276
 
218
296
/* Define to 1 if you have the `cgetnext' function. */
219
297
#undef HAVE_CGETNEXT
220
298
 
 
299
/* Define to 1 if you have the `chown' function. */
 
300
#undef HAVE_CHOWN
 
301
 
 
302
/* Define to 1 if the system has the type `Counter64'. */
 
303
#undef HAVE_COUNTER64
 
304
 
221
305
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
222
306
   */
223
307
#undef HAVE_DIRENT_H
246
330
/* Define to 1 if you have the <fstab.h> header file. */
247
331
#undef HAVE_FSTAB_H
248
332
 
 
333
/* Define to 1 if you have the `gai_strerror' function. */
 
334
#undef HAVE_GAI_STRERROR
 
335
 
249
336
/* Define to 1 if you have the `getaddrinfo' function. */
250
337
#undef HAVE_GETADDRINFO
251
338
 
288
375
/* Define to 1 if you have the <grp.h> header file. */
289
376
#undef HAVE_GRP_H
290
377
 
 
378
/* Define to 1 if you have the `hasmntopt' function. */
 
379
#undef HAVE_HASMNTOPT
 
380
 
291
381
/* Define to 1 if you have the `if_freenameindex' function. */
292
382
#undef HAVE_IF_FREENAMEINDEX
293
383
 
303
393
/* Define to 1 if you have the <inet/mib2.h> header file. */
304
394
#undef HAVE_INET_MIB2_H
305
395
 
 
396
/* Define to 1 if the system has the type `int16_t'. */
 
397
#undef HAVE_INT16_T
 
398
 
306
399
/* Define to 1 if the system has the type `int32_t'. */
307
400
#undef HAVE_INT32_T
308
401
 
309
402
/* Define to 1 if the system has the type `int64_t'. */
310
403
#undef HAVE_INT64_T
311
404
 
 
405
/* Define to 1 if the system has the type `int8_t'. */
 
406
#undef HAVE_INT8_T
 
407
 
 
408
/* Define to 1 if the system has the type `intmax_t'. */
 
409
#undef HAVE_INTMAX_T
 
410
 
 
411
/* Define to 1 if the system has the type `intptr_t'. */
 
412
#undef HAVE_INTPTR_T
 
413
 
312
414
/* Define to 1 if you have the <inttypes.h> header file. */
313
415
#undef HAVE_INTTYPES_H
314
416
 
354
456
/* Define to 1 if you have the `kvm' library (-lkvm). */
355
457
#undef HAVE_LIBKVM
356
458
 
357
 
/* Define to 1 if you have the `m' library (-lm). */
358
 
#undef HAVE_LIBM
359
 
 
360
459
/* Define to 1 if you have the `mld' library (-lmld). */
361
460
#undef HAVE_LIBMLD
362
461
 
393
492
/* Define to 1 if you have the <locale.h> header file. */
394
493
#undef HAVE_LOCALE_H
395
494
 
 
495
/* Define to 1 if you have the `localtime_r' function. */
 
496
#undef HAVE_LOCALTIME_R
 
497
 
396
498
/* Define to 1 if you have the `lrand48' function. */
397
499
#undef HAVE_LRAND48
398
500
 
 
501
/* Define to 1 if you have the `lseek64' function. */
 
502
#undef HAVE_LSEEK64
 
503
 
399
504
/* Define to 1 if you have the <machine/param.h> header file. */
400
505
#undef HAVE_MACHINE_PARAM_H
401
506
 
534
639
/* Define to 1 if you have the `nlist' function. */
535
640
#undef HAVE_NLIST
536
641
 
 
642
/* Define to 1 if you have the `nlist64' function. */
 
643
#undef HAVE_NLIST64
 
644
 
537
645
/* Define to 1 if you have the <nlist.h> header file. */
538
646
#undef HAVE_NLIST_H
539
647
 
 
648
/* Define to 1 if the system has the type `off64_t'. */
 
649
#undef HAVE_OFF64_T
 
650
 
540
651
/* Define to 1 if you have the <openssl/aes.h> header file. */
541
652
#undef HAVE_OPENSSL_AES_H
542
653
 
558
669
/* Define to 1 if you have the <pci/pci.h> header file. */
559
670
#undef HAVE_PCI_PCI_H
560
671
 
561
 
/* Define to 1 if you have the `perl_eval_pv' function. */
562
 
#undef HAVE_PERL_EVAL_PV
563
 
 
564
672
/* Define to 1 if you have the <picl.h> header file. */
565
673
#undef HAVE_PICL_H
566
674
 
570
678
/* Define to 1 if you have the <pkglocs.h> header file. */
571
679
#undef HAVE_PKGLOCS_H
572
680
 
 
681
/* Define to 1 if you have the `pread64' function. */
 
682
#undef HAVE_PREAD64
 
683
 
573
684
/* Define to 1 if you have the <pthread.h> header file. */
574
685
#undef HAVE_PTHREAD_H
575
686
 
591
702
/* Define to 1 if you have the `rpmGetPath' function. */
592
703
#undef HAVE_RPMGETPATH
593
704
 
 
705
/* Define to 1 if you have the <rpm/header.h> header file. */
 
706
#undef HAVE_RPM_HEADER_H
 
707
 
594
708
/* Define to 1 if you have the <rpm/rpmdb.h> header file. */
595
709
#undef HAVE_RPM_RPMDB_H
596
710
 
 
711
/* Define to 1 if you have the <rpm/rpmlib.h> header file. */
 
712
#undef HAVE_RPM_RPMLIB_H
 
713
 
597
714
/* Define to 1 if you have the <search.h> header file. */
598
715
#undef HAVE_SEARCH_H
599
716
 
654
771
/* Define to 1 if you have the `socket' function. */
655
772
#undef HAVE_SOCKET
656
773
 
 
774
/* Define if type ssize_t is available */
 
775
#undef HAVE_SSIZE_T
 
776
 
657
777
/* Define to 1 if you have the `statfs' function. */
658
778
#undef HAVE_STATFS
659
779
 
705
825
/* Define to 1 if you have the `strtoul' function. */
706
826
#undef HAVE_STRTOUL
707
827
 
 
828
/* Define to 1 if `sin6_scope_id' is member of `struct sockaddr_in6'. */
 
829
#undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID
 
830
 
708
831
/* Define to 1 if you have the `sysconf' function. */
709
832
#undef HAVE_SYSCONF
710
833
 
730
853
/* Define to 1 if you have the <sys/dkio.h> header file. */
731
854
#undef HAVE_SYS_DKIO_H
732
855
 
 
856
/* Define to 1 if you have the <sys/dkstat.h> header file. */
 
857
#undef HAVE_SYS_DKSTAT_H
 
858
 
733
859
/* Define to 1 if you have the <sys/dmap.h> header file. */
734
860
#undef HAVE_SYS_DMAP_H
735
861
 
791
917
/* Define to 1 if you have the <sys/select.h> header file. */
792
918
#undef HAVE_SYS_SELECT_H
793
919
 
 
920
/* Define to 1 if you have the <sys/sema.h> header file. */
 
921
#undef HAVE_SYS_SEMA_H
 
922
 
794
923
/* Define to 1 if you have the <sys/socketvar.h> header file. */
795
924
#undef HAVE_SYS_SOCKETVAR_H
796
925
 
818
947
/* Define to 1 if you have the <sys/sysctl.h> header file. */
819
948
#undef HAVE_SYS_SYSCTL_H
820
949
 
 
950
/* Define to 1 if you have the <sys/sysget.h> header file. */
 
951
#undef HAVE_SYS_SYSGET_H
 
952
 
821
953
/* Define to 1 if you have the <sys/sysmp.h> header file. */
822
954
#undef HAVE_SYS_SYSMP_H
823
955
 
 
956
/* Define to 1 if you have the <sys/systemcfg.h> header file. */
 
957
#undef HAVE_SYS_SYSTEMCFG_H
 
958
 
 
959
/* Define to 1 if you have the <sys/systeminfo.h> header file. */
 
960
#undef HAVE_SYS_SYSTEMINFO_H
 
961
 
824
962
/* Define to 1 if you have the <sys/tcpipstats.h> header file. */
825
963
#undef HAVE_SYS_TCPIPSTATS_H
826
964
 
836
974
/* Define to 1 if you have the <sys/types.h> header file. */
837
975
#undef HAVE_SYS_TYPES_H
838
976
 
 
977
/* Define to 1 if you have the <sys/uio.h> header file. */
 
978
#undef HAVE_SYS_UIO_H
 
979
 
839
980
/* Define to 1 if you have the <sys/un.h> header file. */
840
981
#undef HAVE_SYS_UN_H
841
982
 
890
1031
/* Define to 1 if you have the <ufs/ufs/quota.h> header file. */
891
1032
#undef HAVE_UFS_UFS_QUOTA_H
892
1033
 
 
1034
/* Define to 1 if the system has the type `uint16_t'. */
 
1035
#undef HAVE_UINT16_T
 
1036
 
893
1037
/* Define to 1 if the system has the type `uint32_t'. */
894
1038
#undef HAVE_UINT32_T
895
1039
 
896
1040
/* Define to 1 if the system has the type `uint64_t'. */
897
1041
#undef HAVE_UINT64_T
898
1042
 
 
1043
/* Define to 1 if the system has the type `uint8_t'. */
 
1044
#undef HAVE_UINT8_T
 
1045
 
 
1046
/* Define to 1 if the system has the type `uintmax_t'. */
 
1047
#undef HAVE_UINTMAX_T
 
1048
 
899
1049
/* Define to 1 if the system has the type `uintptr_t'. */
900
1050
#undef HAVE_UINTPTR_T
901
1051
 
902
 
/* Define to 1 if the system has the type `intptr_t'. */
903
 
#undef HAVE_INTPTR_T
904
 
 
905
1052
/* Define to 1 if you have the `uname' function. */
906
1053
#undef HAVE_UNAME
907
1054
 
923
1070
/* Define to 1 if you have the <uvm/uvm_param.h> header file. */
924
1071
#undef HAVE_UVM_UVM_PARAM_H
925
1072
 
 
1073
/* Define to 1 if the system has the type `u_int16_t'. */
 
1074
#undef HAVE_U_INT16_T
 
1075
 
926
1076
/* Define to 1 if the system has the type `u_int32_t'. */
927
1077
#undef HAVE_U_INT32_T
928
1078
 
929
1079
/* Define to 1 if the system has the type `u_int64_t'. */
930
1080
#undef HAVE_U_INT64_T
931
1081
 
 
1082
/* Define to 1 if the system has the type `u_int8_t'. */
 
1083
#undef HAVE_U_INT8_T
 
1084
 
932
1085
/* Define to 1 if you have the <vm/swap_pager.h> header file. */
933
1086
#undef HAVE_VM_SWAP_PAGER_H
934
1087
 
950
1103
/* Define to 1 if you have the <xti.h> header file. */
951
1104
#undef HAVE_XTI_H
952
1105
 
 
1106
/* Unix domain socket for AgentX master-subagent communication */
 
1107
#undef NETSNMP_AGENTX_SOCKET
 
1108
 
 
1109
/* Define if static inline functions are unsupported */
 
1110
#undef NETSNMP_BROKEN_INLINE
 
1111
 
 
1112
/* Define if DES encryption should not be supported */
 
1113
#undef NETSNMP_DISABLE_DES
 
1114
 
 
1115
/* Define if MD5 authentication should not be supported */
 
1116
#undef NETSNMP_DISABLE_MD5
 
1117
 
 
1118
/* Define if mib loading and parsing code should not be included */
 
1119
#undef NETSNMP_DISABLE_MIB_LOADING
 
1120
 
 
1121
/* Define if SNMP SET support should be disabled */
 
1122
#undef NETSNMP_DISABLE_SET_SUPPORT
 
1123
 
 
1124
/* Define if SNMPv1 code should not be included */
 
1125
#undef NETSNMP_DISABLE_SNMPV1
 
1126
 
 
1127
/* Define if SNMPv2c code should not be included */
 
1128
#undef NETSNMP_DISABLE_SNMPV2C
 
1129
 
953
1130
/* Define to the address where bug reports for this package should be sent. */
 
1131
#ifndef PACKAGE_BUGREPORT
954
1132
#undef PACKAGE_BUGREPORT
 
1133
#endif
955
1134
 
956
1135
/* Define to the full name of this package. */
 
1136
#ifndef PACKAGE_NAME
957
1137
#undef PACKAGE_NAME
 
1138
#endif
958
1139
 
959
1140
/* Define to the full name and version of this package. */
 
1141
#ifndef PACKAGE_STRING
960
1142
#undef PACKAGE_STRING
 
1143
#endif
961
1144
 
962
1145
/* Define to the one symbol short name of this package. */
 
1146
#ifndef PACKAGE_TARNAME
963
1147
#undef PACKAGE_TARNAME
 
1148
#endif
964
1149
 
965
1150
/* Define to the version of this package. */
 
1151
#ifndef PACKAGE_VERSION
966
1152
#undef PACKAGE_VERSION
 
1153
#endif
967
1154
 
968
1155
/* Define as the return type of signal handlers (`int' or `void'). */
969
1156
#undef RETSIGTYPE
971
1158
/* The size of a `int', as computed by sizeof. */
972
1159
#undef SIZEOF_INT
973
1160
 
 
1161
/* The size of a `intmax_t', as computed by sizeof. */
 
1162
#undef SIZEOF_INTMAX_T
 
1163
 
974
1164
/* The size of a `long', as computed by sizeof. */
975
1165
#undef SIZEOF_LONG
976
1166
 
1020
1210
/* Define to `int' if <sys/types.h> does not define. */
1021
1211
#undef pid_t
1022
1212
 
1023
 
/* define if you have type int32_t */
1024
 
#undef HAVE_INT32_T
1025
 
 
1026
 
/* define if you have type uint32_t */
1027
 
#undef HAVE_UINT32_T
1028
 
 
1029
 
/* define if you have type u_int32_t */
1030
 
#undef HAVE_U_INT32_T
1031
 
 
1032
 
/* define if you have type int64_t */
1033
 
#undef HAVE_INT64_T
1034
 
 
1035
 
/* define if you have type uint64_t */
1036
 
#undef HAVE_UINT64_T
1037
 
 
1038
 
/* define if you have type u_int64_t */
1039
 
#undef HAVE_U_INT64_T
1040
 
 
1041
 
/* define if you have getdevs() */
1042
 
#undef HAVE_GETDEVS
1043
 
 
1044
 
/* define if you have devstat_getdevs() */
1045
 
#undef HAVE_DEVSTAT_GETDEVS
1046
 
 
1047
 
/* define if you have <netinet/in_pcb.h> */
1048
 
#undef HAVE_NETINET_IN_PCB_H
1049
 
 
1050
 
/* define if you have <sys/disklabel.h> */
1051
 
#undef HAVE_SYS_DISKLABEL_H
1052
 
 
1053
 
/* define if you are using linux and /proc/net/dev has the compressed
1054
 
   field, which exists in linux kernels 2.2 and greater. */
1055
 
#undef PROC_NET_DEV_HAS_COMPRESSED
1056
 
 
1057
 
/* define rtentry to ortentry on SYSV machines (alphas) */
1058
 
#undef RTENTRY
1059
 
 
1060
 
/* Use BSD 4.4 routing table entries? */
1061
 
#undef RTENTRY_4_4
1062
 
 
1063
 
/* Does struct sigaction have a sa_sigaction field? */
1064
 
#undef STRUCT_SIGACTION_HAS_SA_SIGACTION
1065
 
 
1066
 
/* Does struct tm have a tm_gmtoff field? */
1067
 
#undef STRUCT_TM_HAS_TM_GMTOFFF
1068
 
 
1069
 
/* Does struct sockaddr have a sa_len field? */
1070
 
#undef STRUCT_SOCKADDR_HAS_SA_LEN
1071
 
 
1072
 
/* Does struct sockaddr have a sa_family2 field? */
1073
 
#undef STRUCT_SOCKADDR_HAS_SA_UNION_SA_GENERIC_SA_FAMILY2
1074
 
 
1075
 
/* Does struct in6_addr have a s6_un.sa6_ladd field? */
1076
 
#undef STRUCT_IN6_ADDR_HAS_S6_UN_SA6_LADDR
1077
 
 
1078
 
/* rtentry structure tests */
1079
 
#undef RTENTRY_RT_NEXT
1080
 
#undef STRUCT_RTENTRY_HAS_RT_DST
1081
 
#undef STRUCT_RTENTRY_HAS_RT_UNIT
1082
 
#undef STRUCT_RTENTRY_HAS_RT_USE
1083
 
#undef STRUCT_RTENTRY_HAS_RT_REFCNT
1084
 
#undef STRUCT_RTENTRY_HAS_RT_HASH
1085
 
 
1086
 
/* ifnet structure tests */
1087
 
#undef STRUCT_IFNET_HAS_IF_BAUDRATE
1088
 
#undef STRUCT_IFNET_HAS_IF_BAUDRATE_IFS_VALUE
1089
 
#undef STRUCT_IFNET_HAS_IF_SPEED
1090
 
#undef STRUCT_IFNET_HAS_IF_TYPE
1091
 
#undef STRUCT_IFNET_HAS_IF_IMCASTS
1092
 
#undef STRUCT_IFNET_HAS_IF_IQDROPS
1093
 
#undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC
1094
 
#undef STRUCT_IFNET_HAS_IF_NOPROTO
1095
 
#undef STRUCT_IFNET_HAS_IF_OMCASTS
1096
 
#undef STRUCT_IFNET_HAS_IF_XNAME
1097
 
#undef STRUCT_IFNET_HAS_IF_OBYTES
1098
 
#undef STRUCT_IFNET_HAS_IF_IBYTES
1099
 
#undef STRUCT_IFNET_HAS_IF_ADDRLIST
1100
 
 
1101
 
/* tcpstat.tcps_rcvmemdrop */
1102
 
#undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP
1103
 
 
1104
 
/* udpstat.udps_discard */
1105
 
#undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD
1106
 
 
1107
 
/* udpstat.udps_discard */
1108
 
#undef STRUCT_UDPSTAT_HAS_UDPS_NOPORT
1109
 
 
1110
 
/* udpstat.udps_discard */
1111
 
#undef STRUCT_UDPSTAT_HAS_UDPS_NOPORTBCAST
1112
 
 
1113
 
/* udpstat.udps_discard */
1114
 
#undef STRUCT_UDPSTAT_HAS_UDPS_FULLSOCK
1115
 
 
1116
 
/* arphd.at_next */
1117
 
#undef STRUCT_ARPHD_HAS_AT_NEXT
1118
 
 
1119
 
/* ifaddr.ifa_next */
1120
 
#undef STRUCT_IFADDR_HAS_IFA_NEXT
1121
 
 
1122
 
/* ifnet.if_mtu */
1123
 
#undef STRUCT_IFNET_HAS_IF_MTU
1124
 
 
1125
 
/* swdevt.sw_nblksenabled */
1126
 
#undef STRUCT_SWDEVT_HAS_SW_NBLKSENABLED
1127
 
 
1128
 
/* nlist.n_value */
1129
 
#undef STRUCT_NLIST_HAS_N_VALUE
1130
 
 
1131
 
/* ipstat structure tests */
1132
 
#undef STRUCT_IPSTAT_HAS_IPS_CANTFORWARD
1133
 
#undef STRUCT_IPSTAT_HAS_IPS_CANTFRAG
1134
 
#undef STRUCT_IPSTAT_HAS_IPS_DELIVERED
1135
 
#undef STRUCT_IPSTAT_HAS_IPS_FRAGDROPPED
1136
 
#undef STRUCT_IPSTAT_HAS_IPS_FRAGTIMEOUT
1137
 
#undef STRUCT_IPSTAT_HAS_IPS_LOCALOUT
1138
 
#undef STRUCT_IPSTAT_HAS_IPS_NOPROTO
1139
 
#undef STRUCT_IPSTAT_HAS_IPS_NOROUTE
1140
 
#undef STRUCT_IPSTAT_HAS_IPS_ODROPPED
1141
 
#undef STRUCT_IPSTAT_HAS_IPS_OFRAGMENTS
1142
 
#undef STRUCT_IPSTAT_HAS_IPS_REASSEMBLED
1143
 
 
1144
 
/* vfsstat.f_frsize */
1145
 
#undef STRUCT_STATVFS_HAS_F_FRSIZE
1146
 
 
1147
 
/* vfsstat.f_files */
1148
 
#undef STRUCT_STATVFS_HAS_F_FILES
1149
 
 
1150
 
/* statfs inode structure tests*/
1151
 
#undef STRUCT_STATFS_HAS_F_FILES
1152
 
#undef STRUCT_STATFS_HAS_F_FFREE
1153
 
#undef STRUCT_STATFS_HAS_F_FAVAIL
1154
 
 
1155
 
/* des_ks_struct.weak_key */
1156
 
#undef STRUCT_DES_KS_STRUCT_HAS_WEAK_KEY
1157
 
 
1158
 
/* ifnet needs to have _KERNEL defined */
1159
 
#undef IFNET_NEEDS_KERNEL
1160
 
 
1161
 
/* sysctl works to get boottime, etc... */
1162
 
#undef CAN_USE_SYSCTL
1163
 
 
1164
 
/* type check for in_addr_t */
1165
 
#undef in_addr_t
1166
 
 
1167
 
/* define if SIOCGIFADDR exists in sys/ioctl.h */
1168
 
#undef SYS_IOCTL_H_HAS_SIOCGIFADDR
1169
 
 
1170
 
/* define if your compiler (processor) defines __FUNCTION__ for you */
1171
 
#undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED
 
1213
/* end of definitions added by configure on-the-fly */
 
1214
 
 
1215
#ifndef HAVE_STRCHR
 
1216
#ifdef HAVE_INDEX
 
1217
# define strchr index
 
1218
# define strrchr rindex
 
1219
#endif
 
1220
#endif
 
1221
 
 
1222
#ifndef HAVE_INDEX
 
1223
#ifdef HAVE_STRCHR
 
1224
#ifdef mingw32
 
1225
# define index(a,b) strchr(a,b)
 
1226
# define rindex(a,b) strrchr(a,b)
 
1227
#else
 
1228
# define index strchr
 
1229
# define rindex strrchr
 
1230
#endif
 
1231
#endif
 
1232
#endif
 
1233
 
 
1234
#ifndef HAVE_MEMCPY
 
1235
#ifdef HAVE_BCOPY
 
1236
# define memcpy(d, s, n) bcopy ((s), (d), (n))
 
1237
# define memmove(d, s, n) bcopy ((s), (d), (n))
 
1238
# define memcmp bcmp
 
1239
#endif
 
1240
#endif
 
1241
 
 
1242
#ifndef HAVE_MEMMOVE
 
1243
#ifdef HAVE_MEMCPY
 
1244
# define memmove memcpy
 
1245
#endif
 
1246
#endif
 
1247
 
 
1248
#ifndef HAVE_BCOPY
 
1249
#ifdef HAVE_MEMCPY
 
1250
# define bcopy(s, d, n) memcpy ((d), (s), (n))
 
1251
# define bzero(p,n) memset((p),(0),(n))
 
1252
# define bcmp memcmp
 
1253
#endif
 
1254
#endif
 
1255
 
 
1256
/* If you have openssl 0.9.7 or above, you likely have AES support. */
 
1257
#undef NETSNMP_USE_OPENSSL
 
1258
#if defined(NETSNMP_USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB128_ENCRYPT)
 
1259
#define HAVE_AES 1
 
1260
#endif
 
1261
 
 
1262
/* define random functions */
 
1263
 
 
1264
#ifndef HAVE_RANDOM
 
1265
#ifdef HAVE_LRAND48
 
1266
#define random lrand48
 
1267
#define srandom(s) srand48(s)
 
1268
#else
 
1269
#ifdef HAVE_RAND
 
1270
#define random rand
 
1271
#define srandom(s) srand(s)
 
1272
#endif
 
1273
#endif
 
1274
#endif
 
1275
 
 
1276
/* define signal if DNE */
 
1277
 
 
1278
#ifndef HAVE_SIGNAL
 
1279
#ifdef HAVE_SIGSET
 
1280
#define signal(a,b) sigset(a,b)
 
1281
#endif
 
1282
#endif
 
1283
 
 
1284
#if HAVE_DMALLOC_H
 
1285
#define DMALLOC_FUNC_CHECK
 
1286
#endif
 
1287
 
 
1288
#endif /* NETSNMP_NO_AUTOCONF_DEFINITIONS */
 
1289
 
 
1290
 
 
1291
 
 
1292
 
 
1293
/* ********* NETSNMP_MARK_BEGIN_CLEAN_NAMESPACE ********* */
 
1294
/* 
 
1295
 * put all new net-snmp-specific definitions here
 
1296
 *
 
1297
 * all definitions MUST have a NETSNMP_ prefix
 
1298
 *
 
1299
 */
 
1300
 
 
1301
/* Default (SNMP) version number for the tools to use */
 
1302
#define NETSNMP_DEFAULT_SNMP_VERSION 3
 
1303
 
 
1304
/* don't change these values! */
 
1305
#define NETSNMP_SNMPV1      0xAAAA       /* readable by anyone */
 
1306
#define NETSNMP_SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */
 
1307
#define NETSNMP_SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
 
1308
 
 
1309
/* default list of mibs to load */
 
1310
#define NETSNMP_DEFAULT_MIBS "IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB"
 
1311
 
 
1312
/* default location to look for mibs to load using the above tokens
 
1313
   and/or those in the MIBS envrionment variable*/
 
1314
#undef NETSNMP_DEFAULT_MIBDIRS
 
1315
 
 
1316
/* default mib files to load, specified by path. */
 
1317
#undef NETSNMP_DEFAULT_MIBFILES
 
1318
 
 
1319
/* should we compile to use special opaque types: float, double,
 
1320
   counter64, i64, ui64, union? */
 
1321
#undef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
 
1322
 
 
1323
/* define if you want to compile support for both authentication and
 
1324
   privacy support. */
 
1325
#undef NETSNMP_ENABLE_SCAPI_AUTHPRIV
 
1326
 
 
1327
/* define if you are using the MD5 code ...*/
 
1328
#undef NETSNMP_USE_INTERNAL_MD5
 
1329
 
 
1330
/* define if you are using the codeS11 library ...*/
 
1331
#undef NETSNMP_USE_PKCS11
 
1332
 
 
1333
/* debugging stuff */
 
1334
/* if defined, we optimize the code to exclude all debugging calls. */
 
1335
#undef NETSNMP_NO_DEBUGGING
 
1336
/* ignore the -D flag and always print debugging information */
 
1337
#define NETSNMP_ALWAYS_DEBUG 0
 
1338
 
 
1339
/* reverse encoding BER packets is both faster and more efficient in space. */
 
1340
#define NETSNMP_USE_REVERSE_ASNENCODING       1
 
1341
#define NETSNMP_DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */
 
1342
 
 
1343
/* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
 
1344
   persisant information to this directory in the form of configuration
 
1345
   lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */
 
1346
#define NETSNMP_PERSISTENT_DIRECTORY "/var/snmp"
 
1347
 
 
1348
/* PERSISTENT_MASK: the umask permissions to set up persistent files with */
 
1349
#define NETSNMP_PERSISTENT_MASK 077
 
1350
 
 
1351
/* AGENT_DIRECTORY_MODE: the mode the agents should use to create
 
1352
   directories with. Since the data stored here is probably sensitive, it
 
1353
   probably should be read-only by root/administrator. */
 
1354
#define NETSNMP_AGENT_DIRECTORY_MODE 0700
 
1355
 
 
1356
/* MAX_PERSISTENT_BACKUPS:
 
1357
 *   The maximum number of persistent backups the library will try to
 
1358
 *   read from the persistent cache directory.  If an application fails to
 
1359
 *   close down successfully more than this number of times, data will be lost.
 
1360
 */
 
1361
#define NETSNMP_MAX_PERSISTENT_BACKUPS 10
 
1362
 
 
1363
/* define the system type include file here */
 
1364
#define NETSNMP_SYSTEM_INCLUDE_FILE <net-snmp/system/generic.h>
 
1365
 
 
1366
/* define the machine (cpu) type include file here */
 
1367
#define NETSNMP_MACHINE_INCLUDE_FILE <net-snmp/machine/generic.h>
 
1368
 
 
1369
/* define the UDP buffer defaults undefined means use the OS buffers
 
1370
 * by default */
 
1371
#undef NETSNMP_DEFAULT_SERVER_SEND_BUF
 
1372
#undef NETSNMP_DEFAULT_SERVER_RECV_BUF
 
1373
#undef NETSNMP_DEFAULT_CLIENT_SEND_BUF
 
1374
#undef NETSNMP_DEFAULT_CLIENT_RECV_BUF
 
1375
 
 
1376
/* net-snmp's major path names */
 
1377
#undef SNMPLIBPATH
 
1378
#undef SNMPSHAREPATH
 
1379
#undef SNMPCONFPATH
 
1380
#undef SNMPDLMODPATH
 
1381
 
 
1382
/* NETSNMP_LOGFILE:  If defined it closes stdout/err/in and opens this in 
 
1383
   out/err's place.  (stdin is closed so that sh scripts won't wait for it) */
 
1384
#undef NETSNMP_LOGFILE
 
1385
 
 
1386
/* default system contact */
 
1387
#undef NETSNMP_SYS_CONTACT
 
1388
 
 
1389
/* system location */
 
1390
#undef NETSNMP_SYS_LOC
 
1391
 
 
1392
/* Use libwrap to handle allow/deny hosts? */
 
1393
#undef NETSNMP_USE_LIBWRAP
 
1394
 
 
1395
/* testing code sections. */
 
1396
#undef NETSNMP_ENABLE_TESTING_CODE 
 
1397
 
 
1398
/* If you don't have root access don't exit upon kmem errors */
 
1399
#undef NETSNMP_NO_ROOT_ACCESS
 
1400
 
 
1401
/* If we don't want to use kmem. */
 
1402
#undef NETSNMP_NO_KMEM_USAGE
 
1403
 
 
1404
/* If you don't want the agent to report on variables it doesn't have data for */
 
1405
#undef NETSNMP_NO_DUMMY_VALUES
 
1406
 
1172
1407
 
1173
1408
/* Mib-2 tree Info */
1174
1409
/* These are the system information variables. */
1175
1410
 
1176
 
#define VERS_DESC   "unknown"             /* overridden at run time */
1177
 
#define SYS_NAME    "unknown"             /* overridden at run time */
 
1411
#define NETSNMP_VERS_DESC   "unknown"             /* overridden at run time */
 
1412
#define NETSNMP_SYS_NAME    "unknown"             /* overridden at run time */
1178
1413
 
1179
1414
/* comment out the second define to turn off functionality for any of
1180
1415
   these: (See README for details) */
1181
1416
 
1182
1417
/*   proc PROCESSNAME [MAX] [MIN] */
1183
 
#define PROCMIBNUM 2
 
1418
#define NETSNMP_PROCMIBNUM 2
1184
1419
 
1185
1420
/*   exec/shell NAME COMMAND      */
1186
 
#define SHELLMIBNUM 8
 
1421
#define NETSNMP_SHELLMIBNUM 8
1187
1422
 
1188
1423
/*   swap MIN                     */
1189
 
#define MEMMIBNUM 4
 
1424
#define NETSNMP_MEMMIBNUM 4
1190
1425
 
1191
1426
/*   disk DISK MINSIZE            */
1192
 
#define DISKMIBNUM 9
 
1427
#define NETSNMP_DISKMIBNUM 9
1193
1428
 
1194
1429
/*   load 1 5 15                  */
1195
 
#define LOADAVEMIBNUM 10
 
1430
#define NETSNMP_LOADAVEMIBNUM 10
1196
1431
 
1197
1432
/* which version are you using? This mibloc will tell you */
1198
 
#define VERSIONMIBNUM 100
 
1433
#define NETSNMP_VERSIONMIBNUM 100
1199
1434
 
1200
1435
/* Reports errors the agent runs into */
1201
1436
/* (typically its "can't fork, no mem" problems) */
1202
 
#define ERRORMIBNUM 101
 
1437
#define NETSNMP_ERRORMIBNUM 101
1203
1438
 
1204
1439
/* The sub id of EXTENSIBLEMIB returned to queries of
1205
1440
   .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 */
1206
 
#define AGENTID 250
 
1441
#define NETSNMP_AGENTID 250
1207
1442
 
1208
1443
/* This ID is returned after the AGENTID above.  IE, the resulting
1209
1444
   value returned by a query to sysObjectID is
1210
1445
   EXTENSIBLEMIB.AGENTID.???, where ??? is defined below by OSTYPE */
1211
1446
 
1212
 
#define HPUX9ID 1
1213
 
#define SUNOS4ID 2 
1214
 
#define SOLARISID 3
1215
 
#define OSFID 4
1216
 
#define ULTRIXID 5
1217
 
#define HPUX10ID 6
1218
 
#define NETBSD1ID 7
1219
 
#define FREEBSDID 8
1220
 
#define IRIXID 9
1221
 
#define LINUXID 10
1222
 
#define BSDIID 11
1223
 
#define OPENBSDID 12
1224
 
#define WIN32ID 13
1225
 
#define HPUX11ID 14
1226
 
#define AIXID 15
1227
 
#define MACOSXID 16
1228
 
#define UNKNOWNID 255
 
1447
#define NETSNMP_HPUX9ID 1
 
1448
#define NETSNMP_SUNOS4ID 2 
 
1449
#define NETSNMP_SOLARISID 3
 
1450
#define NETSNMP_OSFID 4
 
1451
#define NETSNMP_ULTRIXID 5
 
1452
#define NETSNMP_HPUX10ID 6
 
1453
#define NETSNMP_NETBSD1ID 7
 
1454
#define NETSNMP_FREEBSDID 8
 
1455
#define NETSNMP_IRIXID 9
 
1456
#define NETSNMP_LINUXID 10
 
1457
#define NETSNMP_BSDIID 11
 
1458
#define NETSNMP_OPENBSDID 12
 
1459
#define NETSNMP_WIN32ID 13
 
1460
#define NETSNMP_HPUX11ID 14
 
1461
#define NETSNMP_AIXID 15
 
1462
#define NETSNMP_MACOSXID 16
 
1463
#define NETSNMP_UNKNOWNID 255
1229
1464
 
1230
1465
#ifdef hpux9
1231
 
#define OSTYPE HPUX9ID
 
1466
#define NETSNMP_OSTYPE NETSNMP_HPUX9ID
1232
1467
#endif
1233
1468
#ifdef hpux10
1234
 
#define OSTYPE HPUX10ID
 
1469
#define NETSNMP_OSTYPE NETSNMP_HPUX10ID
1235
1470
#endif
1236
1471
#ifdef hpux11
1237
 
#define OSTYPE HPUX11ID
 
1472
#define NETSNMP_OSTYPE NETSNMP_HPUX11ID
1238
1473
#endif
1239
1474
#ifdef sunos4
1240
 
#define OSTYPE SUNOS4ID
 
1475
#define NETSNMP_OSTYPE NETSNMP_SUNOS4ID
1241
1476
#endif
1242
1477
#ifdef solaris2
1243
 
#define OSTYPE SOLARISID
 
1478
#define NETSNMP_OSTYPE NETSNMP_SOLARISID
1244
1479
#endif
1245
1480
#if defined(osf3) || defined(osf4) || defined(osf5)
1246
 
#define OSTYPE OSFID
 
1481
#define NETSNMP_OSTYPE NETSNMP_OSFID
1247
1482
#endif
1248
1483
#ifdef ultrix4
1249
 
#define OSTYPE ULTRIXID
 
1484
#define NETSNMP_OSTYPE NETSNMP_ULTRIXID
1250
1485
#endif
1251
1486
#if defined(netbsd1) || defined(netbsd2)
1252
 
#define OSTYPE NETBSD1ID
 
1487
#define NETSNMP_OSTYPE NETSNMP_NETBSD1ID
1253
1488
#endif
1254
1489
#if defined(__FreeBSD__)
1255
 
#define OSTYPE FREEBSDID
 
1490
#define NETSNMP_OSTYPE NETSNMP_FREEBSDID
1256
1491
#endif
1257
1492
#if defined(irix6) || defined(irix5)
1258
 
#define OSTYPE IRIXID
 
1493
#define NETSNMP_OSTYPE NETSNMP_IRIXID
1259
1494
#endif
1260
1495
#ifdef linux
1261
 
#define OSTYPE LINUXID
 
1496
#define NETSNMP_OSTYPE NETSNMP_LINUXID
1262
1497
#endif
1263
1498
#if defined(bsdi2) || defined(bsdi3) || defined(bsdi4)
1264
 
#define OSTYPE BSDIID
 
1499
#define NETSNMP_OSTYPE NETSNMP_BSDIID
1265
1500
#endif
1266
 
#if defined(openbsd2) || defined(openbsd3)
1267
 
#define OSTYPE OPENBSDID
 
1501
#if defined(openbsd2) || defined(openbsd3) || defined(openbsd4)
 
1502
#define NETSNMP_OSTYPE NETSNMP_OPENBSDID
1268
1503
#endif
1269
1504
#ifdef WIN32
1270
 
#define OSTYPE WIN32ID
 
1505
#define NETSNMP_OSTYPE NETSNMP_WIN32ID
1271
1506
#endif
1272
1507
#if defined(aix3) || defined(aix4) || defined(aix5)
1273
 
#define OSTYPE AIXID
 
1508
#define NETSNMP_OSTYPE NETSNMP_AIXID
1274
1509
#endif
1275
 
#ifdef darwin8
1276
 
#define OSTYPE MACOSXID
 
1510
#if defined(darwin) && (darwin >= 8)
 
1511
#define NETSNMP_OSTYPE NETSNMP_MACOSXID
1277
1512
#endif
1278
1513
/* unknown */
1279
 
#ifndef OSTYPE
1280
 
#define OSTYPE UNKNOWNID
 
1514
#ifndef NETSNMP_OSTYPE
 
1515
#define NETSNMP_OSTYPE NETSNMP_UNKNOWNID
1281
1516
#endif
1282
1517
 
1283
1518
/* The enterprise number has been assigned by the IANA group.   */
1284
1519
/* Optionally, this may point to the location in the tree your  */
1285
1520
/* company/organization has been allocated.                     */
1286
1521
/* The assigned enterprise number for the NET_SNMP MIB modules. */
1287
 
#define ENTERPRISE_OID                  8072
1288
 
#define ENTERPRISE_MIB                  1,3,6,1,4,1,8072
1289
 
#define ENTERPRISE_DOT_MIB              1.3.6.1.4.1.8072
1290
 
#define ENTERPRISE_DOT_MIB_LENGTH       7
 
1522
#define NETSNMP_ENTERPRISE_OID                  8072
 
1523
#define NETSNMP_ENTERPRISE_MIB                  1,3,6,1,4,1,8072
 
1524
#define NETSNMP_ENTERPRISE_DOT_MIB              1.3.6.1.4.1.8072
 
1525
#define NETSNMP_ENTERPRISE_DOT_MIB_LENGTH       7
1291
1526
 
1292
1527
/* The assigned enterprise number for sysObjectID. */
1293
 
#define SYSTEM_MIB              1,3,6,1,4,1,8072,3,2,OSTYPE
1294
 
#define SYSTEM_DOT_MIB          1.3.6.1.4.1.8072.3.2.OSTYPE
1295
 
#define SYSTEM_DOT_MIB_LENGTH   10
 
1528
#define NETSNMP_SYSTEM_MIB              1,3,6,1,4,1,8072,3,2,NETSNMP_OSTYPE
 
1529
#define NETSNMP_SYSTEM_DOT_MIB          1.3.6.1.4.1.8072.3.2.NETSNMP_OSTYPE
 
1530
#define NETSNMP_SYSTEM_DOT_MIB_LENGTH   10
1296
1531
 
1297
1532
/* The assigned enterprise number for notifications. */
1298
 
#define NOTIFICATION_MIB                1,3,6,1,4,1,8072,4
1299
 
#define NOTIFICATION_DOT_MIB            1.3.6.1.4.1.8072.4
1300
 
#define NOTIFICATION_DOT_MIB_LENGTH     8
 
1533
#define NETSNMP_NOTIFICATION_MIB                1,3,6,1,4,1,8072,4
 
1534
#define NETSNMP_NOTIFICATION_DOT_MIB            1.3.6.1.4.1.8072.4
 
1535
#define NETSNMP_NOTIFICATION_DOT_MIB_LENGTH     8
1301
1536
 
1302
1537
/* this is the location of the ucdavis mib tree.  It shouldn't be
1303
1538
   changed, as the places it is used are expected to be constant
1304
1539
   values or are directly tied to the UCD-SNMP-MIB. */
1305
 
#define UCDAVIS_OID             2021
1306
 
#define UCDAVIS_MIB             1,3,6,1,4,1,2021
1307
 
#define UCDAVIS_DOT_MIB         1.3.6.1.4.1.2021
1308
 
#define UCDAVIS_DOT_MIB_LENGTH  7
1309
 
 
1310
 
/* this is the location of the net-snmp mib tree.  It shouldn't be
1311
 
   changed, as the places it is used are expected to be constant
1312
 
   values or are directly tied to the UCD-SNMP-MIB. */
1313
 
#define NETSNMP_OID             8072
1314
 
#define NETSNMP_MIB             1,3,6,1,4,1,8072
1315
 
#define NETSNMP_DOT_MIB         1.3.6.1.4.1.8072
1316
 
#define NETSNMP_DOT_MIB_LENGTH  7
 
1540
#define NETSNMP_UCDAVIS_OID             2021
 
1541
#define NETSNMP_UCDAVIS_MIB             1,3,6,1,4,1,2021
 
1542
#define NETSNMP_UCDAVIS_DOT_MIB         1.3.6.1.4.1.2021
 
1543
#define NETSNMP_UCDAVIS_DOT_MIB_LENGTH  7
1317
1544
 
1318
1545
/* how long to wait (seconds) for error querys before reseting the error trap.*/
1319
 
#define ERRORTIMELENGTH 600 
 
1546
#define NETSNMP_ERRORTIMELENGTH 600 
1320
1547
 
1321
1548
/* Exec command to fix PROC problems */
1322
1549
/* %s will be replaced by the process name in error */
1323
1550
 
1324
 
/* #define PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
 
1551
/* #define NETSNMP_PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
1325
1552
 
1326
1553
/* Exec command to fix EXEC problems */
1327
1554
/* %s will be replaced by the exec/script name in error */
1328
1555
 
1329
 
/* #define EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
 
1556
/* #define NETSNMP_EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
1330
1557
 
1331
1558
/* Should exec output Cashing be used (speeds up things greatly), and
1332
1559
   if so, After how many seconds should the cache re-newed?  Note:
1333
1560
   Don't define CASHETIME to disable cashing completely */
1334
1561
 
1335
 
#define EXCACHETIME 30
1336
 
#define CACHEFILE ".snmp-exec-cache"
1337
 
#define MAXCACHESIZE (200*80)   /* roughly 200 lines max */
 
1562
#define NETSNMP_EXCACHETIME 30
 
1563
#define NETSNMP_CACHEFILE ".snmp-exec-cache"
 
1564
#define NETSNMP_MAXCACHESIZE (200*80)   /* roughly 200 lines max */
1338
1565
 
1339
1566
/* misc defaults */
1340
1567
 
1341
1568
/* default of 100 meg minimum if the minimum size is not specified in
1342
1569
   the config file */
1343
 
#define DEFDISKMINIMUMSPACE 100000
1344
 
 
1345
 
#define DEFMAXLOADAVE 12.0      /* default maximum load average before error */
1346
 
 
 
1570
#define NETSNMP_DEFDISKMINIMUMSPACE 100000
 
1571
 
 
1572
/* default maximum load average before error */
 
1573
#define NETSNMP_DEFMAXLOADAVE 12.0
 
1574
 
 
1575
/* max times to loop reading output from execs. */
1347
1576
/* Because of sleep(1)s, this will also be time to wait (in seconds) for exec
1348
1577
   to finish */
1349
 
#define MAXREADCOUNT 100   /* max times to loop reading output from execs. */
 
1578
#define NETSNMP_MAXREADCOUNT 100
1350
1579
 
 
1580
/* Set if snmpgets should block and never timeout */
1351
1581
/* The original CMU code had this hardcoded as = 1 */
1352
 
#define SNMPBLOCK 1       /* Set if snmpgets should block and never timeout */
 
1582
#define NETSNMP_SNMPBLOCK 1
1353
1583
 
1354
1584
/* How long to wait before restarting the agent after a snmpset to
1355
1585
   EXTENSIBLEMIB.VERSIONMIBNUM.VERRESTARTAGENT.  This is
1356
1586
   necessary to finish the snmpset reply before restarting. */
1357
 
#define RESTARTSLEEP 5
1358
 
 
1359
 
/* Number of community strings to store */
1360
 
#define NUM_COMMUNITIES 5
 
1587
#define NETSNMP_RESTARTSLEEP 5
1361
1588
 
1362
1589
/* UNdefine to allow specifying zero-length community string */
1363
 
/* #define NO_ZEROLENGTH_COMMUNITY 1 */
 
1590
/* #define NETSNMP_NO_ZEROLENGTH_COMMUNITY 1 */
1364
1591
 
1365
 
/* #define EXIT_ON_BAD_KLREAD  */
1366
1592
/* define to exit the agent on a bad kernel read */
1367
 
 
1368
 
#define LASTFIELD -1      /* internal define */
 
1593
/* #define NETSNMP_EXIT_ON_BAD_KLREAD  */
 
1594
 
 
1595
/* Number of community strings to store */
 
1596
#define NETSNMP_NUM_COMMUNITIES 5
 
1597
 
 
1598
/* internal define */
 
1599
#define NETSNMP_LASTFIELD -1
1369
1600
 
1370
1601
/* configure options specified */
1371
 
#define CONFIGURE_OPTIONS ""
1372
 
 
1373
 
/* got socklen_t? */
1374
 
#undef HAVE_SOCKLEN_T
1375
 
 
1376
 
/* got in_addr_t? */
1377
 
#undef HAVE_IN_ADDR_T
1378
 
 
1379
 
/* got ssize_t? */
1380
 
#undef HAVE_SSIZE_T
1381
 
 
1382
 
#ifndef HAVE_STRCHR
1383
 
#ifdef HAVE_INDEX
1384
 
# define strchr index
1385
 
# define strrchr rindex
1386
 
#endif
1387
 
#endif
1388
 
 
1389
 
#ifndef HAVE_INDEX
1390
 
#ifdef HAVE_STRCHR
1391
 
#ifdef mingw32
1392
 
# define index(a,b) strchr(a,b)
1393
 
# define rindex(a,b) strrchr(a,b)
1394
 
#else
1395
 
# define index strchr
1396
 
# define rindex strrchr
1397
 
#endif
1398
 
#endif
1399
 
#endif
1400
 
 
1401
 
#ifndef HAVE_MEMCPY
1402
 
#ifdef HAVE_BCOPY
1403
 
# define memcpy(d, s, n) bcopy ((s), (d), (n))
1404
 
# define memmove(d, s, n) bcopy ((s), (d), (n))
1405
 
# define memcmp bcmp
1406
 
#endif
1407
 
#endif
1408
 
 
1409
 
#ifndef HAVE_MEMMOVE
1410
 
#ifdef HAVE_MEMCPY
1411
 
# define memmove memcpy
1412
 
#endif
1413
 
#endif
1414
 
 
1415
 
#ifndef HAVE_BCOPY
1416
 
#ifdef HAVE_MEMCPY
1417
 
# define bcopy(s, d, n) memcpy ((d), (s), (n))
1418
 
# define bzero(p,n) memset((p),(0),(n))
1419
 
# define bcmp memcmp
1420
 
#endif
1421
 
#endif
1422
 
 
1423
 
/* If you have openssl 0.9.7 or above, you likely have AES support. */
1424
 
#undef USE_OPENSSL
1425
 
#if defined(USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB128_ENCRYPT)
1426
 
#define HAVE_AES 1
1427
 
#endif
1428
 
 
1429
 
/* define random functions */
1430
 
 
1431
 
#ifndef HAVE_RANDOM
1432
 
#ifdef HAVE_LRAND48
1433
 
#define random lrand48
1434
 
#define srandom(s) srand48(s)
1435
 
#else
1436
 
#ifdef HAVE_RAND
1437
 
#define random rand
1438
 
#define srandom(s) srand(s)
1439
 
#endif
1440
 
#endif
1441
 
#endif
1442
 
 
1443
 
/* define signal if DNE */
1444
 
 
1445
 
#ifndef HAVE_SIGNAL
1446
 
#ifdef HAVE_SIGSET
1447
 
#define signal(a,b) sigset(a,b)
1448
 
#endif
1449
 
#endif
1450
 
 
1451
 
/* define if you have librpm and libdb */
1452
 
#undef HAVE_LIBDB
1453
 
#undef HAVE_LIBRPM
1454
 
 
1455
 
/* define if you have pkginfo */
1456
 
#undef HAVE_PKGINFO
1457
 
 
1458
 
/* define if you have gethostbyname */
1459
 
#undef HAVE_GETHOSTBYNAME
1460
 
 
1461
 
/* define if you have getservbyname */
1462
 
#undef HAVE_GETSERVBYNAME
1463
 
 
1464
 
/* printing system */
1465
 
#undef HAVE_LPSTAT
1466
 
#undef LPSTAT_PATH
1467
 
#undef HAVE_PRINTCAP
 
1602
#define NETSNMP_CONFIGURE_OPTIONS ""
1468
1603
 
1469
1604
/*  Pluggable transports.  */
1470
1605
 
1471
1606
/*  This is defined if support for the UDP/IP transport domain is
1472
1607
    available.   */
1473
 
#undef SNMP_TRANSPORT_UDP_DOMAIN
 
1608
#undef NETSNMP_TRANSPORT_UDP_DOMAIN
1474
1609
 
1475
1610
/*  This is defined if support for the "callback" transport domain is
1476
1611
    available.   */
1477
 
#undef SNMP_TRANSPORT_CALLBACK_DOMAIN
 
1612
#undef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
1478
1613
 
1479
1614
/*  This is defined if support for the TCP/IP transport domain is
1480
1615
    available.  */
1481
 
#undef SNMP_TRANSPORT_TCP_DOMAIN
 
1616
#undef NETSNMP_TRANSPORT_TCP_DOMAIN
1482
1617
 
1483
1618
/*  This is defined if support for the Unix transport domain
1484
1619
    (a.k.a. "local IPC") is available.  */
1485
 
#undef SNMP_TRANSPORT_UNIX_DOMAIN
 
1620
#undef NETSNMP_TRANSPORT_UNIX_DOMAIN
1486
1621
 
1487
1622
/*  This is defined if support for the AAL5 PVC transport domain is
1488
1623
    available.  */
1489
 
#undef SNMP_TRANSPORT_AAL5PVC_DOMAIN
 
1624
#undef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
1490
1625
 
1491
1626
/*  This is defined if support for the IPX transport domain is
1492
1627
    available.  */
1493
 
#undef SNMP_TRANSPORT_IPX_DOMAIN
 
1628
#undef NETSNMP_TRANSPORT_IPX_DOMAIN
1494
1629
 
1495
1630
/*  This is defined if support for the UDP/IPv6 transport domain is
1496
1631
    available.  */
1497
 
#undef SNMP_TRANSPORT_UDPIPV6_DOMAIN
 
1632
#undef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
1498
1633
 
1499
1634
/*  This is defined if support for the TCP/IPv6 transport domain is
1500
1635
    available.  */
1501
 
#undef SNMP_TRANSPORT_TCPIPV6_DOMAIN
 
1636
#undef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
1502
1637
 
1503
1638
/*  This is defined if support for the UDP/IP transport domain is
1504
1639
    available.   */
1505
 
#undef SNMP_TRANSPORT_TLS_DOMAIN
 
1640
#undef NETSNMP_TRANSPORT_TLS_DOMAIN
1506
1641
 
1507
1642
/*  This is defined if support for stdin/out transport domain is available.   */
1508
 
#undef SNMP_TRANSPORT_STD_DOMAIN
 
1643
#undef NETSNMP_TRANSPORT_STD_DOMAIN
1509
1644
 
1510
1645
/* define this if the USM security module is available */
1511
 
#undef SNMP_SECMOD_USM
 
1646
#undef NETSNMP_SECMOD_USM
1512
1647
 
1513
1648
/* define this if the KSM (kerberos based snmp) security module is available */
1514
 
#undef SNMP_SECMOD_KSM
 
1649
#undef NETSNMP_SECMOD_KSM
1515
1650
 
1516
1651
/* define this if the local security module is available */
1517
 
#undef SNMP_SECMOD_LOCALSM
1518
 
 
1519
 
/* define this if we're using the new MIT crypto API */
1520
 
#undef MIT_NEW_CRYPTO
 
1652
#undef NETSNMP_SECMOD_LOCALSM
1521
1653
 
1522
1654
/* define if you want to build with reentrant/threaded code (incomplete)*/
1523
 
#undef NS_REENTRANT
 
1655
#undef NETSNMP_REENTRANT
 
1656
 
 
1657
/* define if configured as a "mini-agent" */
 
1658
#undef NETSNMP_MINI_AGENT
 
1659
 
 
1660
/* define if you are embedding perl in the main agent */
 
1661
#undef NETSNMP_EMBEDDED_PERL
1524
1662
 
1525
1663
/* define if you want to build MFD module rewrites*/
1526
1664
#undef NETSNMP_ENABLE_MFD_REWRITES
1527
1665
 
1528
 
/* on aix, if you have perfstat */
1529
 
#undef HAVE_PERFSTAT
 
1666
/* this is the location of the net-snmp mib tree.  It shouldn't be
 
1667
   changed, as the places it is used are expected to be constant
 
1668
   values or are directly tied to the UCD-SNMP-MIB. */
 
1669
#define NETSNMP_OID             8072
 
1670
#define NETSNMP_MIB             1,3,6,1,4,1,8072
 
1671
#define NETSNMP_DOT_MIB         1.3.6.1.4.1.8072
 
1672
#define NETSNMP_DOT_MIB_LENGTH  7
1530
1673
 
1531
 
/* Not-to-be-compiled macros for use by configure only */
1532
 
#define config_require(x)
1533
 
#define config_exclude(x)
1534
 
#define config_arch_require(x,y)
1535
 
#define config_parse_dot_conf(w,x,y,z)
1536
 
#define config_add_mib(x)
1537
 
#define config_belongs_in(x)
1538
 
  
1539
 
#if defined (WIN32) || defined (mingw32) || defined (cygwin)
1540
 
#define ENV_SEPARATOR ";"
1541
 
#define ENV_SEPARATOR_CHAR ';'
1542
 
#else
1543
 
#define ENV_SEPARATOR ":"
1544
 
#define ENV_SEPARATOR_CHAR ':'
1545
 
#endif
 
1674
/* pattern for temporary file names */
 
1675
#define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
1546
1676
 
1547
1677
/*
1548
1678
 * this must be before the system/machine includes, to allow them to
1574
1704
 *    static NETSNMP_INLINE function(int parm) { return parm -1; }
1575
1705
 *
1576
1706
 */
1577
 
#undef NETSNMP_BROKEN_INLINE
1578
1707
#ifdef NETSNMP_BROKEN_INLINE
1579
1708
#   define NETSNMP_ENABLE_INLINE 0
1580
1709
#else
1581
1710
#   define NETSNMP_ENABLE_INLINE 1
1582
1711
#endif
1583
1712
 
1584
 
#include SYSTEM_INCLUDE_FILE
1585
 
#include MACHINE_INCLUDE_FILE
 
1713
#include NETSNMP_SYSTEM_INCLUDE_FILE
 
1714
#include NETSNMP_MACHINE_INCLUDE_FILE
1586
1715
 
1587
1716
#if NETSNMP_ENABLE_INLINE && !defined(NETSNMP_NO_INLINE)
1588
1717
#   define NETSNMP_USE_INLINE 1
1601
1730
#  define NETSNMP_IMPORT extern
1602
1731
#endif
1603
1732
 
1604
 
#if defined(HAVE_NLIST) && defined(STRUCT_NLIST_HAS_N_VALUE) && !defined(DONT_USE_NLIST) && !defined(NO_KMEM_USAGE)
1605
 
#define CAN_USE_NLIST
1606
 
#endif
1607
 
 
1608
 
#if HAVE_DMALLOC_H
1609
 
#define DMALLOC_FUNC_CHECK
1610
 
#endif
1611
 
 
1612
 
#undef INET6
1613
 
#undef LOCAL_SMUX
 
1733
/* define if you want to enable IPv6 support */
 
1734
#undef NETSNMP_ENABLE_IPV6
 
1735
 
 
1736
/* define if you want to restrict SMUX connections to localhost by default */
 
1737
#undef NETSNMP_ENABLE_LOCAL_SMUX
1614
1738
 
1615
1739
/* define if agentx transport is to use domain sockets only */
1616
 
#undef AGENTX_DOM_SOCK_ONLY
 
1740
#undef NETSNMP_AGENTX_DOM_SOCK_ONLY
1617
1741
 
1618
1742
/* define if you do not want snmptrapd to register as an AgentX subagent */
1619
 
#undef SNMPTRAPD_DISABLE_AGENTX
1620
 
 
1621
 
#undef HEIMDAL
 
1743
#undef NETSNMP_SNMPTRAPD_DISABLE_AGENTX
 
1744
 
 
1745
/* define this if we're using the new MIT crypto API */
 
1746
#undef NETSNMP_USE_KERBEROS_MIT
 
1747
 
 
1748
/* define this if you're using Heimdal Kerberos */
 
1749
#undef NETSNMP_USE_KERBEROS_HEIMDAL
 
1750
 
 
1751
/* comment the next line if you are compiling with libsnmp.h 
 
1752
   and are not using the UC-Davis SNMP library. */
 
1753
#define UCD_SNMP_LIBRARY 1
 
1754
 
 
1755
/* add in recent CMU library extensions (not complete) */
 
1756
#undef CMU_COMPATIBLE
 
1757
 
 
1758
/* final conclusion on nlist usage */
 
1759
#if defined(HAVE_NLIST) && defined(STRUCT_NLIST_HAS_N_VALUE) && !defined(NETSNMP_DONT_USE_NLIST) && !defined(NETSNMP_NO_KMEM_USAGE)
 
1760
#define NETSNMP_CAN_USE_NLIST
 
1761
#endif
 
1762
 
 
1763
 
 
1764
/* ********* NETSNMP_MARK_BEGIN_LEGACY_DEFINITIONS *********/
 
1765
/* 
 
1766
 * existing definitions prior to Net-SNMP 5.4
 
1767
 *
 
1768
 * do not add anything new here
 
1769
 *
 
1770
 */
 
1771
 
 
1772
#ifndef NETSNMP_NO_LEGACY_DEFINITIONS
 
1773
 
 
1774
#ifdef NETSNMP_DEFAULT_SNMP_VERSION
 
1775
# define DEFAULT_SNMP_VERSION NETSNMP_DEFAULT_SNMP_VERSION
 
1776
#endif
 
1777
 
 
1778
#ifdef NETSNMP_SNMPV1
 
1779
# define SNMPV1 NETSNMP_SNMPV1
 
1780
#endif
 
1781
 
 
1782
#ifdef NETSNMP_SNMPV2ANY
 
1783
# define SNMPV2ANY NETSNMP_SNMPV2ANY
 
1784
#endif
 
1785
 
 
1786
#ifdef NETSNMP_SNMPV2AUTH
 
1787
# define SNMPV2AUTH NETSNMP_SNMPV2AUTH
 
1788
#endif
 
1789
 
 
1790
#ifdef NETSNMP_DEFAULT_MIBS
 
1791
# define DEFAULT_MIBS NETSNMP_DEFAULT_MIBS
 
1792
#endif
 
1793
 
 
1794
#ifdef NETSNMP_DEFAULT_MIBDIRS
 
1795
# define DEFAULT_MIBDIRS NETSNMP_DEFAULT_MIBDIRS
 
1796
#endif
 
1797
 
 
1798
#ifdef NETSNMP_DEFAULT_MIBFILES
 
1799
# define DEFAULT_MIBFILES NETSNMP_DEFAULT_MIBFILES
 
1800
#endif
 
1801
 
 
1802
#ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
 
1803
# define OPAQUE_SPECIAL_TYPES NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
 
1804
#endif
 
1805
 
 
1806
#ifdef NETSNMP_ENABLE_SCAPI_AUTHPRIV
 
1807
# define SCAPI_AUTHPRIV NETSNMP_ENABLE_SCAPI_AUTHPRIV
 
1808
#endif
 
1809
 
 
1810
#ifdef NETSNMP_USE_INTERNAL_MD5
 
1811
# define USE_INTERNAL_MD5 NETSNMP_USE_INTERNAL_MD5
 
1812
#endif
 
1813
 
 
1814
#ifdef NETSNMP_USE_PKCS11
 
1815
# define USE_PKCS NETSNMP_USE_PKCS11
 
1816
#endif
 
1817
 
 
1818
#ifdef NETSNMP_USE_OPENSSL
 
1819
# define USE_OPENSSL NETSNMP_USE_OPENSSL
 
1820
#endif
 
1821
 
 
1822
#ifdef NETSNMP_NO_DEBUGGING
 
1823
# define SNMP_NO_DEBUGGING NETSNMP_NO_DEBUGGING
 
1824
#endif
 
1825
 
 
1826
#ifdef NETSNMP_ALWAYS_DEBUG
 
1827
# define SNMP_ALWAYS_DEBUG NETSNMP_ALWAYS_DEBUG
 
1828
#endif
 
1829
 
 
1830
#ifdef NETSNMP_USE_REVERSE_ASNENCODING
 
1831
# define USE_REVERSE_ASNENCODING NETSNMP_USE_REVERSE_ASNENCODING
 
1832
#endif
 
1833
#ifdef NETSNMP_DEFAULT_ASNENCODING_DIRECTION
 
1834
# define DEFAULT_ASNENCODING_DIRECTION NETSNMP_DEFAULT_ASNENCODING_DIRECTION
 
1835
#endif
 
1836
 
 
1837
#define PERSISTENT_DIRECTORY NETSNMP_PERSISTENT_DIRECTORY
 
1838
#define PERSISTENT_MASK NETSNMP_PERSISTENT_MASK
 
1839
#define AGENT_DIRECTORY_MODE NETSNMP_AGENT_DIRECTORY_MODE
 
1840
#define MAX_PERSISTENT_BACKUPS NETSNMP_MAX_PERSISTENT_BACKUPS
 
1841
#define SYSTEM_INCLUDE_FILE NETSNMP_SYSTEM_INCLUDE_FILE
 
1842
#define MACHINE_INCLUDE_FILE NETSNMP_MACHINE_INCLUDE_FILE
 
1843
 
 
1844
#ifdef NETSNMP_DEFAULT_SERVER_SEND_BUF
 
1845
# define DEFAULT_SERVER_SEND_BUF NETSNMP_DEFAULT_SERVER_SEND_BUF
 
1846
#endif
 
1847
#ifdef NETSNMP_DEFAULT_SERVER_RECV_BUF
 
1848
# define DEFAULT_SERVER_RECV_BUF NETSNMP_DEFAULT_SERVER_RECV_BUF
 
1849
#endif
 
1850
#ifdef NETSNMP_DEFAULT_CLIENT_SEND_BUF
 
1851
# define DEFAULT_CLIENT_SEND_BUF NETSNMP_DEFAULT_CLIENT_SEND_BUF
 
1852
#endif
 
1853
#ifdef NETSNMP_DEFAULT_CLIENT_RECV_BUF
 
1854
# define DEFAULT_CLIENT_RECV_BUF NETSNMP_DEFAULT_CLIENT_RECV_BUF
 
1855
#endif
 
1856
 
 
1857
#ifdef NETSNMP_LOGFILE
 
1858
# define LOGFILE NETSNMP_LOGFILE
 
1859
#endif
 
1860
 
 
1861
#ifdef NETSNMP_SYS_CONTACT
 
1862
# define SYS_CONTACT NETSNMP_SYS_CONTACT
 
1863
#endif
 
1864
 
 
1865
#ifdef NETSNMP_SYS_LOC
 
1866
# define SYS_LOC NETSNMP_SYS_LOC
 
1867
#endif
 
1868
 
 
1869
#ifdef NETSNMP_USE_LIBWRAP
 
1870
# define USE_LIBWRAP NETSNMP_USE_LIBWRAP
 
1871
#endif
 
1872
 
 
1873
#ifdef NETSNMP_ENABLE_TESTING_CODE 
 
1874
# define SNMP_TESTING_CODE NETSNMP_ENABLE_TESTING_CODE
 
1875
#endif
 
1876
 
 
1877
#ifdef NETSNMP_NO_ROOT_ACCESS
 
1878
# define NO_ROOT_ACCESS NETSNMP_NO_ROOT_ACCESS
 
1879
#endif
 
1880
 
 
1881
#ifdef NETSNMP_NO_KMEM_USAGE
 
1882
# define NO_KMEM_USAGE NETSNMP_NO_KMEM_USAGE
 
1883
#endif
 
1884
 
 
1885
#ifdef NETSNMP_NO_DUMMY_VALUES
 
1886
# define NO_DUMMY_VALUES NETSNMP_NO_DUMMY_VALUES
 
1887
#endif
 
1888
 
 
1889
#define VERS_DESC     NETSNMP_VERS_DESC
 
1890
#define SYS_NAME      NETSNMP_SYS_NAME
 
1891
 
 
1892
#define PROCMIBNUM    NETSNMP_PROCMIBNUM
 
1893
#define SHELLMIBNUM   NETSNMP_SHELLMIBNUM
 
1894
#define MEMMIBNUM     NETSNMP_MEMMIBNUM
 
1895
#define DISKMIBNUM    NETSNMP_DISKMIBNUM
 
1896
 
 
1897
#define LOADAVEMIBNUM NETSNMP_LOADAVEMIBNUM
 
1898
#define VERSIONMIBNUM NETSNMP_VERSIONMIBNUM
 
1899
#define ERRORMIBNUM   NETSNMP_ERRORMIBNUM
 
1900
#define AGENTID       NETSNMP_AGENTID
 
1901
 
 
1902
#define HPUX9ID       NETSNMP_HPUX9ID
 
1903
#define SUNOS4ID      NETSNMP_SUNOS4ID
 
1904
#define SOLARISID     NETSNMP_SOLARISID
 
1905
#define OSFID         NETSNMP_OSFID
 
1906
#define ULTRIXID      NETSNMP_ULTRIXID
 
1907
#define HPUX10ID      NETSNMP_HPUX10ID
 
1908
#define NETBSD1ID     NETSNMP_NETBSD1ID
 
1909
#define FREEBSDID     NETSNMP_FREEBSDID
 
1910
#define IRIXID        NETSNMP_IRIXID
 
1911
#define LINUXID       NETSNMP_LINUXID
 
1912
#define BSDIID        NETSNMP_BSDIID
 
1913
#define OPENBSDID     NETSNMP_OPENBSDID
 
1914
#define WIN32ID       NETSNMP_WIN32ID
 
1915
#define HPUX11ID      NETSNMP_HPUX11ID
 
1916
#define AIXID         NETSNMP_AIXID
 
1917
#define MACOSXID      NETSNMP_MACOSXID
 
1918
#define UNKNOWNID     NETSNMP_UNKNOWNID
 
1919
 
 
1920
#define ENTERPRISE_OID            NETSNMP_ENTERPRISE_OID
 
1921
#define ENTERPRISE_MIB            NETSNMP_ENTERPRISE_MIB
 
1922
#define ENTERPRISE_DOT_MIB        NETSNMP_ENTERPRISE_DOT_MIB
 
1923
#define ENTERPRISE_DOT_MIB_LENGTH NETSNMP_ENTERPRISE_DOT_MIB_LENGTH
 
1924
 
 
1925
#define SYSTEM_MIB                NETSNMP_SYSTEM_MIB
 
1926
#define SYSTEM_DOT_MIB            NETSNMP_SYSTEM_DOT_MIB
 
1927
#define SYSTEM_DOT_MIB_LENGTH     NETSNMP_SYSTEM_DOT_MIB_LENGTH
 
1928
 
 
1929
#define NOTIFICATION_MIB            NETSNMP_NOTIFICATION_MIB    
 
1930
#define NOTIFICATION_DOT_MIB        NETSNMP_NOTIFICATION_DOT_MIB
 
1931
#define NOTIFICATION_DOT_MIB_LENGTH NETSNMP_NOTIFICATION_DOT_MIB_LENGTH
 
1932
 
 
1933
#define UCDAVIS_OID               NETSNMP_UCDAVIS_OID
 
1934
#define UCDAVIS_MIB               NETSNMP_UCDAVIS_MIB
 
1935
#define UCDAVIS_DOT_MIB           NETSNMP_UCDAVIS_DOT_MIB
 
1936
#define UCDAVIS_DOT_MIB_LENGTH    NETSNMP_UCDAVIS_DOT_MIB_LENGTH
 
1937
 
 
1938
#define ERRORTIMELENGTH NETSNMP_ERRORTIMELENGTH
 
1939
 
 
1940
#ifdef NETSNMP_PROCFIXCMD
 
1941
# define PROCFIXCMD NETSNMP_PROCFIXCMD
 
1942
#endif
 
1943
 
 
1944
#ifdef NETSNMP_EXECFIXCMD
 
1945
# define EXECFIXCMD NETSNMP_EXECFIXCMD
 
1946
#endif
 
1947
 
 
1948
#define EXCACHETIME  NETSNMP_EXCACHETIME
 
1949
#define CACHEFILE    NETSNMP_CACHEFILE
 
1950
#define MAXCACHESIZE NETSNMP_MAXCACHESIZE
 
1951
 
 
1952
#define DEFDISKMINIMUMSPACE NETSNMP_DEFDISKMINIMUMSPACE
 
1953
#define DEFMAXLOADAVE NETSNMP_DEFMAXLOADAVE
 
1954
#define MAXREADCOUNT NETSNMP_MAXREADCOUNT
 
1955
 
 
1956
#define SNMPBLOCK NETSNMP_SNMPBLOCK
 
1957
#define RESTARTSLEEP NETSNMP_RESTARTSLEEP
 
1958
 
 
1959
#define NUM_COMMUNITIES NETSNMP_NUM_COMMUNITIES
 
1960
 
 
1961
#ifdef NETSNMP_NO_ZEROLENGTH_COMMUNITY
 
1962
# define NO_ZEROLENGTH_COMMUNITY NETSNMP_NO_ZEROLENGTH_COMMUNITY
 
1963
#endif
 
1964
 
 
1965
#ifdef NETSNMP_EXIT_ON_BAD_KLREAD
 
1966
# define EXIT_ON_BAD_KLREAD NETSNMP_EXIT_ON_BAD_KLREAD
 
1967
#endif
 
1968
 
 
1969
#define LASTFIELD NETSNMP_LASTFIELD
 
1970
 
 
1971
#define CONFIGURE_OPTIONS NETSNMP_CONFIGURE_OPTIONS
 
1972
 
 
1973
#ifdef NETSNMP_TRANSPORT_UDP_DOMAIN
 
1974
# define SNMP_TRANSPORT_UDP_DOMAIN NETSNMP_TRANSPORT_UDP_DOMAIN
 
1975
#endif
 
1976
 
 
1977
#ifdef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
 
1978
# define SNMP_TRANSPORT_CALLBACK_DOMAIN NETSNMP_TRANSPORT_CALLBACK_DOMAIN
 
1979
#endif
 
1980
 
 
1981
#ifdef NETSNMP_TRANSPORT_TCP_DOMAIN
 
1982
# define SNMP_TRANSPORT_TCP_DOMAIN NETSNMP_TRANSPORT_TCP_DOMAIN
 
1983
#endif
 
1984
 
 
1985
#ifdef NETSNMP_TRANSPORT_UNIX_DOMAIN
 
1986
# define SNMP_TRANSPORT_UNIX_DOMAIN NETSNMP_TRANSPORT_UNIX_DOMAIN
 
1987
#endif
 
1988
 
 
1989
#ifdef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
 
1990
# define SNMP_TRANSPORT_AAL5PVC_DOMAIN NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
 
1991
#endif
 
1992
 
 
1993
#ifdef NETSNMP_TRANSPORT_IPX_DOMAIN
 
1994
# define SNMP_TRANSPORT_IPX_DOMAIN NETSNMP_TRANSPORT_IPX_DOMAIN
 
1995
#endif
 
1996
 
 
1997
#ifdef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
 
1998
# define SNMP_TRANSPORT_UDPIPV6_DOMAIN NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
 
1999
#endif
 
2000
 
 
2001
#ifdef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
 
2002
# define SNMP_TRANSPORT_TCPIPV6_DOMAIN NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
 
2003
#endif
 
2004
 
 
2005
#ifdef NETSNMP_TRANSPORT_TLS_DOMAIN
 
2006
# define SNMP_TRANSPORT_TLS_DOMAIN NETSNMP_TRANSPORT_TLS_DOMAIN
 
2007
#endif
 
2008
 
 
2009
#ifdef NETSNMP_TRANSPORT_STD_DOMAIN
 
2010
# define SNMP_TRANSPORT_STD_DOMAIN NETSNMP_TRANSPORT_STD_DOMAIN
 
2011
#endif
 
2012
 
 
2013
#ifdef NETSNMP_SECMOD_USM
 
2014
# define SNMP_SECMOD_USM NETSNMP_SECMOD_USM
 
2015
#endif
 
2016
 
 
2017
#ifdef NETSNMP_SECMOD_KSM
 
2018
# define SNMP_SECMOD_KSM NETSNMP_SECMOD_KSM
 
2019
#endif
 
2020
 
 
2021
#ifdef NETSNMP_SECMOD_LOCALSM 
 
2022
# define SNMP_SECMOD_LOCALSM NETSNMP_SECMOD_LOCALSM
 
2023
#endif
 
2024
 
 
2025
#ifdef NETSNMP_REENTRANT
 
2026
# define NS_REENTRANT NETSNMP_REENTRANT
 
2027
#endif
 
2028
 
 
2029
#ifdef NETSNMP_ENABLE_IPV6
 
2030
# define INET6 NETSNMP_ENABLE_IPV6
 
2031
#endif
 
2032
 
 
2033
#ifdef NETSNMP_ENABLE_LOCAL_SMUX
 
2034
# define LOCAL_SMUX NETSNMP_ENABLE_LOCAL_SMUX
 
2035
#endif
 
2036
 
 
2037
#ifdef NETSNMP_AGENTX_DOM_SOCK_ONLY
 
2038
# define AGENTX_DOM_SOCK_ONLY NETSNMP_AGENTX_DOM_SOCK_ONLY
 
2039
#endif
 
2040
 
 
2041
#ifdef NETSNMP_SNMPTRAPD_DISABLE_AGENTX
 
2042
# define SNMPTRAPD_DISABLE_AGENTX
 
2043
#endif
 
2044
 
 
2045
#ifdef NETSNMP_USE_KERBEROS_MIT
 
2046
# define MIT_NEW_CRYPTO NETSNMP_USE_KERBEROS_MIT
 
2047
#endif
 
2048
 
 
2049
#ifdef NETSNMP_USE_KERBEROS_HEIMDAL
 
2050
# define HEIMDAL NETSNMP_USE_KERBEROS_HEIMDAL
 
2051
#endif
 
2052
 
 
2053
#ifdef NETSNMP_AGENTX_SOCKET
 
2054
# define AGENTX_SOCKET NETSNMP_AGENTX_SOCKET
 
2055
#endif
 
2056
 
 
2057
#ifdef NETSNMP_DISABLE_MIB_LOADING
 
2058
# define DISABLE_MIB_LOADING NETSNMP_DISABLE_MIB_LOADING
 
2059
#endif
 
2060
 
 
2061
#ifdef NETSNMP_DISABLE_SNMPV1
 
2062
# define DISABLE_SNMPV1 NETSNMP_DISABLE_SNMPV1
 
2063
#endif
 
2064
 
 
2065
#ifdef NETSNMP_DISABLE_SNMPV2C
 
2066
# define DISABLE_SNMPV2C NETSNMP_DISABLE_SNMPV2C
 
2067
#endif
 
2068
 
 
2069
#ifdef NETSNMP_DISABLE_SET_SUPPORT
 
2070
# define DISABLE_SET_SUPPORT NETSNMP_DISABLE_SET_SUPPORT
 
2071
#endif
 
2072
 
 
2073
#ifdef NETSNMP_DISABLE_DES
 
2074
# define DISABLE_DES NETSNMP_DISABLE_DES
 
2075
#endif
 
2076
 
 
2077
#ifdef NETSNMP_DISABLE_MD5
 
2078
# define DISABLE_MD5 NETSNMP_DISABLE_MD5
 
2079
#endif
 
2080
 
 
2081
#ifdef NETSNMP_DONT_USE_NLIST
 
2082
# define DONT_USE_NLIST NETSNMP_DONT_USE_NLIST
 
2083
#endif
 
2084
 
 
2085
#ifdef NETSNMP_CAN_USE_NLIST
 
2086
# define CAN_USE_NLIST NETSNMP_CAN_USE_NLIST
 
2087
#endif
 
2088
 
 
2089
#ifdef NETSNMP_CAN_USE_SYSCTL
 
2090
# define CAN_USE_SYSCTL NETSNMP_CAN_USE_SYSCTL
 
2091
#endif
 
2092
 
 
2093
#endif /* NETSNMP_NO_LEGACY_DEFINITIONS */
 
2094
 
1622
2095
 
1623
2096
#endif /* NET_SNMP_CONFIG_H */