~ubuntu-branches/ubuntu/edgy/net-snmp/edgy-updates

« back to all changes in this revision

Viewing changes to win32/net-snmp/net-snmp-config.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-03-31 04:21:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050331042137-z0vw1grslj6cek9k
Tags: 5.1.2-6ubuntu2
Apply safe-but-hackish patch by Henrique de Moraes Holschuh to
fix the libdir in libsnmp5-dev's .la files (Ubuntu bug #8393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* config.h:  a general config file */
 
1
/* include/net-snmp/net-snmp-config.h.in.  Generated from configure.in by autoheader.  */
 
2
/* modified by hand with care. */
 
3
 
2
4
#ifndef NET_SNMP_CONFIG_H
3
5
#define NET_SNMP_CONFIG_H
4
6
 
5
 
#ifdef __cplusplus
6
 
extern "C" {
7
 
#endif
 
7
#define INSTALL_BASE "c:/usr"
 
8
 
 
9
/* config.h:  a general config file */
8
10
 
9
11
/* Default (SNMP) version number for the tools to use */
10
12
#define DEFAULT_SNMP_VERSION 3
15
17
#define SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
16
18
 
17
19
/* default list of mibs to load */
 
20
 
18
21
#define DEFAULT_MIBS "IP-MIB;IF-MIB;TCP-MIB;UDP-MIB;SNMPv2-MIB;RFC1213-MIB;UCD-SNMP-MIB;UCD-DEMO-MIB;SNMP-TARGET-MIB;SNMP-VIEW-BASED-ACM-MIB;SNMP-COMMUNITY-MIB;UCD-DLMOD-MIB;SNMP-FRAMEWORK-MIB;SNMP-MPD-MIB;SNMP-USER-BASED-SM-MIB;SNMP-NOTIFICATION-MIB;SNMPv2-TM"
19
22
 
20
 
 
21
 
#define INSTALL_BASE "c:/usr"
22
 
 
23
23
/* default location to look for mibs to load using the above tokens
24
24
   and/or those in the MIBS envrionment variable*/
25
25
#define DEFAULT_MIBDIRS INSTALL_BASE ## "/share/snmp/mibs"
26
26
 
27
27
/* default mib files to load, specified by path. */
28
 
#undef DEFAULT_MIBFILES
 
28
/* #undef DEFAULT_MIBFILES */
29
29
 
30
30
/* should we compile to use special opaque types: float, double,
31
31
   counter64, i64, ui64, union? */
39
39
   privacy support. */
40
40
#define SCAPI_AUTHPRIV 1
41
41
 
42
 
/* If you have openssl 0.9.7 or above, you likely have AES support. */
43
 
#undef USE_OPENSSL
44
 
 
45
 
#ifdef USE_OPENSSL
46
 
/* Define to 1 if you have the <openssl/aes.h> header file. */
47
 
#define HAVE_OPENSSL_AES_H 1
48
 
 
49
 
/* Define to 1 if you have the <openssl/des.h> header file. */
50
 
#define HAVE_OPENSSL_DES_H 1
51
 
 
52
 
/* Define to 1 if you have the <openssl/evp.h> header file. */
53
 
#define HAVE_OPENSSL_EVP_H 1
54
 
 
55
 
/* Define to 1 if you have the <openssl/hmac.h> header file. */
56
 
#define HAVE_OPENSSL_HMAC_H 1
57
 
 
58
 
#else /* ! USE_OPENSSL */
59
 
 
60
 
/* define if you are using the internal MD5 code */
61
 
#define USE_INTERNAL_MD5 1
62
 
 
63
 
#endif /* ! USE_OPENSSL */
 
42
/* XXX do not modify. change the USE_OPENSSL define instead */
 
43
/* define if you are using the MD5 code ...*/
 
44
/* #undef USE_INTERNAL_MD5 */
 
45
 
 
46
/* define if you are using the codeS11 library ...*/
 
47
/* #undef USE_PKCS */
64
48
 
65
49
/* add in recent CMU library extensions (not complete) */
66
 
#define CMU_COMPATIBLE 1
 
50
/* #undef CMU_COMPATIBLE */
67
51
 
68
52
/* add in recent resource lock functions (not complete) */
69
 
#undef _REENTRANT
70
 
 
71
 
/* define to 1 if you do not want to set global snmp_errno */
72
 
#define DONT_SHARE_ERROR_WITH_OTHER_THREADS 1
73
 
 
74
 
/* Define NETSNMP_USE_DLL when building or using netsnmp.DLL */
75
 
#undef NETSNMP_USE_DLL
 
53
/* #undef _REENTRANT */
76
54
 
77
55
/* debugging stuff */
78
56
/* if defined, we optimize the code to exclude all debugging calls. */
79
 
#undef SNMP_NO_DEBUGGING
 
57
/* #undef SNMP_NO_DEBUGGING */
80
58
/* ignore the -D flag and always print debugging information */
81
59
#define SNMP_ALWAYS_DEBUG 0
82
60
 
90
68
#define PERSISTENT_DIRECTORY INSTALL_BASE ## "/snmp/persist"
91
69
 
92
70
/* PERSISTENT_MASK: the umask permissions to set up persistent files with */
93
 
/* Win32 has no umask ...  #define PERSISTENT_MASK 077 */
 
71
/* XXX no win32 umask #define PERSISTENT_MASK 077 */
94
72
 
95
73
/* AGENT_DIRECTORY_MODE: the mode the agents should use to create
96
74
   directories with. Since the data stored here is probably sensitive, it
106
84
 
107
85
 
108
86
/* define if you are embedding perl in the main agent */
109
 
#undef NETSNMP_EMBEDDED_PERL
 
87
/* #undef NETSNMP_EMBEDDED_PERL */
110
88
 
 
89
#if notused
111
90
/* define the system type include file here */
112
 
#undef SYSTEM_INCLUDE_FILE
 
91
#define SYSTEM_INCLUDE_FILE <net-snmp/system/generic.h>
113
92
 
114
93
/* define the machine (cpu) type include file here */
115
 
#undef MACHINE_INCLUDE_FILE
 
94
#define MACHINE_INCLUDE_FILE <net-snmp/machine/generic.h>
 
95
#endif
116
96
 
117
97
/* SNMPLIBDIR contains important files */
118
98
 
119
 
#define SNMPDLMODPATH INSTALL_BASE ## "/lib/dlmod"
120
99
#define SNMPLIBPATH INSTALL_BASE ## "/lib"
121
100
#define SNMPSHAREPATH INSTALL_BASE ## "/share/snmp"
122
101
#define SNMPCONFPATH INSTALL_BASE ## "/etc/snmp"
 
102
#define SNMPDLMODPATH INSTALL_BASE ## "/lib/dlmod"
123
103
 
124
104
/* LOGFILE:  If defined it closes stdout/err/in and opens this in out/err's
125
105
   place.  (stdin is closed so that sh scripts won't wait for it) */
126
 
#undef LOGFILE
 
106
/* #undef LOGFILE */
127
107
 
128
108
/* default system contact */
129
109
#define SYS_CONTACT "unknown"
132
112
#define SYS_LOC "unknown"
133
113
 
134
114
/* Use libwrap to handle allow/deny hosts? */
135
 
#undef USE_LIBWRAP
 
115
/* #undef USE_LIBWRAP */
136
116
 
137
117
/* Use dmalloc to do malloc debugging? */
138
 
#undef HAVE_DMALLOC_H
 
118
/* #undef HAVE_DMALLOC_H */
139
119
 
140
120
/* location of UNIX kernel */
141
121
#define KERNEL_LOC "unknown"
144
124
#define ETC_MNTTAB "unknown"
145
125
 
146
126
/* location of swap device (ok if not found) */
147
 
#undef DMEM_LOC
 
127
/* #undef DMEM_LOC */
148
128
 
 
129
/* Command to generate ps output, the final column must be the process
 
130
   name withOUT arguments */
149
131
#define PSCMD "/bin/ps"
150
132
 
151
133
/* Where is the uname command */
158
140
/* #undef SNMP_TESTING_CODE */
159
141
 
160
142
/* If you don't have root access don't exit upon kmem errors */
161
 
#undef NO_ROOT_ACCESS
 
143
/* #undef NO_ROOT_ACCESS */
 
144
 
 
145
/* If we don't want to use kmem. */
 
146
/* #undef NO_KMEM_USAGE */
162
147
 
163
148
/* If you don't want the agent to report on variables it doesn't have data for */
164
 
/* #undef NO_DUMMY_VALUES */
 
149
#define NO_DUMMY_VALUES 1
 
150
 
 
151
/* Define if statfs takes 2 args and the second argument has
 
152
   type struct fs_data. [Ultrix] */
 
153
/* #undef STAT_STATFS_FS_DATA */
 
154
 
 
155
/* Define if the TCP timer constants in <netinet/tcp_timer.h>
 
156
   depend on the integer variable `hz'.  [FreeBSD 4.x] */
 
157
/* #undef TCPTV_NEEDS_HZ */
165
158
 
166
159
 
167
160
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
168
 
   systems.  This function is required for `alloca.c' support on those systems.
 
161
   systems. This function is required for `alloca.c' support on those systems.
169
162
   */
170
 
#undef CRAY_STACKSEG_END
171
 
 
172
 
/* Define to 1 if using `alloca.c'.  */
173
 
#undef C_ALLOCA
 
163
/* #undef CRAY_STACKSEG_END */
 
164
 
 
165
/* Define to 1 if using `alloca.c'. */
 
166
/* #undef C_ALLOCA */
 
167
 
 
168
/* Define if DES encryption should not be supported */
 
169
/* #undef DISABLE_DES */
 
170
 
 
171
/* Define if MD5 authentication should not be supported */
 
172
/* #undef DISABLE_MD5 */
174
173
 
175
174
/* Define if mib loading and parsing code should not be included */
176
 
#undef DISABLE_MIB_LOADING
 
175
/* #undef DISABLE_MIB_LOADING */
 
176
 
 
177
/* Define if SNMPv1 code should not be included */
 
178
/* #undef DISABLE_SNMPV1 */
 
179
 
 
180
/* Define if SNMPv2c code should not be included */
 
181
/* #undef DISABLE_SNMPV2C */
177
182
 
178
183
/* Define to 1 if you have the `AES_cfb128_encrypt' function. */
179
 
#undef HAVE_AES_CFB128_ENCRYPT
180
 
 
181
 
/* Define to 1 if you have `alloca', as a function or macro.  */
182
 
#undef HAVE_ALLOCA
183
 
 
184
 
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).  */
185
 
#undef HAVE_ALLOCA_H
186
 
 
187
 
/* Define if you have the getmntent function.  */
188
 
#undef HAVE_GETMNTENT
189
 
 
190
 
/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
191
 
#undef HAVE_SYS_WAIT_H
192
 
 
193
 
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
194
 
   if it is not supported. */
195
 
#define inline __inline
196
 
 
197
 
/* Define to `long' if <sys/types.h> doesn't define.  */
198
 
#undef off_t
199
 
 
200
 
/* Define to `int' if <sys/types.h> doesn't define.  */
201
 
#undef pid_t
202
 
 
203
 
/* Define as the return type of signal handlers (int or void).  */
204
 
#define RETSIGTYPE void
205
 
 
206
 
/* Define if you have raise() instead of alarm() */
207
 
 
208
 
#define HAVE_RAISE 1
209
 
 
210
 
/* If using the C implementation of alloca, define if you know the
211
 
   direction of stack growth for your system; otherwise it will be
212
 
   automatically deduced at run-time.
213
 
 STACK_DIRECTION > 0 => grows toward higher addresses
214
 
 STACK_DIRECTION < 0 => grows toward lower addresses
215
 
 STACK_DIRECTION = 0 => direction of growth unknown
216
 
 */
217
 
#undef STACK_DIRECTION
218
 
 
219
 
/* Define if you have the ANSI C header files.  */
220
 
#define STDC_HEADERS 1
221
 
 
222
 
/* Define if you can safely include both <sys/time.h> and <time.h>.  */
223
 
#define TIME_WITH_SYS_TIME 1
224
 
 
225
 
/* Define if you have the gettimeofday function.  */
226
 
#undef HAVE_GETTIMEOFDAY
227
 
 
228
 
/* Define if your processor stores words with the most significant
229
 
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
230
 
#undef WORDS_BIGENDIAN
231
 
 
232
 
/* SNMPPATH contains (more) important files */
233
 
 
234
 
#undef SNMPPATH
235
 
 
236
 
/* define rtentry to ortentry on SYSV machines (alphas) */
237
 
#define RTENTRY rtentry;
238
 
 
239
 
/* Use BSD 4.4 routing table entries? */
240
 
#undef RTENTRY_4_4
241
 
 
242
 
/* Does the rtentry structure have a rt_next node */
243
 
#undef RTENTRY_RT_NEXT
244
 
 
245
 
/* Define if you have the bcopy function.  */
246
 
#undef HAVE_BCOPY
247
 
 
248
 
/* Define if you have the gethostbyname function.  */
249
 
#define HAVE_GETHOSTBYNAME 1
250
 
 
251
 
/* Define if you have the gethostname function.  */
 
184
/* #undef HAVE_AES_CFB128_ENCRYPT */
 
185
 
 
186
/* Define to 1 if you have `alloca', as a function or macro. */
 
187
/* #undef HAVE_ALLOCA */
 
188
 
 
189
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
 
190
   */
 
191
/* #undef HAVE_ALLOCA_H */
 
192
 
 
193
/* Define to 1 if you have the <arpa/inet.h> header file. */
 
194
/* #undef HAVE_ARPA_INET_H */
 
195
 
 
196
/* Define to 1 if you have the <asm/page.h> header file. */
 
197
/* #undef HAVE_ASM_PAGE_H */
 
198
 
 
199
/* Define to 1 if you have the `bcopy' function. */
 
200
/* #undef HAVE_BCOPY */
 
201
 
 
202
/* Define to 1 if you have the `cgetnext' function. */
 
203
/* #undef HAVE_CGETNEXT */
 
204
 
 
205
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
 
206
   */
 
207
/* #undef HAVE_DIRENT_H */
 
208
 
 
209
/* Define to 1 if you have the <dlfcn.h> header file. */
 
210
/* #undef HAVE_DLFCN_H */
 
211
 
 
212
/* Define to 1 if you have the `dlopen' function. */
 
213
/* #undef HAVE_DLOPEN */
 
214
 
 
215
/* Define to 1 if you have the <err.h> header file. */
 
216
/* #undef HAVE_ERR_H */
 
217
 
 
218
/* Define to 1 if you have the `eval_pv' function. */
 
219
/* #undef HAVE_EVAL_PV */
 
220
 
 
221
/* Define to 1 if you have the `execv' function. */
 
222
/* #undef HAVE_EXECV */
 
223
 
 
224
/* Define to 1 if you have the <fcntl.h> header file. */
 
225
#define HAVE_FCNTL_H 1
 
226
 
 
227
/* Define to 1 if you have the `fork' function. */
 
228
/* #undef HAVE_FORK */
 
229
 
 
230
/* Define to 1 if you have the <fstab.h> header file. */
 
231
/* #undef HAVE_FSTAB_H */
 
232
 
 
233
/* Define to 1 if you have the `getaddrinfo' function. */
 
234
/* #undef HAVE_GETADDRINFO */
 
235
 
 
236
/* Define to 1 if you have the `getdtablesize' function. */
 
237
/* #undef HAVE_GETDTABLESIZE */
 
238
 
 
239
/* Define to 1 if you have the `getfsstat' function. */
 
240
/* #undef HAVE_GETFSSTAT */
 
241
 
 
242
/* Define to 1 if you have the `getgrnam' function. */
 
243
/* #undef HAVE_GETGRNAM */
 
244
 
 
245
/* Define to 1 if you have the `gethostname' function. */
252
246
#define HAVE_GETHOSTNAME 1
253
247
 
254
 
/* Define if you have the getloadavg function.  */
255
 
#undef HAVE_GETLOADAVG
256
 
 
257
 
/* Define if you have the getservbyname function.  */
258
 
#define HAVE_GETSERVBYNAME 1
259
 
 
260
 
/* Define if you have the setenv function.  */
261
 
#undef HAVE_SETENV
262
 
 
263
 
/* Define to 1 if you have the `setlocale' function. */
264
 
#define HAVE_SETLOCALE 1
265
 
 
266
 
/* Define if you have the strtoul function.  */
267
 
#define HAVE_STRTOUL 1
268
 
 
269
 
/* Define if you have the vsnprintf function.  */
270
 
#define HAVE_VSNPRINTF 1
271
 
#define HAVE_SNPRINTF 1
272
 
 
273
 
/* Define if you have the index function.  */
274
 
#undef HAVE_INDEX
275
 
 
276
 
/* Define if you have the kvm_openfiles function.  */
277
 
#undef HAVE_KVM_OPENFILES
 
248
/* Define to 1 if you have the `getipnodebyname' function. */
 
249
/* #undef HAVE_GETIPNODEBYNAME */
 
250
 
 
251
/* Define to 1 if you have the `getloadavg' function. */
 
252
/* #undef HAVE_GETLOADAVG */
 
253
 
 
254
/* Define to 1 if you have the `getmntent' function. */
 
255
/* #undef HAVE_GETMNTENT */
 
256
 
 
257
/* Define to 1 if you have the <getopt.h> header file. */
 
258
/* #undef HAVE_GETOPT_H */
 
259
 
 
260
/* Define to 1 if you have the `getpagesize' function. */
 
261
/* #undef HAVE_GETPAGESIZE */
 
262
 
 
263
/* Define to 1 if you have the `getpid' function. */
 
264
#define HAVE_GETPID 1
 
265
 
 
266
/* Define to 1 if you have the `getpwnam' function. */
 
267
/* #undef HAVE_GETPWNAM */
 
268
 
 
269
/* Define to 1 if you have the `gettimeofday' function. */
 
270
/* #undef HAVE_GETTIMEOFDAY */
 
271
 
 
272
/* Define to 1 if you have the <grp.h> header file. */
 
273
/* #undef HAVE_GRP_H */
 
274
 
 
275
/* Define to 1 if you have the `if_freenameindex' function. */
 
276
/* #undef HAVE_IF_FREENAMEINDEX */
 
277
 
 
278
/* Define to 1 if you have the `if_nameindex' function. */
 
279
/* #undef HAVE_IF_NAMEINDEX */
 
280
 
 
281
/* Define to 1 if you have the `index' function. */
 
282
/* #undef HAVE_INDEX */
 
283
 
 
284
/* Define to 1 if you have the <inet/mib2.h> header file. */
 
285
/* #undef HAVE_INET_MIB2_H */
 
286
 
 
287
/* Define to 1 if you have the <inttypes.h> header file. */
 
288
/* #undef HAVE_INTTYPES_H */
 
289
 
 
290
/* Define to 1 if you have the <ioctls.h> header file. */
 
291
/* #undef HAVE_IOCTLS_H */
 
292
 
 
293
/* Define to 1 if you have the <io.h> header file. */
 
294
#define HAVE_IO_H 1
 
295
 
 
296
/* Define to 1 if you have the `knlist' function. */
 
297
/* #undef HAVE_KNLIST */
 
298
 
 
299
/* Define to 1 if you have the <kstat.h> header file. */
 
300
/* #undef HAVE_KSTAT_H */
 
301
 
 
302
/* Define to 1 if you have the `kvm_getprocs' function. */
 
303
/* #undef HAVE_KVM_GETPROCS */
 
304
 
 
305
/* Define to 1 if you have the <kvm.h> header file. */
 
306
/* #undef HAVE_KVM_H */
 
307
 
 
308
/* Define to 1 if you have the `kvm_openfiles' function. */
 
309
/* #undef HAVE_KVM_OPENFILES */
 
310
 
 
311
/* Define to 1 if you have the `crypto' library (-lcrypto). */
 
312
/* #undef HAVE_LIBCRYPTO */
 
313
 
 
314
/* Define to 1 if you have the `dl' library (-ldl). */
 
315
/* #undef HAVE_LIBDL */
 
316
 
 
317
/* Define to 1 if you have the `efence' library (-lefence). */
 
318
/* #undef HAVE_LIBEFENCE */
 
319
 
 
320
/* Define to 1 if you have the `elf' library (-lelf). */
 
321
/* #undef HAVE_LIBELF */
 
322
 
 
323
/* Define to 1 if you have the `kstat' library (-lkstat). */
 
324
/* #undef HAVE_LIBKSTAT */
 
325
 
 
326
/* Define to 1 if you have the `kvm' library (-lkvm). */
 
327
/* #undef HAVE_LIBKVM */
 
328
 
 
329
/* Define to 1 if you have the `m' library (-lm). */
 
330
/* #undef HAVE_LIBM */
 
331
 
 
332
/* Define to 1 if you have the `mld' library (-lmld). */
 
333
/* #undef HAVE_LIBMLD */
 
334
 
 
335
/* Define to 1 if you have the `nsl' library (-lnsl). */
 
336
/* #undef HAVE_LIBNSL */
 
337
 
 
338
/* Define to 1 if you have the <libperfstat.h> header file. */
 
339
/* #undef HAVE_LIBPERFSTAT_H */
 
340
 
 
341
/* Define to 1 if you have the `pkcs11' library (-lpkcs11). */
 
342
/* #undef HAVE_LIBPKCS11 */
 
343
 
 
344
/* Define to 1 if you have the `RSAglue' library (-lRSAglue). */
 
345
/* #undef HAVE_LIBRSAGLUE */
 
346
 
 
347
/* Define to 1 if you have the `rsaref' library (-lrsaref). */
 
348
/* #undef HAVE_LIBRSAREF */
 
349
 
 
350
/* Define to 1 if you have the `sensors' library (-lsensors). */
 
351
/* #undef HAVE_LIBSENSORS */
 
352
 
 
353
/* Define to 1 if you have the `z' library (-lz). */
 
354
/* #undef HAVE_LIBZ */
 
355
 
 
356
/* Define to 1 if you have the <limits.h> header file. */
 
357
#define HAVE_LIMITS_H 1
 
358
 
 
359
/* Define to 1 if you have the <linux/hdreg.h> header file. */
 
360
/* #undef HAVE_LINUX_HDREG_H */
 
361
 
 
362
/* Define to 1 if you have the <linux/tasks.h> header file. */
 
363
/* #undef HAVE_LINUX_TASKS_H */
278
364
 
279
365
/* Define to 1 if you have the <locale.h> header file. */
280
366
#define HAVE_LOCALE_H 1
281
367
 
282
 
/* Define if you have the lrand48 function.  */
283
 
#undef HAVE_LRAND48
 
368
/* Define to 1 if you have the `lrand48' function. */
 
369
/* #undef HAVE_LRAND48 */
 
370
 
 
371
/* Define to 1 if you have the <machine/param.h> header file. */
 
372
/* #undef HAVE_MACHINE_PARAM_H */
 
373
 
 
374
/* Define to 1 if you have the <machine/pte.h> header file. */
 
375
/* #undef HAVE_MACHINE_PTE_H */
 
376
 
 
377
/* Define to 1 if you have the <machine/types.h> header file. */
 
378
/* #undef HAVE_MACHINE_TYPES_H */
284
379
 
285
380
/* Define to 1 if you have the <malloc.h> header file. */
286
381
#define HAVE_MALLOC_H 1
287
382
 
288
 
/* Define if you have the memcpy function.  */
 
383
/* Define to 1 if you have the `memcpy' function. */
289
384
#define HAVE_MEMCPY 1
290
385
 
291
 
/* Define if you have the memmove function.  */
 
386
/* Define to 1 if you have the `memmove' function. */
292
387
#define HAVE_MEMMOVE 1
293
388
 
294
389
/* Define to 1 if you have the <memory.h> header file. */
295
390
#define HAVE_MEMORY_H 1
296
391
 
297
 
/* Define if you have the rand function.  */
298
 
#define HAVE_RAND 1
299
 
 
300
 
/* Define if you have the random function.  */
301
 
#undef HAVE_RANDOM
302
 
 
303
 
/* Define if you have the select function.  */
304
 
#undef HAVE_SELECT
305
 
 
306
 
/* Define if you have the setmntent function.  */
307
 
#undef HAVE_SETMNTENT
308
 
 
309
 
/* Define if you have the sigblock function.  */
310
 
#undef HAVE_SIGBLOCK
311
 
 
312
 
/* Define if you have the sighold function.  */
313
 
#undef HAVE_SIGHOLD
314
 
 
315
 
/* Define if you have the signal function.  */
316
 
#undef HAVE_SIGNAL
317
 
 
318
 
/* Define if you have the sigset function.  */
319
 
#undef HAVE_SIGSET
320
 
 
321
 
/* Define if you have the socket function.  */
322
 
#define HAVE_SOCKET 1
323
 
 
324
 
/* Define if you have <winsock.h> header file. */
325
 
#define HAVE_WINSOCK_H 1
326
 
 
327
 
/* Define if you have the closesocket function.  */
328
 
#define HAVE_CLOSESOCKET 1
329
 
 
330
 
/* Define if you have the statfs function.  */
331
 
#undef HAVE_STATFS
332
 
 
333
 
/* Define if you have the statvfs function.  */
334
 
#undef HAVE_STATVFS
335
 
 
336
 
/* Define if you have the strchr function.  */
337
 
#define HAVE_STRCHR 1
338
 
 
339
 
/* Define if you have the strtol function.  */
340
 
#define HAVE_STRTOL 1
341
 
 
342
 
/* Define if you have the tcgetattr function.  */
343
 
#undef HAVE_TCGETATTR
344
 
 
345
 
/* Define if you have the uname function.  */
346
 
#undef HAVE_UNAME
347
 
 
348
 
/* Define if you have <io.h> header file. */
349
 
#define HAVE_IO_H 1
 
392
/* Define to 1 if you have the `mkstemp' function. */
 
393
/* #undef HAVE_MKSTEMP */
 
394
 
 
395
/* Define to 1 if you have the `mktime' function. */
 
396
/* #undef HAVE_MKTIME */
 
397
 
 
398
/* Define to 1 if you have the <mntent.h> header file. */
 
399
/* #undef HAVE_MNTENT_H */
 
400
 
 
401
/* Define to 1 if you have the <mtab.h> header file. */
 
402
/* #undef HAVE_MTAB_H */
 
403
 
 
404
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
 
405
/* #undef HAVE_NDIR_H */
 
406
 
 
407
/* Define to 1 if you have the <netdb.h> header file. */
 
408
/* #undef HAVE_NETDB_H */
 
409
 
 
410
/* Define to 1 if you have the <netinet6/in6_pcb.h> header file. */
 
411
/* #undef HAVE_NETINET6_IN6_PCB_H */
 
412
 
 
413
/* Define to 1 if you have the <netinet6/in6_var.h> header file. */
 
414
/* #undef HAVE_NETINET6_IN6_VAR_H */
 
415
 
 
416
/* Define to 1 if you have the <netinet6/ip6_var.h> header file. */
 
417
/* #undef HAVE_NETINET6_IP6_VAR_H */
 
418
 
 
419
/* Define to 1 if you have the <netinet6/nd6.h> header file. */
 
420
/* #undef HAVE_NETINET6_ND6_H */
 
421
 
 
422
/* Define to 1 if you have the <netinet6/tcp6_fsm.h> header file. */
 
423
/* #undef HAVE_NETINET6_TCP6_FSM_H */
 
424
 
 
425
/* Define to 1 if you have the <netinet6/tcp6.h> header file. */
 
426
/* #undef HAVE_NETINET6_TCP6_H */
 
427
 
 
428
/* Define to 1 if you have the <netinet6/tcp6_timer.h> header file. */
 
429
/* #undef HAVE_NETINET6_TCP6_TIMER_H */
 
430
 
 
431
/* Define to 1 if you have the <netinet6/tcp6_var.h> header file. */
 
432
/* #undef HAVE_NETINET6_TCP6_VAR_H */
 
433
 
 
434
/* Define to 1 if you have the <netinet/icmp_var.h> header file. */
 
435
/* #undef HAVE_NETINET_ICMP_VAR_H */
 
436
 
 
437
/* Define to 1 if you have the <netinet/if_ether.h> header file. */
 
438
/* #undef HAVE_NETINET_IF_ETHER_H */
 
439
 
 
440
/* Define to 1 if you have the <netinet/in.h> header file. */
 
441
/* #undef HAVE_NETINET_IN_H */
 
442
 
 
443
/* Define to 1 if you have the <netinet/in_systm.h> header file. */
 
444
/* #undef HAVE_NETINET_IN_SYSTM_H */
 
445
 
 
446
/* Define to 1 if you have the <netinet/in_var.h> header file. */
 
447
/* #undef HAVE_NETINET_IN_VAR_H */
 
448
 
 
449
/* Define to 1 if you have the <netinet/ip6.h> header file. */
 
450
/* #undef HAVE_NETINET_IP6_H */
 
451
 
 
452
/* Define to 1 if you have the <netinet/ip.h> header file. */
 
453
/* #undef HAVE_NETINET_IP_H */
 
454
 
 
455
/* Define to 1 if you have the <netinet/ip_icmp.h> header file. */
 
456
/* #undef HAVE_NETINET_IP_ICMP_H */
 
457
 
 
458
/* Define to 1 if you have the <netinet/ip_var.h> header file. */
 
459
/* #undef HAVE_NETINET_IP_VAR_H */
 
460
 
 
461
/* Define to 1 if you have the <netinet/tcpip.h> header file. */
 
462
/* #undef HAVE_NETINET_TCPIP_H */
 
463
 
 
464
/* Define to 1 if you have the <netinet/tcp_fsm.h> header file. */
 
465
/* #undef HAVE_NETINET_TCP_FSM_H */
 
466
 
 
467
/* Define to 1 if you have the <netinet/tcp.h> header file. */
 
468
/* #undef HAVE_NETINET_TCP_H */
 
469
 
 
470
/* Define to 1 if you have the <netinet/tcp_timer.h> header file. */
 
471
/* #undef HAVE_NETINET_TCP_TIMER_H */
 
472
 
 
473
/* Define to 1 if you have the <netinet/tcp_var.h> header file. */
 
474
/* #undef HAVE_NETINET_TCP_VAR_H */
 
475
 
 
476
/* Define to 1 if you have the <netinet/udp.h> header file. */
 
477
/* #undef HAVE_NETINET_UDP_H */
 
478
 
 
479
/* Define to 1 if you have the <netinet/udp_var.h> header file. */
 
480
/* #undef HAVE_NETINET_UDP_VAR_H */
 
481
 
 
482
/* Define to 1 if you have the <netipx/ipx.h> header file. */
 
483
/* #undef HAVE_NETIPX_IPX_H */
 
484
 
 
485
/* Define to 1 if you have the <net/if_dl.h> header file. */
 
486
/* #undef HAVE_NET_IF_DL_H */
 
487
 
 
488
/* Define to 1 if you have the <net/if.h> header file. */
 
489
/* #undef HAVE_NET_IF_H */
 
490
 
 
491
/* Define to 1 if you have the <net/if_mib.h> header file. */
 
492
/* #undef HAVE_NET_IF_MIB_H */
 
493
 
 
494
/* Define to 1 if you have the <net/if_types.h> header file. */
 
495
/* #undef HAVE_NET_IF_TYPES_H */
 
496
 
 
497
/* Define to 1 if you have the <net/if_var.h> header file. */
 
498
/* #undef HAVE_NET_IF_VAR_H */
 
499
 
 
500
/* Define to 1 if you have the <net/route.h> header file. */
 
501
/* #undef HAVE_NET_ROUTE_H */
 
502
 
 
503
/* Define to 1 if you have the `nlist' function. */
 
504
/* #undef HAVE_NLIST */
 
505
 
 
506
/* Define to 1 if you have the <nlist.h> header file. */
 
507
/* #undef HAVE_NLIST_H */
 
508
 
 
509
#if Not_Set_Later_In_This_file
 
510
/* XXX do not modify. change the USE_OPENSSL define instead */
 
511
/* Define to 1 if you have the <openssl/aes.h> header file. */
 
512
#define HAVE_OPENSSL_AES_H 1
 
513
 
 
514
/* Define to 1 if you have the <openssl/des.h> header file. */
 
515
#define HAVE_OPENSSL_DES_H 1
 
516
 
 
517
/* Define to 1 if you have the <openssl/evp.h> header file. */
 
518
#define HAVE_OPENSSL_EVP_H 1
 
519
 
 
520
/* Define to 1 if you have the <openssl/hmac.h> header file. */
 
521
#define HAVE_OPENSSL_HMAC_H 1
 
522
 
 
523
#endif /* Not_Set_Later_In_This_file */
 
524
 
 
525
/* Define to 1 if you have the <osreldate.h> header file. */
 
526
/* #undef HAVE_OSRELDATE_H */
 
527
 
 
528
/* Define to 1 if you have the `perl_eval_pv' function. */
 
529
/* #undef HAVE_PERL_EVAL_PV */
 
530
 
 
531
/* Define to 1 if you have the <pkginfo.h> header file. */
 
532
/* #undef HAVE_PKGINFO_H */
 
533
 
 
534
/* Define to 1 if you have the <pkglocs.h> header file. */
 
535
/* #undef HAVE_PKGLOCS_H */
350
536
 
351
537
/* Define if you have <process.h> header file. (Win32-getpid) */
352
538
#define HAVE_PROCESS_H 1
353
539
 
354
 
/* Define if you have the <arpa/inet.h> header file.  */
355
 
#undef HAVE_ARPA_INET_H
356
 
 
357
 
/* Define if you have the <dirent.h> header file.  */
358
 
#undef HAVE_DIRENT_H
359
 
 
360
 
/* Define if you have the <err.h> header file.  */
361
 
#undef HAVE_ERR_H
362
 
 
363
 
/* Define if you have the <fcntl.h> header file.  */
364
 
#define HAVE_FCNTL_H 1
365
 
 
366
 
/* Define if you have the <fstab.h> header file.  */
367
 
#undef HAVE_FSTAB_H
368
 
 
369
 
/* Define if you have the <inet/mib2.h> header file.  */
370
 
#undef HAVE_INET_MIB2_H
371
 
 
372
 
/* Define if you have the <kstat.h> header file.  */
373
 
#undef HAVE_KSTAT_H
374
 
 
375
 
/* Define if you have the <kvm.h> header file.  */
376
 
#undef HAVE_KVM_H
377
 
 
378
 
/* Define if you have the <limits.h> header file.  */
379
 
#define HAVE_LIMITS_H 1
380
 
 
381
 
/* Define if you have the <machine/param.h> header file.  */
382
 
#undef HAVE_MACHINE_PARAM_H
383
 
 
384
 
/* Define if you have the <machine/pte.h> header file.  */
385
 
#undef HAVE_MACHINE_PTE_H
386
 
 
387
 
/* Define if you have the <malloc.h> header file.  */
388
 
#undef HAVE_MALLOC_H
389
 
 
390
 
/* Define if you have the <mntent.h> header file.  */
391
 
#undef HAVE_MNTENT_H
392
 
 
393
 
/* Define if you have the <mtab.h> header file.  */
394
 
#undef HAVE_MTAB_H
395
 
 
396
 
/* Define if you have the <ndir.h> header file.  */
397
 
#undef HAVE_NDIR_H
398
 
 
399
 
/* Define if you have the <net/if_dl.h> header file.  */
400
 
#undef HAVE_NET_IF_DL_H
401
 
 
402
 
/* Define if you have the <net/if_types.h> header file.  */
403
 
#undef HAVE_NET_IF_TYPES_H
404
 
 
405
 
/* Define if you have the <netinet/icmp_var.h> header file.  */
406
 
#undef HAVE_NETINET_ICMP_VAR_H
407
 
 
408
 
/* Define if you have the <netinet/if_ether.h> header file.  */
409
 
#undef HAVE_NETINET_IF_ETHER_H
410
 
 
411
 
/* Define if you have the <netinet/in.h> header file.  */
412
 
#undef HAVE_NETINET_IN_H
413
 
 
414
 
/* Define if you have the <netinet/in_pcb.h> header file.  */
415
 
#undef HAVE_NETINET_IN_PCB_H
416
 
 
417
 
/* Define if you have the <netinet/in_var.h> header file.  */
418
 
#undef HAVE_NETINET_IN_VAR_H
419
 
 
420
 
/* Define if you have the <netinet/ip_var.h> header file.  */
421
 
#undef HAVE_NETINET_IP_VAR_H
422
 
 
423
 
/* Define if you have the <netinet/tcp_fsm.h> header file.  */
424
 
#undef HAVE_NETINET_TCP_FSM_H
425
 
 
426
 
/* Define if you have the <netinet/tcp_timer.h> header file.  */
427
 
#undef HAVE_NETINET_TCP_TIMER_H
428
 
 
429
 
/* Define if you have the <netinet/tcp_var.h> header file.  */
430
 
#undef HAVE_NETINET_TCP_VAR_H
431
 
 
432
 
/* Define if you have the <netinet/tcpip.h> header file.  */
433
 
#undef HAVE_NETINET_TCPIP_H
434
 
 
435
 
/* Define if you have the <netinet/udp_var.h> header file.  */
436
 
#undef HAVE_NETINET_UDP_VAR_H
437
 
 
438
 
/* Define if you have the <sgtty.h> header file.  */
439
 
#undef HAVE_SGTTY_H
440
 
 
441
 
/* Define if you have the <stdarg.h> header file.  */
 
540
/* Define to 1 if you have the <pthread.h> header file. */
 
541
/* #undef HAVE_PTHREAD_H */
 
542
 
 
543
/* Define to 1 if you have the <pwd.h> header file. */
 
544
/* #undef HAVE_PWD_H */
 
545
 
 
546
/* Define to 1 if you have the `rand' function. */
 
547
#define HAVE_RAND 1
 
548
 
 
549
/* Define to 1 if you have the `random' function. */
 
550
#define HAVE_RAND 1
 
551
 
 
552
/* Define to 1 if you have the `regcomp' function. */
 
553
/* #undef HAVE_REGCOMP */
 
554
 
 
555
/* Define to 1 if you have the <regex.h> header file. */
 
556
/* #undef HAVE_REGEX_H */
 
557
 
 
558
/* Define to 1 if you have the `rpmGetPath' function. */
 
559
/* #undef HAVE_RPMGETPATH */
 
560
 
 
561
/* Define to 1 if you have the <rpmio.h> header file. */
 
562
/* #undef HAVE_RPMIO_H */
 
563
 
 
564
/* Define to 1 if you have the <rpm/rpmio.h> header file. */
 
565
/* #undef HAVE_RPM_RPMIO_H */
 
566
 
 
567
/* Define to 1 if you have the <search.h> header file. */
 
568
/* #undef HAVE_SEARCH_H */
 
569
 
 
570
/* Define to 1 if you have the <security/cryptoki.h> header file. */
 
571
/* #undef HAVE_SECURITY_CRYPTOKI_H */
 
572
 
 
573
/* Define to 1 if you have the `select' function. */
 
574
/* #undef HAVE_SELECT */
 
575
 
 
576
/* Define to 1 if you have the `setenv' function. */
 
577
/* #undef HAVE_SETENV */
 
578
 
 
579
/* Define to 1 if you have the `setgid' function. */
 
580
/* #undef HAVE_SETGID */
 
581
 
 
582
/* Define to 1 if you have the `setgroups' function. */
 
583
/* #undef HAVE_SETGROUPS */
 
584
 
 
585
/* Define to 1 if you have the `setitimer' function. */
 
586
/* #undef HAVE_SETITIMER */
 
587
 
 
588
/* Define to 1 if you have the `setlocale' function. */
 
589
#define HAVE_SETLOCALE 1
 
590
 
 
591
/* Define to 1 if you have the `setmntent' function. */
 
592
/* #undef HAVE_SETMNTENT */
 
593
 
 
594
/* Define to 1 if you have the `setsid' function. */
 
595
/* #undef HAVE_SETSID */
 
596
 
 
597
/* Define to 1 if you have the `setuid' function. */
 
598
/* #undef HAVE_SETUID */
 
599
 
 
600
/* Define to 1 if you have the <sgtty.h> header file. */
 
601
/* #undef HAVE_SGTTY_H */
 
602
 
 
603
/* Define to 1 if you have the `sigaction' function. */
 
604
/* #undef HAVE_SIGACTION */
 
605
 
 
606
/* Define to 1 if you have the `sigalrm' function. */
 
607
/* #undef HAVE_SIGALRM */
 
608
 
 
609
/* Define to 1 if you have the `sigblock' function. */
 
610
/* #undef HAVE_SIGBLOCK */
 
611
 
 
612
/* Define to 1 if you have the `sighold' function. */
 
613
/* #undef HAVE_SIGHOLD */
 
614
 
 
615
/* Define to 1 if you have the `signal' function. */
 
616
/* #undef HAVE_SIGNAL */
 
617
 
 
618
/* Define to 1 if you have the `sigset' function. */
 
619
/* #undef HAVE_SIGSET */
 
620
 
 
621
/* Define to 1 if you have the `snprintf' function. */
 
622
#define HAVE_SNPRINTF 1
 
623
 
 
624
/* Define to 1 if you have the `socket' function. */
 
625
#define HAVE_SOCKET 1
 
626
 
 
627
/* Define to 1 if you have the `statfs' function. */
 
628
/* #undef HAVE_STATFS */
 
629
 
 
630
/* Define to 1 if you have the `statvfs' function. */
 
631
/* #undef HAVE_STATVFS */
 
632
 
 
633
/* Define to 1 if you have the <stdarg.h> header file. */
442
634
#define HAVE_STDARG_H 1
443
635
 
444
 
/* Define if you have the <stdlib.h> header file.  */
 
636
/* Define to 1 if you have the <stdint.h> header file. */
 
637
/* #undef HAVE_STDINT_H */
 
638
 
 
639
/* Define to 1 if you have the <stdlib.h> header file. */
445
640
#define HAVE_STDLIB_H 1
446
641
 
447
 
/* Define if you have the <string.h> header file.  */
 
642
/* Define to 1 if you have the `stime' function. */
 
643
/* #undef HAVE_STIME */
 
644
 
 
645
/* Define to 1 if you have the `strcasestr' function. */
 
646
/* #undef HAVE_STRCASESTR */
 
647
 
 
648
/* Define to 1 if you have the `strchr' function. */
 
649
#define HAVE_STRCHR 1
 
650
 
 
651
/* Define to 1 if you have the `strdup' function. */
 
652
#define HAVE_STRDUP 1
 
653
 
 
654
/* Define to 1 if you have the `strerror' function. */
 
655
#define HAVE_STRERROR 1
 
656
 
 
657
/* Define to 1 if you have the <strings.h> header file. */
 
658
/* #undef HAVE_STRINGS_H */
 
659
 
 
660
/* Define to 1 if you have the <string.h> header file. */
448
661
#define HAVE_STRING_H 1
449
662
 
 
663
/* Define to 1 if you have the `strlcpy' function. */
 
664
/* #undef HAVE_STRLCPY */
 
665
 
 
666
/* Define to 1 if you have the `strncasecmp' function. */
 
667
/* #undef HAVE_STRNCASECMP */
 
668
 
 
669
/* Define to 1 if you have the `strtol' function. */
 
670
#define HAVE_STRTOL 1
 
671
 
 
672
/* Define to 1 if you have the `strtoul' function. */
 
673
#define HAVE_STRTOUL 1
 
674
 
 
675
/* Define to 1 if you have the <syslog.h> header file. */
 
676
/* #undef HAVE_SYSLOG_H */
 
677
 
450
678
/* Define to 1 if you have the `system' function. */
451
679
#define HAVE_SYSTEM 1
452
680
 
453
 
/* Define if you have the <sys/conf.h> header file.  */
454
 
#undef HAVE_SYS_CONF_H
455
 
 
456
 
/* Define if you have the <sys/dir.h> header file.  */
457
 
#undef HAVE_SYS_DIR_H
458
 
 
459
 
/* Define if you have the <sys/dmap.h> header file.  */
460
 
#undef HAVE_SYS_DMAP_H
461
 
 
462
 
/* Define if you have the <sys/file.h> header file.  */
463
 
#undef HAVE_SYS_FILE_H
464
 
 
465
 
/* Define if you have the <sys/filio.h> header file.  */
466
 
#undef HAVE_SYS_FILIO_H
467
 
 
468
 
/* Define if you have the <sys/fixpoint.h> header file.  */
469
 
#undef HAVE_SYS_FIXPOINT_H
470
 
 
471
 
/* Define if you have the <sys/fs.h> header file.  */
472
 
#undef HAVE_SYS_FS_H
473
 
 
474
 
/* Define if you have the <sys/stat.h> header file.  */
 
681
/* Define to 1 if you have the <sys/cdefs.h> header file. */
 
682
/* #undef HAVE_SYS_CDEFS_H */
 
683
 
 
684
/* Define to 1 if you have the <sys/conf.h> header file. */
 
685
/* #undef HAVE_SYS_CONF_H */
 
686
 
 
687
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
 
688
   */
 
689
/* #undef HAVE_SYS_DIR_H */
 
690
 
 
691
/* Define to 1 if you have the <sys/diskio.h> header file. */
 
692
/* #undef HAVE_SYS_DISKIO_H */
 
693
 
 
694
/* Define to 1 if you have the <sys/dkio.h> header file. */
 
695
/* #undef HAVE_SYS_DKIO_H */
 
696
 
 
697
/* Define to 1 if you have the <sys/dmap.h> header file. */
 
698
/* #undef HAVE_SYS_DMAP_H */
 
699
 
 
700
/* Define to 1 if you have the <sys/file.h> header file. */
 
701
/* #undef HAVE_SYS_FILE_H */
 
702
 
 
703
/* Define to 1 if you have the <sys/filio.h> header file. */
 
704
/* #undef HAVE_SYS_FILIO_H */
 
705
 
 
706
/* Define to 1 if you have the <sys/fixpoint.h> header file. */
 
707
/* #undef HAVE_SYS_FIXPOINT_H */
 
708
 
 
709
/* Define to 1 if you have the <sys/fs.h> header file. */
 
710
/* #undef HAVE_SYS_FS_H */
 
711
 
 
712
/* Define to 1 if you have the <sys/hashing.h> header file. */
 
713
/* #undef HAVE_SYS_HASHING_H */
 
714
 
 
715
/* Define to 1 if you have the <sys/ioctl.h> header file. */
 
716
/* #undef HAVE_SYS_IOCTL_H */
 
717
 
 
718
/* Define to 1 if you have the <sys/loadavg.h> header file. */
 
719
/* #undef HAVE_SYS_LOADAVG_H */
 
720
 
 
721
/* Define to 1 if you have the <sys/mbuf.h> header file. */
 
722
/* #undef HAVE_SYS_MBUF_H */
 
723
 
 
724
/* Define to 1 if you have the <sys/mntent.h> header file. */
 
725
/* #undef HAVE_SYS_MNTENT_H */
 
726
 
 
727
/* Define to 1 if you have the <sys/mnttab.h> header file. */
 
728
/* #undef HAVE_SYS_MNTTAB_H */
 
729
 
 
730
/* Define to 1 if you have the <sys/mount.h> header file. */
 
731
/* #undef HAVE_SYS_MOUNT_H */
 
732
 
 
733
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
 
734
   */
 
735
/* #undef HAVE_SYS_NDIR_H */
 
736
 
 
737
/* Define to 1 if you have the <sys/param.h> header file. */
 
738
/* #undef HAVE_SYS_PARAM_H */
 
739
 
 
740
/* Define to 1 if you have the <sys/pool.h> header file. */
 
741
/* #undef HAVE_SYS_POOL_H */
 
742
 
 
743
/* Define to 1 if you have the <sys/proc.h> header file. */
 
744
/* #undef HAVE_SYS_PROC_H */
 
745
 
 
746
/* Define to 1 if you have the <sys/protosw.h> header file. */
 
747
/* #undef HAVE_SYS_PROTOSW_H */
 
748
 
 
749
/* Define to 1 if you have the <sys/pstat.h> header file. */
 
750
/* #undef HAVE_SYS_PSTAT_H */
 
751
 
 
752
/* Define to 1 if you have the <sys/queue.h> header file. */
 
753
/* #undef HAVE_SYS_QUEUE_H */
 
754
 
 
755
/* Define to 1 if you have the <sys/select.h> header file. */
 
756
/* #undef HAVE_SYS_SELECT_H */
 
757
 
 
758
/* Define to 1 if you have the <sys/socketvar.h> header file. */
 
759
/* #undef HAVE_SYS_SOCKETVAR_H */
 
760
 
 
761
/* Define to 1 if you have the <sys/socket.h> header file. */
 
762
/* #undef HAVE_SYS_SOCKET_H */
 
763
 
 
764
/* Define to 1 if you have the <sys/sockio.h> header file. */
 
765
/* #undef HAVE_SYS_SOCKIO_H */
 
766
 
 
767
/* Define to 1 if you have the <sys/statfs.h> header file. */
 
768
/* #undef HAVE_SYS_STATFS_H */
 
769
 
 
770
/* Define to 1 if you have the <sys/statvfs.h> header file. */
 
771
/* #undef HAVE_SYS_STATVFS_H */
 
772
 
 
773
/* Define to 1 if you have the <sys/stat.h> header file. */
475
774
#define HAVE_SYS_STAT_H 1
476
775
 
477
 
/* Define if you have the <sys/hashing.h> header file.  */
478
 
#undef HAVE_SYS_HASHING_H
479
 
 
480
 
/* Define if you have the <sys/ioctl.h> header file.  */
481
 
#undef HAVE_SYS_IOCTL_H
482
 
 
483
 
/* Define if you have the <sys/mbuf.h> header file.  */
484
 
#undef HAVE_SYS_MBUF_H
485
 
 
486
 
/* Define if you have the <sys/mnttab.h> header file.  */
487
 
#undef HAVE_SYS_MNTTAB_H
488
 
 
489
 
/* Define if you have the <sys/mount.h> header file.  */
490
 
#undef HAVE_SYS_MOUNT_H
491
 
 
492
 
/* Define if you have the <sys/ndir.h> header file.  */
493
 
#undef HAVE_SYS_NDIR_H
494
 
 
495
 
/* Define if you have the <sys/param.h> header file.  */
496
 
#undef HAVE_SYS_PARAM_H
497
 
 
498
 
/* Define if you have the <sys/proc.h> header file.  */
499
 
#undef HAVE_SYS_PROC_H
500
 
 
501
 
/* Define if you have the <sys/protosw.h> header file.  */
502
 
#undef HAVE_SYS_PROTOSW_H
503
 
 
504
 
/* Define if you have the <sys/select.h> header file.  */
505
 
#undef HAVE_SYS_SELECT_H
506
 
 
507
 
/* Define if you have the <sys/sockio.h> header file.  */
508
 
#undef HAVE_SYS_SOCKIO_H
509
 
 
510
 
/* Define if you have the <sys/statvfs.h> header file.  */
511
 
#undef HAVE_SYS_STATVFS_H
512
 
 
513
 
/* Define if you have the <sys/swap.h> header file.  */
514
 
#undef HAVE_SYS_SWAP_H
515
 
 
516
 
/* Define if you have the <sys/sysctl.h> header file.  */
517
 
#undef HAVE_SYS_SYSCTL_H
518
 
 
519
 
/* Define if you have the <sys/tcpipstats.h> header file.  */
520
 
#undef HAVE_SYS_TCPIPSTATS_H
521
 
 
522
 
/* Define if you have the <sys/time.h> header file.  */
523
 
#undef HAVE_SYS_TIME_H
 
776
/* Define to 1 if you have the <sys/stream.h> header file. */
 
777
/* #undef HAVE_SYS_STREAM_H */
 
778
 
 
779
/* Define to 1 if you have the <sys/swap.h> header file. */
 
780
/* #undef HAVE_SYS_SWAP_H */
 
781
 
 
782
/* Define to 1 if you have the <sys/sysctl.h> header file. */
 
783
/* #undef HAVE_SYS_SYSCTL_H */
 
784
 
 
785
/* Define to 1 if you have the <sys/sysmp.h> header file. */
 
786
/* #undef HAVE_SYS_SYSMP_H */
 
787
 
 
788
/* Define to 1 if you have the <sys/tcpipstats.h> header file. */
 
789
/* #undef HAVE_SYS_TCPIPSTATS_H */
 
790
 
 
791
/* Define to 1 if you have the <sys/time.h> header file. */
 
792
/* #undef HAVE_SYS_TIME_H */
524
793
 
525
794
/* Define to 1 if you have the <sys/types.h> header file. */
526
795
#define HAVE_SYS_TYPES_H 1
527
796
 
528
 
/* Define if you have the <sys/user.h> header file.  */
529
 
#undef HAVE_SYS_USER_H
530
 
 
531
 
/* Define if you have the <sys/utsname.h> header file.  */
532
 
#undef HAVE_SYS_UTSNAME_H
533
 
 
534
 
/* Define if you have the <sys/vfs.h> header file.  */
535
 
#undef HAVE_SYS_VFS_H
536
 
 
537
 
/* Define if you have the <sys/vm.h> header file.  */
538
 
#undef HAVE_SYS_VM_H
539
 
 
540
 
/* Define if you have the <sys/vmmac.h> header file.  */
541
 
#undef HAVE_SYS_VMMAC_H
542
 
 
543
 
/* Define if you have the <sys/vmmeter.h> header file.  */
544
 
#undef HAVE_SYS_VMMETER_H
545
 
 
546
 
/* Define if you have the <sys/vmparam.h> header file.  */
547
 
#undef HAVE_SYS_VMPARAM_H
548
 
 
549
 
/* Define if you have the <sys/vmsystm.h> header file.  */
550
 
#undef HAVE_SYS_VMSYSTM_H
551
 
 
552
 
/* Define if you have the <syslog.h> header file.  */
553
 
#undef HAVE_SYSLOG_H
554
 
 
555
 
#ifndef LOG_DAEMON
556
 
#define       LOG_DAEMON      (3<<3)  /* system daemons */
 
797
/* Define to 1 if you have the <sys/un.h> header file. */
 
798
/* #undef HAVE_SYS_UN_H */
 
799
 
 
800
/* Define to 1 if you have the <sys/user.h> header file. */
 
801
/* #undef HAVE_SYS_USER_H */
 
802
 
 
803
/* Define to 1 if you have the <sys/utsname.h> header file. */
 
804
/* #undef HAVE_SYS_UTSNAME_H */
 
805
 
 
806
/* Define to 1 if you have the <sys/vfs.h> header file. */
 
807
/* #undef HAVE_SYS_VFS_H */
 
808
 
 
809
/* Define to 1 if you have the <sys/vmmac.h> header file. */
 
810
/* #undef HAVE_SYS_VMMAC_H */
 
811
 
 
812
/* Define to 1 if you have the <sys/vmmeter.h> header file. */
 
813
/* #undef HAVE_SYS_VMMETER_H */
 
814
 
 
815
/* Define to 1 if you have the <sys/vmparam.h> header file. */
 
816
/* #undef HAVE_SYS_VMPARAM_H */
 
817
 
 
818
/* Define to 1 if you have the <sys/vmsystm.h> header file. */
 
819
/* #undef HAVE_SYS_VMSYSTM_H */
 
820
 
 
821
/* Define to 1 if you have the <sys/vm.h> header file. */
 
822
/* #undef HAVE_SYS_VM_H */
 
823
 
 
824
/* Define to 1 if you have the <sys/vnode.h> header file. */
 
825
/* #undef HAVE_SYS_VNODE_H */
 
826
 
 
827
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
 
828
/* #undef HAVE_SYS_WAIT_H */
 
829
 
 
830
/* Define to 1 if you have the `tcgetattr' function. */
 
831
/* #undef HAVE_TCGETATTR */
 
832
 
 
833
/* Define to 1 if you have the <ufs/ffs/fs.h> header file. */
 
834
/* #undef HAVE_UFS_FFS_FS_H */
 
835
 
 
836
/* Define to 1 if you have the <ufs/fs.h> header file. */
 
837
/* #undef HAVE_UFS_FS_H */
 
838
 
 
839
/* Define to 1 if you have the <ufs/ufs/dinode.h> header file. */
 
840
/* #undef HAVE_UFS_UFS_DINODE_H */
 
841
 
 
842
/* Define to 1 if you have the <ufs/ufs/inode.h> header file. */
 
843
/* #undef HAVE_UFS_UFS_INODE_H */
 
844
 
 
845
/* Define to 1 if you have the <ufs/ufs/quota.h> header file. */
 
846
/* #undef HAVE_UFS_UFS_QUOTA_H */
 
847
 
 
848
/* Define to 1 if you have the `uname' function. */
 
849
/* #undef HAVE_UNAME */
 
850
 
 
851
/* Define to 1 if you have the <unistd.h> header file. */
 
852
/* #undef HAVE_UNISTD_H */
 
853
 
 
854
/* Define to 1 if you have the `usleep' function. */
 
855
/* #undef HAVE_USLEEP */
 
856
 
 
857
/* Define to 1 if you have the <utmpx.h> header file. */
 
858
/* #undef HAVE_UTMPX_H */
 
859
 
 
860
/* Define to 1 if you have the <utsname.h> header file. */
 
861
/* #undef HAVE_UTSNAME_H */
 
862
 
 
863
/* Define to 1 if you have the <uvm/uvm_extern.h> header file. */
 
864
/* #undef HAVE_UVM_UVM_EXTERN_H */
 
865
 
 
866
/* Define to 1 if you have the <uvm/uvm_param.h> header file. */
 
867
/* #undef HAVE_UVM_UVM_PARAM_H */
 
868
 
 
869
/* Define to 1 if you have the <vm/swap_pager.h> header file. */
 
870
/* #undef HAVE_VM_SWAP_PAGER_H */
 
871
 
 
872
/* Define to 1 if you have the <vm/vm_extern.h> header file. */
 
873
/* #undef HAVE_VM_VM_EXTERN_H */
 
874
 
 
875
/* Define to 1 if you have the <vm/vm.h> header file. */
 
876
/* #undef HAVE_VM_VM_H */
 
877
 
 
878
/* Define to 1 if you have the <vm/vm_param.h> header file. */
 
879
/* #undef HAVE_VM_VM_PARAM_H */
 
880
 
 
881
/* Define to 1 if you have the `vsnprintf' function. */
 
882
#define HAVE_VSNPRINTF 1
 
883
 
 
884
/* Define to 1 if you have the <winsock.h> header file. */
 
885
#define HAVE_WINSOCK_H 1
 
886
 
 
887
/* Define to 1 if you have the <xti.h> header file. */
 
888
/* #undef HAVE_XTI_H */
 
889
 
 
890
/* Define to the address where bug reports for this package should be sent. */
 
891
/* #undef PACKAGE_BUGREPORT */
 
892
 
 
893
/* Define to the full name of this package. */
 
894
/* #undef PACKAGE_NAME */
 
895
 
 
896
/* Define to the full name and version of this package. */
 
897
/* #undef PACKAGE_STRING */
 
898
 
 
899
/* Define to the one symbol short name of this package. */
 
900
/* #undef PACKAGE_TARNAME */
 
901
 
 
902
/* Define to the version of this package. */
 
903
/* #undef PACKAGE_VERSION */
 
904
 
 
905
/* Define as the return type of signal handlers (`int' or `void'). */
 
906
#define RETSIGTYPE void
 
907
 
 
908
/* If using the C implementation of alloca, define if you know the
 
909
   direction of stack growth for your system; otherwise it will be
 
910
   automatically deduced at run-time.
 
911
        STACK_DIRECTION > 0 => grows toward higher addresses
 
912
        STACK_DIRECTION < 0 => grows toward lower addresses
 
913
        STACK_DIRECTION = 0 => direction of growth unknown */
 
914
/* #undef STACK_DIRECTION */
 
915
 
 
916
/* Define to 1 if you have the ANSI C header files. */
 
917
#define STDC_HEADERS 1
 
918
 
 
919
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
 
920
#define TIME_WITH_SYS_TIME 1
 
921
 
 
922
/* Define to 1 if your processor stores words with the most significant byte
 
923
   first (like Motorola and SPARC, unlike Intel and VAX). */
 
924
/* #undef WORDS_BIGENDIAN */
 
925
 
 
926
/* Define to 1 if on AIX 3.
 
927
   System headers sometimes define this.
 
928
   We just want to avoid a redefinition error message.  */
 
929
#ifndef _ALL_SOURCE
 
930
/* # undef _ALL_SOURCE */
557
931
#endif
558
932
 
559
 
/* Define if you have the <ufs/ffs/fs.h> header file.  */
560
 
#undef HAVE_UFS_FFS_FS_H
561
 
 
562
 
/* Define if you have the <ufs/fs.h> header file.  */
563
 
#undef HAVE_UFS_FS_H
564
 
 
565
 
/* Define if you have the <ufs/ufs/dinode.h> header file.  */
566
 
#undef HAVE_UFS_UFS_DINODE_H
567
 
 
568
 
/* Define if you have the <unistd.h> header file.  */
569
 
#undef HAVE_UNISTD_H
570
 
 
571
 
/* Define if you have the <utsname.h> header file.  */
572
 
#undef HAVE_UTSNAME_H
573
 
 
574
 
/* Define if you have the <vm/swap_pager.h> header file.  */
575
 
#undef HAVE_VM_SWAP_PAGER_H
576
 
 
577
 
/* Define if you have the <vm/vm.h> header file.  */
578
 
#undef HAVE_VM_VM_H
579
 
 
580
 
/* Define if you have the <xti.h> header file.  */
581
 
#undef HAVE_XTI_H
582
 
 
583
 
/* Define if you have the crypto library (-lcrypto).  */
584
 
#undef HAVE_LIBCRYPTO
585
 
 
586
 
/* Define if you have the elf library (-lelf).  */
587
 
#undef HAVE_LIBELF
588
 
 
589
 
/* Define if you have the kstat library (-lkstat).  */
590
 
#undef HAVE_LIBKSTAT
591
 
 
592
 
/* Define if you have the kvm library (-lkvm).  */
593
 
#undef HAVE_LIBKVM
594
 
 
595
 
/* Define if you have the m library (-lm).  */
596
 
#undef HAVE_LIBM
597
 
 
598
 
/* Define if you have the mld library (-lmld).  */
599
 
#undef HAVE_LIBMLD
600
 
 
601
 
/* Define if you have the nsl library (-lnsl).  */
602
 
#undef HAVE_LIBNSL
603
 
 
604
 
/* Define if you have the socket library (-lsocket).  */
605
 
#undef HAVE_LIBSOCKET
 
933
/* Define to empty if `const' does not conform to ANSI C. */
 
934
/* #undef const */
 
935
 
 
936
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
 
937
   if it is not supported. */
 
938
#define inline __inline
 
939
 
 
940
/* Define to `long' if <sys/types.h> does not define. */
 
941
/* #undef off_t */
 
942
 
 
943
/* Define to `int' if <sys/types.h> does not define. */
 
944
/* #undef pid_t */
 
945
 
 
946
/* define if you have getdevs() */
 
947
/* #undef HAVE_GETDEVS */
 
948
 
 
949
/* define if you have <netinet/in_pcb.h> */
 
950
/* #undef HAVE_NETINET_IN_PCB_H */
 
951
 
 
952
/* define if you have <sys/disklabel.h> */
 
953
/* #undef HAVE_SYS_DISKLABEL_H */
 
954
 
 
955
/* define if you are using linux and /proc/net/dev has the compressed
 
956
   field, which exists in linux kernels 2.2 and greater. */
 
957
/* #undef PROC_NET_DEV_HAS_COMPRESSED */
 
958
 
 
959
/* define rtentry to ortentry on SYSV machines (alphas) */
 
960
#define RTENTRY rtentry;
 
961
 
 
962
/* Use BSD 4.4 routing table entries? */
 
963
/* #undef RTENTRY_4_4 XXX */
 
964
 
 
965
/* Does struct sigaction have a sa_sigaction field? */
 
966
/* #undef STRUCT_SIGACTION_HAS_SA_SIGACTION */
 
967
 
 
968
/* Does struct sockaddr have a sa_len field? */
 
969
/* #undef STRUCT_SOCKADDR_HAS_SA_LEN */
 
970
 
 
971
/* Does struct sockaddr have a sa_family2 field? */
 
972
/* #undef STRUCT_SOCKADDR_HAS_SA_UNION_SA_GENERIC_SA_FAMILY2 */
 
973
 
 
974
/* Does struct in6_addr have a s6_un.sa6_ladd field? */
 
975
/* #undef STRUCT_IN6_ADDR_HAS_S6_UN_SA6_LADDR */
 
976
 
 
977
/* rtentry structure tests */
 
978
/* #undef RTENTRY_RT_NEXT XXX */
 
979
/* #undef STRUCT_RTENTRY_HAS_RT_DST */
 
980
/* #undef STRUCT_RTENTRY_HAS_RT_UNIT */
 
981
/* #undef STRUCT_RTENTRY_HAS_RT_USE */
 
982
/* #undef STRUCT_RTENTRY_HAS_RT_REFCNT */
 
983
/* #undef STRUCT_RTENTRY_HAS_RT_HASH */
606
984
 
607
985
/* ifnet structure tests */
608
 
#undef STRUCT_IFNET_HAS_IF_BAUDRATE
609
 
#undef STRUCT_IFNET_HAS_IF_TYPE
610
 
#undef STRUCT_IFNET_HAS_IF_IMCASTS
611
 
#undef STRUCT_IFNET_HAS_IF_IQDROPS
612
 
#undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC
613
 
#undef STRUCT_IFNET_HAS_IF_NOPROTO
614
 
#undef STRUCT_IFNET_HAS_IF_OMCASTS
615
 
#undef STRUCT_IFNET_HAS_IF_XNAME
616
 
#undef STRUCT_IFNET_HAS_IF_OBYTES
617
 
#undef STRUCT_IFNET_HAS_IF_IBYTES
618
 
#undef STRUCT_IFNET_HAS_IF_ADDRLIST
 
986
/* #undef STRUCT_IFNET_HAS_IF_BAUDRATE */
 
987
/* #undef STRUCT_IFNET_HAS_IF_BAUDRATE_IFS_VALUE */
 
988
/* #undef STRUCT_IFNET_HAS_IF_SPEED */
 
989
/* #undef STRUCT_IFNET_HAS_IF_TYPE */
 
990
/* #undef STRUCT_IFNET_HAS_IF_IMCASTS */
 
991
/* #undef STRUCT_IFNET_HAS_IF_IQDROPS */
 
992
/* #undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC */
 
993
/* #undef STRUCT_IFNET_HAS_IF_NOPROTO */
 
994
/* #undef STRUCT_IFNET_HAS_IF_OMCASTS */
 
995
/* #undef STRUCT_IFNET_HAS_IF_XNAME */
 
996
/* #undef STRUCT_IFNET_HAS_IF_OBYTES */
 
997
/* #undef STRUCT_IFNET_HAS_IF_IBYTES */
 
998
/* #undef STRUCT_IFNET_HAS_IF_ADDRLIST */
619
999
 
620
1000
/* tcpstat.tcps_rcvmemdrop */
621
 
#undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP
622
 
 
623
 
/* udpstat.udps_discard */
624
 
#undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD
 
1001
/* #undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP */
 
1002
 
 
1003
/* udpstat.udps_discard */
 
1004
/* #undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD */
 
1005
 
 
1006
/* udpstat.udps_discard */
 
1007
/* #undef STRUCT_UDPSTAT_HAS_UDPS_NOPORT */
 
1008
 
 
1009
/* udpstat.udps_discard */
 
1010
/* #undef STRUCT_UDPSTAT_HAS_UDPS_NOPORTBCAST */
 
1011
 
 
1012
/* udpstat.udps_discard */
 
1013
/* #undef STRUCT_UDPSTAT_HAS_UDPS_FULLSOCK */
625
1014
 
626
1015
/* arphd.at_next */
627
 
#undef STRUCT_ARPHD_HAS_AT_NEXT
 
1016
/* #undef STRUCT_ARPHD_HAS_AT_NEXT */
628
1017
 
629
1018
/* ifaddr.ifa_next */
630
 
#undef STRUCT_IFADDR_HAS_IFA_NEXT
 
1019
/* #undef STRUCT_IFADDR_HAS_IFA_NEXT */
631
1020
 
632
1021
/* ifnet.if_mtu */
633
 
#undef STRUCT_IFNET_HAS_IF_MTU
 
1022
/* #undef STRUCT_IFNET_HAS_IF_MTU */
 
1023
 
 
1024
/* swdevt.sw_nblksenabled */
 
1025
/* #undef STRUCT_SWDEVT_HAS_SW_NBLKSENABLED */
 
1026
 
 
1027
/* nlist.n_value */
 
1028
/* #undef STRUCT_NLIST_HAS_N_VALUE */
 
1029
 
 
1030
/* ipstat structure tests */
 
1031
/* #undef STRUCT_IPSTAT_HAS_IPS_CANTFORWARD */
 
1032
/* #undef STRUCT_IPSTAT_HAS_IPS_CANTFRAG */
 
1033
/* #undef STRUCT_IPSTAT_HAS_IPS_DELIVERED */
 
1034
/* #undef STRUCT_IPSTAT_HAS_IPS_FRAGDROPPED */
 
1035
/* #undef STRUCT_IPSTAT_HAS_IPS_FRAGTIMEOUT */
 
1036
/* #undef STRUCT_IPSTAT_HAS_IPS_LOCALOUT */
 
1037
/* #undef STRUCT_IPSTAT_HAS_IPS_NOPROTO */
 
1038
/* #undef STRUCT_IPSTAT_HAS_IPS_NOROUTE */
 
1039
/* #undef STRUCT_IPSTAT_HAS_IPS_ODROPPED */
 
1040
/* #undef STRUCT_IPSTAT_HAS_IPS_OFRAGMENTS */
 
1041
/* #undef STRUCT_IPSTAT_HAS_IPS_REASSEMBLED */
 
1042
 
 
1043
/* vfsstat.f_frsize */
 
1044
/* #undef STRUCT_STATVFS_HAS_F_FRSIZE */
 
1045
 
 
1046
/* vfsstat.f_files */
 
1047
/* #undef STRUCT_STATVFS_HAS_F_FILES */
 
1048
 
 
1049
/* statfs inode structure tests*/
 
1050
/* #undef STRUCT_STATFS_HAS_F_FILES */
 
1051
/* #undef STRUCT_STATFS_HAS_F_FFREE */
 
1052
/* #undef STRUCT_STATFS_HAS_F_FAVAIL */
 
1053
 
 
1054
/* des_ks_struct.weak_key */
 
1055
/* #undef STRUCT_DES_KS_STRUCT_HAS_WEAK_KEY */
634
1056
 
635
1057
/* ifnet needs to have _KERNEL defined */
636
 
#undef IFNET_NEEDS_KERNEL
 
1058
/* #undef IFNET_NEEDS_KERNEL */
637
1059
 
638
1060
/* sysctl works to get boottime, etc... */
639
 
#undef CAN_USE_SYSCTL
 
1061
/* #undef CAN_USE_SYSCTL */
 
1062
 
 
1063
/* type check for in_addr_t */
 
1064
/* #undef in_addr_t */
 
1065
 
 
1066
/* define if SIOCGIFADDR exists in sys/ioctl.h */
 
1067
/* #undef SYS_IOCTL_H_HAS_SIOCGIFADDR */
640
1068
 
641
1069
/* define if your compiler (processor) defines __FUNCTION__ for you */
642
 
#undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED
643
 
 
644
 
/* mib pointer to the top of the extensible tree.  This has been
645
 
 assigned to UCDavis by the iana group.  Optionally, point this to the
646
 
 location in the tree your company/organization has been allocated. */
647
 
 
648
 
/* location of the extensible mib tree */
649
 
#define EXTENSIBLEMIB 1,3,6,1,4,1,2021
650
 
/* location of the extensible mib tree */
651
 
#define EXTENSIBLEDOTMIB 1.3.6.1.4.1.2021
652
 
/* count the above numbers */
653
 
#define EXTENSIBLENUM 7
 
1070
/* #undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED */
654
1071
 
655
1072
/* Mib-2 tree Info */
656
1073
/* These are the system information variables. */
787
1204
/* Exec command to fix PROC problems */
788
1205
/* %s will be replaced by the process name in error */
789
1206
 
790
 
#define PROCFIXCMD "/usr/local/bin/perl /local/scripts/fixproc %s"
 
1207
/* #define PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
791
1208
 
792
1209
/* Exec command to fix EXEC problems */
793
1210
/* %s will be replaced by the exec/script name in error */
794
1211
 
795
 
#define EXECFIXCMD "/usr/local/bin/perl /local/scripts/fixproc %s"
 
1212
/* #define EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
796
1213
 
797
1214
/* Should exec output Cashing be used (speeds up things greatly), and
798
1215
   if so, After how many seconds should the cache re-newed?  Note:
802
1219
#define CACHEFILE ".snmp-exec-cache"
803
1220
#define MAXCACHESIZE (200*80)   /* roughly 200 lines max */
804
1221
 
805
 
#define MAXDISKS 10                      /* can't scan more than this number */
 
1222
#define MAXDISKS 50                      /* can't scan more than this number */
806
1223
 
807
1224
/* misc defaults */
808
1225
 
814
1231
 
815
1232
/* Because of sleep(1)s, this will also be time to wait (in seconds) for exec
816
1233
   to finish */
817
 
#define MAXREADCOUNT 20   /* max times to loop reading output from execs. */
 
1234
#define MAXREADCOUNT 100   /* max times to loop reading output from execs. */
818
1235
 
819
1236
/* The original CMU code had this hardcoded as = 1 */
820
1237
#define SNMPBLOCK 1       /* Set if snmpgets should block and never timeout */
835
1252
 
836
1253
#define LASTFIELD -1      /* internal define */
837
1254
 
838
 
/* Define if you have the strdup function.  */
839
 
#define HAVE_STRDUP 1
840
 
 
841
 
/* Define if you have the strerror function.  */
842
 
#define HAVE_STRERROR 1
 
1255
/* configure options specified */
 
1256
#define CONFIGURE_OPTIONS ""
 
1257
 
 
1258
/* got socklen_t? */
 
1259
#define HAVE_SOCKLEN_T 1
 
1260
 
 
1261
/* got in_addr_t? */
 
1262
/* #undef HAVE_IN_ADDR_T */
 
1263
 
 
1264
/* got ssize_t? */
 
1265
/* #undef HAVE_SSIZE_T */
843
1266
 
844
1267
#ifndef HAVE_STRCHR
845
1268
#ifdef HAVE_INDEX
879
1302
#endif
880
1303
#endif
881
1304
 
 
1305
/* If you have openssl 0.9.7 or above, you likely have AES support. */
 
1306
/* #undef USE_OPENSSL */
 
1307
 
 
1308
#ifdef USE_OPENSSL
 
1309
/* Copied from above, for easier exclusion when not building with OpenSSL. */
 
1310
 
 
1311
/* Define to 1 if you have the <openssl/aes.h> header file. */
 
1312
#define HAVE_OPENSSL_AES_H 1
 
1313
 
 
1314
/* Define to 1 if you have the <openssl/des.h> header file. */
 
1315
#define HAVE_OPENSSL_DES_H 1
 
1316
 
 
1317
/* Define to 1 if you have the <openssl/evp.h> header file. */
 
1318
#define HAVE_OPENSSL_EVP_H 1
 
1319
 
 
1320
/* Define to 1 if you have the <openssl/hmac.h> header file. */
 
1321
#define HAVE_OPENSSL_HMAC_H 1
 
1322
 
 
1323
/* Define to 1 if you have the `AES_cfb128_encrypt' function. */
 
1324
#define HAVE_AES_CFB128_ENCRYPT 1
 
1325
 
 
1326
#else /* ! USE_OPENSSL */
 
1327
 
 
1328
/* define if you are using the MD5 code ...*/
 
1329
#define USE_INTERNAL_MD5 1
 
1330
 
 
1331
#endif /* ! USE_OPENSSL */
 
1332
 
 
1333
#if defined(USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB128_ENCRYPT)
 
1334
#define HAVE_AES 1
 
1335
#endif
882
1336
 
883
1337
/* define random functions */
884
1338
 
902
1356
#endif
903
1357
#endif
904
1358
 
905
 
/* Not-to-be-compiled macros for use by configure only */
906
 
#define config_require(x)
907
 
#define config_arch_require(x,y)
908
 
#define config_parse_dot_conf(w,x,y,z)
909
 
#define config_add_mib(x)
910
 
 
911
 
#ifndef DONT_INC_STRUCTS
912
 
/*#include "agent/mibgroup/struct.h" */
913
 
#endif
914
 
 
 
1359
/* define if you have librpm and libdb */
 
1360
/* #undef HAVE_LIBDB */
 
1361
/* #undef HAVE_LIBRPM */
 
1362
 
 
1363
/* define if you have pkginfo */
 
1364
/* #undef HAVE_PKGINFO */
 
1365
 
 
1366
/* define if you have gethostbyname */
 
1367
#define HAVE_GETHOSTBYNAME 1
 
1368
 
 
1369
/* define if you have getservbyname */
 
1370
#define HAVE_GETSERVBYNAME 1
 
1371
 
 
1372
/* printing system */
 
1373
/* #undef HAVE_LPSTAT */
 
1374
/* #undef LPSTAT_PATH */
 
1375
/* #undef HAVE_PRINTCAP */
915
1376
 
916
1377
/*  Pluggable transports.  */
917
1378
 
921
1382
 
922
1383
/*  This is defined if support for the "callback" transport domain is
923
1384
    available.   */
924
 
    /*
925
 
     * the pipe call creates fds that select chokes on, so
926
 
     * disable callbacks on WIN32 until a fix can be found
927
 
     */
928
1385
#define SNMP_TRANSPORT_CALLBACK_DOMAIN 1
929
1386
 
930
1387
/*  This is defined if support for the TCP/IP transport domain is
933
1390
 
934
1391
/*  This is defined if support for the Unix transport domain
935
1392
    (a.k.a. "local IPC") is available.  */
936
 
#undef SNMP_TRANSPORT_UNIX_DOMAIN
 
1393
/* #undef SNMP_TRANSPORT_UNIX_DOMAIN */
937
1394
 
938
1395
/*  This is defined if support for the AAL5 PVC transport domain is
939
1396
    available.  */
940
 
#undef SNMP_TRANSPORT_AAL5PVC_DOMAIN
 
1397
/* #undef SNMP_TRANSPORT_AAL5PVC_DOMAIN */
941
1398
 
942
1399
/*  This is defined if support for the IPX transport domain is
943
1400
    available.  */
944
 
#undef SNMP_TRANSPORT_IPX_DOMAIN
 
1401
/* #undef SNMP_TRANSPORT_IPX_DOMAIN */
945
1402
 
 
1403
/* XXX do not modify. change the INET6 define instead */
946
1404
/*  This is defined if support for the UDP/IPv6 transport domain is
947
1405
    available.  */
948
 
#undef SNMP_TRANSPORT_UDPIPV6_DOMAIN
 
1406
/* #undef SNMP_TRANSPORT_UDPIPV6_DOMAIN */
949
1407
 
 
1408
/* XXX do not modify. change the INET6 define instead */
950
1409
/*  This is defined if support for the TCP/IPv6 transport domain is
951
1410
    available.  */
952
 
#undef SNMP_TRANSPORT_TCPIPV6_DOMAIN
 
1411
/* #undef SNMP_TRANSPORT_TCPIPV6_DOMAIN */
953
1412
 
954
1413
/* define this if the USM security module is available */
955
1414
#define SNMP_SECMOD_USM 1
956
1415
 
957
1416
/* define this if the KSM (kerberos based snmp) security module is available */
958
 
#undef SNMP_SECMOD_KSM
959
 
 
960
 
#ifdef WIN32
961
 
 
962
 
#define HAVE_GETPID 1
963
 
 
964
 
/* int strcasecmp(const char *s1, const char *s2); */
965
 
#define vsnprintf _vsnprintf
966
 
#define snprintf  _snprintf
967
 
 
968
 
#define EADDRINUSE      WSAEADDRINUSE
969
 
 
 
1417
/* #undef SNMP_SECMOD_KSM */
 
1418
 
 
1419
/* define this if we're using the new MIT crypto API */
 
1420
/* #undef MIT_NEW_CRYPTO */
 
1421
 
 
1422
/* define if you want to build with reentrant/threaded code */
 
1423
/* #undef NS_REENTRANT */
 
1424
 
 
1425
/* on aix, if you have perfstat */
 
1426
/* #undef HAVE_PERFSTAT */
 
1427
 
 
1428
/* Not-to-be-compiled macros for use by configure only */
 
1429
#define config_require(x)
 
1430
#define config_exclude(x)
 
1431
#define config_arch_require(x,y)
 
1432
#define config_parse_dot_conf(w,x,y,z)
 
1433
#define config_add_mib(x)
 
1434
 
 
1435
#if defined (WIN32) || defined (mingw32) || defined (cygwin)
970
1436
#define ENV_SEPARATOR ";"
971
1437
#define ENV_SEPARATOR_CHAR ';'
972
 
 
973
 
 
974
1438
#else
975
 
 
976
1439
#define ENV_SEPARATOR ":"
977
1440
#define ENV_SEPARATOR_CHAR ':'
978
 
 
979
1441
#endif
980
1442
 
981
 
typedef unsigned short mode_t;
982
 
typedef unsigned __int32 uint32_t;
983
 
 
984
1443
/*
985
1444
 * this must be before the system/machine includes, to allow them to
986
1445
 * override and turn off inlining. To do so, they should do the
1008
1467
 *
1009
1468
 * NOT like this:
1010
1469
 *
1011
 
 *    static NETSNMP_INLINE function(int parm) { return parm -1; } // WRONG!
 
1470
 *    static NETSNMP_INLINE function(int parm) { return parm -1; }
1012
1471
 *
1013
1472
 */
1014
1473
/*
1018
1477
 */
1019
1478
#define NETSNMP_INLINE extern inline
1020
1479
#define NETSNMP_STATIC_INLINE static inline
1021
 
 
1022
1480
#define NETSNMP_ENABLE_INLINE 1
1023
1481
 
 
1482
#if notused
 
1483
#include SYSTEM_INCLUDE_FILE
 
1484
#include MACHINE_INCLUDE_FILE
 
1485
#endif
 
1486
 
1024
1487
#if NETSNMP_ENABLE_INLINE && !defined(NETSNMP_NO_INLINE)
1025
1488
#   define NETSNMP_USE_INLINE 1
1026
1489
#else
1032
1495
 
1033
1496
#ifdef WIN32
1034
1497
 
 
1498
typedef unsigned short mode_t;
 
1499
typedef unsigned __int32 uint32_t;
 
1500
 
 
1501
/* Define if you have the closesocket function.  */
 
1502
#define HAVE_CLOSESOCKET 1
 
1503
 
 
1504
/* Define if you have raise() instead of alarm() */
 
1505
#define HAVE_RAISE 1
 
1506
 
 
1507
/* define to 1 if you do not want to set global snmp_errno */
 
1508
#define DONT_SHARE_ERROR_WITH_OTHER_THREADS 1
 
1509
 
 
1510
#define vsnprintf _vsnprintf
 
1511
#define snprintf  _snprintf
 
1512
 
 
1513
#define EADDRINUSE      WSAEADDRINUSE
 
1514
 
 
1515
/* Define NETSNMP_USE_DLL when building or using netsnmp.DLL */
 
1516
/* #undef NETSNMP_USE_DLL */
 
1517
 
1035
1518
#ifdef NETSNMP_USE_DLL
1036
1519
  #ifdef NETSNMP_DLL
1037
1520
    #if defined(_MSC_VER)
1055
1538
 *  the NETSNMP_IMPORT definitions harmless.
1056
1539
 */
1057
1540
 
1058
 
#endif       /* WIN32 */
1059
 
 
1060
 
#ifndef NETSNMP_IMPORT
1061
 
#  define NETSNMP_IMPORT extern
1062
 
#endif
1063
 
 
1064
 
 
1065
 
/* wrap alloc functions to use DLL's memory heap */
1066
 
/* This is not done in tools.c, where these wrappers are defined */
1067
 
 
1068
 
#ifdef WIN32
1069
1541
 
1070
1542
  #ifdef NETSNMP_USE_DLL
1071
1543
    #ifndef NETSNMP_TOOLS_C
 
1544
 
 
1545
  /* wrap alloc functions to use DLL's memory heap */
 
1546
  /* This is not done in tools.c, where these wrappers are defined */
 
1547
 
1072
1548
      #define strdup    netsnmp_strdup
1073
1549
      #define calloc    netsnmp_calloc
1074
1550
      #define malloc    netsnmp_malloc
1077
1553
    #endif
1078
1554
  #endif
1079
1555
 
1080
 
  /* XXX next definition may be needed only for MSVC */
1081
 
  #ifndef strdup
1082
 
    #define strdup _strdup
 
1556
#endif       /* WIN32 */
 
1557
 
 
1558
#ifndef NETSNMP_IMPORT
 
1559
#  define NETSNMP_IMPORT extern
 
1560
#endif
 
1561
 
 
1562
#if defined(HAVE_NLIST) && defined(STRUCT_NLIST_HAS_N_VALUE) && !defined(DONT_USE_NLIST) && !defined(NO_KMEM_USAGE)
 
1563
#define CAN_USE_NLIST
 
1564
#endif
 
1565
 
 
1566
#if HAVE_DMALLOC_H
 
1567
#define DMALLOC_FUNC_CHECK
 
1568
#endif
 
1569
 
 
1570
/* #undef INET6 */
 
1571
/* #undef LOCAL_SMUX */
 
1572
 
 
1573
/* define if agentx transport is to use domain sockets only */
 
1574
/* #undef AGENTX_DOM_SOCK_ONLY */
 
1575
 
 
1576
#ifndef LOG_DAEMON
 
1577
#define       LOG_DAEMON      (3<<3)  /* system daemons */
 
1578
#endif
 
1579
 
 
1580
#if UCD_COMPATIBLE
 
1581
/* old and in the way */
 
1582
#define EXTENSIBLEMIB UCDAVIS_MIB
 
1583
#endif
 
1584
 
 
1585
#if defined(_MSC_VER)
 
1586
/* this bit of magic enables or disables IPv6 transports */
 
1587
  #if INET6
 
1588
    /* "dont have" implies "compile here" for snmplib/inet_?to?.c */
 
1589
    #undef HAVE_INET_NTOP
 
1590
    #undef HAVE_INET_PTON
 
1591
    #define SNMP_TRANSPORT_TCPIPV6_DOMAIN 1
 
1592
    #define SNMP_TRANSPORT_UDPIPV6_DOMAIN 1
 
1593
  #else
 
1594
    /* "have" implies "dont compile here" for snmplib/inet_?to?.c */
 
1595
    #define HAVE_INET_NTOP 1
 
1596
    #define HAVE_INET_PTON 1
 
1597
    #undef SNMP_TRANSPORT_TCPIPV6_DOMAIN
 
1598
    #undef SNMP_TRANSPORT_UDPIPV6_DOMAIN
1083
1599
  #endif
1084
 
 
1085
 
#endif /* WIN32 */
1086
 
 
1087
 
#ifdef __cplusplus
1088
 
}
1089
1600
#endif
1090
1601
 
 
1602
 
1091
1603
#endif /* NET_SNMP_CONFIG_H */
 
1604