Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
config.h Source File
Main Page   Modules   Data Structures   File List   Related Pages  

config.h

00001 /* config.h.  Generated automatically by configure.  */
00002 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
00003 /* config.h:  a general config file */
00004 
00005 /* Define IN_UCD_SNMP_SOURCE if compiling inside the ucd-snmp source tree */
00006 #define IN_UCD_SNMP_SOURCE 1
00007 
00008 /* don't change these values! */
00009 #define SNMPV1      0xAAAA       /* readable by anyone */
00010 #define SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */
00011 #define SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
00012 
00013 /* default list of mibs to load */
00014 
00015 #define DEFAULT_MIBS "IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES: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:SNMP-TARGET-MIB:SNMPv2-TM"
00016 
00017 /* default location to look for mibs to load using the above tokens
00018    and/or those in the MIBS envrionment variable*/
00019 
00020 #define DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/local/share/snmp/mibs"
00021 
00022 /* default mib files to load, specified by path. */
00023 
00024 /* #undef DEFAULT_MIBFILES */
00025 
00026 /* should we compile to use special opaque types: float, double,
00027    counter64, i64, ui64, union? */
00028 #define OPAQUE_SPECIAL_TYPES 1
00029 
00030 /* comment the next line if you are compiling with libsnmp.h 
00031    and are not using the UC-Davis SNMP library. */
00032 #define UCD_SNMP_LIBRARY 1
00033 
00034 /* define if you want to compile support for both authentication and
00035    privacy support. */
00036 #define SCAPI_AUTHPRIV 1
00037 
00038 /* define if you are using the MD5 code ...*/
00039 /* #undef USE_INTERNAL_MD5 */
00040 
00041 /* ... or define this if you're using openssl support */
00042 #define USE_OPENSSL 1
00043 
00044 /* add in recent CMU library extensions (not complete) */
00045 /* #undef CMU_COMPATIBLE */
00046 
00047 /* add in recent resource lock functions (not complete) */
00048 /* #undef _REENTRANT */
00049 
00050 /* debugging stuff */
00051 /* #undef SNMP_NO_DEBUGGING */           /* if defined, we optimize the code
00052                                       to exclude all debugging calls. */
00053 #define SNMP_ALWAYS_DEBUG 0        /* Always print debugging information and
00054                                       ignore the -D flag passed to the cmds */
00055 
00056 /* reverse encoding BER packets is both faster and more efficient in space. */
00057 #define USE_REVERSE_ASNENCODING       1
00058 #define DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */
00059 
00060 /* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
00061    persisant information to this directory in the form of configuration
00062    lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */
00063 #define PERSISTENT_DIRECTORY "/var/ucd-snmp"
00064 
00065 /* PERSISTENT_MASK: the umask permissions to set up the persistent files with */
00066 #define PERSISTENT_MASK 077
00067 
00068 /* AGENT_DIRECTORY_MODE: the mode the agents should use to create
00069    directories with. Since the data stored here is probably sensitive, it
00070    probably should be read-only by root/administrator. */
00071 #define AGENT_DIRECTORY_MODE 0700
00072 
00073 /* MAX_PERSISTENT_BACKUPS:
00074  *   The maximum number of persistent backups the library will try to
00075  *   read from the persistent cache directory.  If an application fails to
00076  *   close down successfully more than this number of times, data will be lost.
00077  */
00078 #define MAX_PERSISTENT_BACKUPS 10
00079 
00080 
00081 /* Define if on AIX 3.
00082    System headers sometimes define this.
00083    We just want to avoid a redefinition error message.  */
00084 #ifndef _ALL_SOURCE
00085 /* #undef _ALL_SOURCE */
00086 #endif
00087 
00088 /* Define if using alloca.c.  */
00089 /* #undef C_ALLOCA */
00090 
00091 /* Define to empty if the keyword does not work.  */
00092 /* #undef const */
00093 
00094 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
00095    This function is required for alloca.c support on those systems.  */
00096 /* #undef CRAY_STACKSEG_END */
00097 
00098 /* Define if you have alloca, as a function or macro.  */
00099 #define HAVE_ALLOCA 1
00100 
00101 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
00102 #define HAVE_ALLOCA_H 1
00103 
00104 /* Define if you have the getmntent function.  */
00105 #define HAVE_GETMNTENT 1
00106 
00107 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
00108 #define HAVE_SYS_WAIT_H 1
00109 
00110 /* Define as __inline if that's what the C compiler calls it.  */
00111 /* #undef inline */
00112 
00113 /* Define to `long' if <sys/types.h> doesn't define.  */
00114 /* #undef off_t */
00115 
00116 /* Define to `int' if <sys/types.h> doesn't define.  */
00117 /* #undef pid_t */
00118 
00119 /* Define as the return type of signal handlers (int or void).  */
00120 #define RETSIGTYPE void
00121 
00122 /* If using the C implementation of alloca, define if you know the
00123    direction of stack growth for your system; otherwise it will be
00124    automatically deduced at run-time.
00125  STACK_DIRECTION > 0 => grows toward higher addresses
00126  STACK_DIRECTION < 0 => grows toward lower addresses
00127  STACK_DIRECTION = 0 => direction of growth unknown
00128  */
00129 /* #undef STACK_DIRECTION */
00130 
00131 /* Define if you have the ANSI C header files.  */
00132 #define STDC_HEADERS 1
00133 
00134 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
00135 #define TIME_WITH_SYS_TIME 1
00136 
00137 /* Define if your processor stores words with the most significant
00138    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
00139 /* #undef WORDS_BIGENDIAN */
00140 
00141 /* define the system type include file here */
00142 #define SYSTEM_INCLUDE_FILE "s/linux.h"
00143 
00144 /* define the machine (cpu) type include file here */
00145 #define MACHINE_INCLUDE_FILE "m/generic.h"
00146 
00147 #define SNMPLIBPATH "/usr/local/lib/snmp"
00148 #define SNMPSHAREPATH "/usr/local/share/snmp"
00149 #define SNMPCONFPATH "/usr/local/etc/snmp"
00150 #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod"
00151 
00152 /* LOGFILE:  If defined it closes stdout/err/in and opens this in out/err's
00153    place.  (stdin is closed so that sh scripts won't wait for it) */
00154 
00155 #define LOGFILE "/var/log/snmpd.log"
00156 
00157 /* default system contact */
00158 #define SYS_CONTACT "hardaker@"
00159 
00160 /* system location */
00161 #define SYS_LOC "Unknown"
00162 
00163 /* Use libwrap to handle allow/deny hosts? */
00164 /* #undef USE_LIBWRAP */
00165 
00166 /* Use dmalloc to do malloc debugging? */
00167 /* #undef HAVE_DMALLOC_H */
00168 
00169 /* location of UNIX kernel */
00170 #define KERNEL_LOC "unknown"
00171 
00172 /* location of mount table list */
00173 #define ETC_MNTTAB "/etc/mtab"
00174 
00175 /* location of swap device (ok if not found) */
00176 /* #undef DMEM_LOC */
00177 
00178 #define PSCMD "/bin/ps -e"
00179 
00180 /* Where is the uname command */
00181 #define UNAMEPROG "/bin/uname"
00182 
00183 /* testing code sections. */
00184 /* #undef SNMP_TESTING_CODE */ 
00185 
00186 /* If you don't have root access don't exit upon kmem errors */
00187 /* #undef NO_ROOT_ACCESS */
00188 
00189 /* If you don't want the agent to report on variables it doesn't have data for */
00190 #define NO_DUMMY_VALUES 1
00191 
00192 /* Define if statfs takes 2 args and the second argument has
00193    type struct fs_data. [Ultrix] */
00194 /* #undef STAT_STATFS_FS_DATA */
00195 
00196 /* Define if the TCP timer constants in <netinet/tcp_timer.h>
00197    depend on the integer variable `hz'.  [FreeBSD 4.x] */
00198 /* #undef TCPTV_NEEDS_HZ */
00199 
00200 /* Define if you have the bcopy function.  */
00201 #define HAVE_BCOPY 1
00202 
00203 /* Define if you have the cgetnext function.  */
00204 /* #undef HAVE_CGETNEXT */
00205 
00206 /* Define if you have the dlopen function.  */
00207 #define HAVE_DLOPEN 1
00208 
00209 /* Define if you have the execv function.  */
00210 #define HAVE_EXECV 1
00211 
00212 /* Define if you have the fork function.  */
00213 #define HAVE_FORK 1
00214 
00215 /* Define if you have the getaddrinfo function.  */
00216 #define HAVE_GETADDRINFO 1
00217 
00218 /* Define if you have the getdtablesize function.  */
00219 #define HAVE_GETDTABLESIZE 1
00220 
00221 /* Define if you have the getfsstat function.  */
00222 /* #undef HAVE_GETFSSTAT */
00223 
00224 /* Define if you have the getgrnam function.  */
00225 #define HAVE_GETGRNAM 1
00226 
00227 /* Define if you have the gethostname function.  */
00228 #define HAVE_GETHOSTNAME 1
00229 
00230 /* Define if you have the getipnodebyname function.  */
00231 /* #undef HAVE_GETIPNODEBYNAME */
00232 
00233 /* Define if you have the getloadavg function.  */
00234 #define HAVE_GETLOADAVG 1
00235 
00236 /* Define if you have the getpagesize function.  */
00237 #define HAVE_GETPAGESIZE 1
00238 
00239 /* Define if you have the getpid function.  */
00240 #define HAVE_GETPID 1
00241 
00242 /* Define if you have the getpwnam function.  */
00243 #define HAVE_GETPWNAM 1
00244 
00245 /* Define if you have the gettimeofday function.  */
00246 #define HAVE_GETTIMEOFDAY 1
00247 
00248 /* Define if you have the if_freenameindex function.  */
00249 #define HAVE_IF_FREENAMEINDEX 1
00250 
00251 /* Define if you have the if_nameindex function.  */
00252 #define HAVE_IF_NAMEINDEX 1
00253 
00254 /* Define if you have the index function.  */
00255 #define HAVE_INDEX 1
00256 
00257 /* Define if you have the knlist function.  */
00258 /* #undef HAVE_KNLIST */
00259 
00260 /* Define if you have the kvm_getprocs function.  */
00261 /* #undef HAVE_KVM_GETPROCS */
00262 
00263 /* Define if you have the kvm_openfiles function.  */
00264 /* #undef HAVE_KVM_OPENFILES */
00265 
00266 /* Define if you have the lrand48 function.  */
00267 #define HAVE_LRAND48 1
00268 
00269 /* Define if you have the memcpy function.  */
00270 #define HAVE_MEMCPY 1
00271 
00272 /* Define if you have the memmove function.  */
00273 #define HAVE_MEMMOVE 1
00274 
00275 /* Define if you have the mkstemp function.  */
00276 #define HAVE_MKSTEMP 1
00277 
00278 /* Define if you have the nlist function.  */
00279 /* #undef HAVE_NLIST */
00280 
00281 /* Define if you have the rand function.  */
00282 #define HAVE_RAND 1
00283 
00284 /* Define if you have the random function.  */
00285 #define HAVE_RANDOM 1
00286 
00287 /* Define if you have the regcomp function.  */
00288 #define HAVE_REGCOMP 1
00289 
00290 /* Define if you have the rpmGetPath function.  */
00291 #define HAVE_RPMGETPATH 1
00292 
00293 /* Define if you have the select function.  */
00294 #define HAVE_SELECT 1
00295 
00296 /* Define if you have the setenv function.  */
00297 #define HAVE_SETENV 1
00298 
00299 /* Define if you have the setgid function.  */
00300 #define HAVE_SETGID 1
00301 
00302 /* Define if you have the setgroups function.  */
00303 #define HAVE_SETGROUPS 1
00304 
00305 /* Define if you have the setitimer function.  */
00306 #define HAVE_SETITIMER 1
00307 
00308 /* Define if you have the setlocale function.  */
00309 #define HAVE_SETLOCALE 1
00310 
00311 /* Define if you have the setmntent function.  */
00312 #define HAVE_SETMNTENT 1
00313 
00314 /* Define if you have the setuid function.  */
00315 #define HAVE_SETUID 1
00316 
00317 /* Define if you have the sigaction function.  */
00318 #define HAVE_SIGACTION 1
00319 
00320 /* Define if you have the sigalrm function.  */
00321 /* #undef HAVE_SIGALRM */
00322 
00323 /* Define if you have the sigblock function.  */
00324 #define HAVE_SIGBLOCK 1
00325 
00326 /* Define if you have the sighold function.  */
00327 #define HAVE_SIGHOLD 1
00328 
00329 /* Define if you have the signal function.  */
00330 #define HAVE_SIGNAL 1
00331 
00332 /* Define if you have the sigset function.  */
00333 #define HAVE_SIGSET 1
00334 
00335 /* Define if you have the snprintf function.  */
00336 #define HAVE_SNPRINTF 1
00337 
00338 /* Define if you have the socket function.  */
00339 #define HAVE_SOCKET 1
00340 
00341 /* Define if you have the statfs function.  */
00342 #define HAVE_STATFS 1
00343 
00344 /* Define if you have the statvfs function.  */
00345 #define HAVE_STATVFS 1
00346 
00347 /* Define if you have the strcasestr function.  */
00348 #define HAVE_STRCASESTR 1
00349 
00350 /* Define if you have the strchr function.  */
00351 #define HAVE_STRCHR 1
00352 
00353 /* Define if you have the strdup function.  */
00354 #define HAVE_STRDUP 1
00355 
00356 /* Define if you have the strerror function.  */
00357 #define HAVE_STRERROR 1
00358 
00359 /* Define if you have the strncasecmp function.  */
00360 #define HAVE_STRNCASECMP 1
00361 
00362 /* Define if you have the strtol function.  */
00363 #define HAVE_STRTOL 1
00364 
00365 /* Define if you have the strtoul function.  */
00366 #define HAVE_STRTOUL 1
00367 
00368 /* Define if you have the system function.  */
00369 #define HAVE_SYSTEM 1
00370 
00371 /* Define if you have the tcgetattr function.  */
00372 #define HAVE_TCGETATTR 1
00373 
00374 /* Define if you have the uname function.  */
00375 #define HAVE_UNAME 1
00376 
00377 /* Define if you have the usleep function.  */
00378 #define HAVE_USLEEP 1
00379 
00380 /* Define if you have the vsnprintf function.  */
00381 #define HAVE_VSNPRINTF 1
00382 
00383 /* Define if you have the <arpa/inet.h> header file.  */
00384 #define HAVE_ARPA_INET_H 1
00385 
00386 /* Define if you have the <asm/page.h> header file.  */
00387 #define HAVE_ASM_PAGE_H 1
00388 
00389 /* Define if you have the <dirent.h> header file.  */
00390 #define HAVE_DIRENT_H 1
00391 
00392 /* Define if you have the <dlfcn.h> header file.  */
00393 #define HAVE_DLFCN_H 1
00394 
00395 /* Define if you have the <err.h> header file.  */
00396 #define HAVE_ERR_H 1
00397 
00398 /* Define if you have the <fcntl.h> header file.  */
00399 #define HAVE_FCNTL_H 1
00400 
00401 /* Define if you have the <fstab.h> header file.  */
00402 #define HAVE_FSTAB_H 1
00403 
00404 /* Define if you have the <getopt.h> header file.  */
00405 #define HAVE_GETOPT_H 1
00406 
00407 /* Define if you have the <grp.h> header file.  */
00408 #define HAVE_GRP_H 1
00409 
00410 /* Define if you have the <inet/mib2.h> header file.  */
00411 /* #undef HAVE_INET_MIB2_H */
00412 
00413 /* Define if you have the <io.h> header file.  */
00414 /* #undef HAVE_IO_H */
00415 
00416 /* Define if you have the <ioctls.h> header file.  */
00417 /* #undef HAVE_IOCTLS_H */
00418 
00419 /* Define if you have the <kstat.h> header file.  */
00420 /* #undef HAVE_KSTAT_H */
00421 
00422 /* Define if you have the <kvm.h> header file.  */
00423 /* #undef HAVE_KVM_H */
00424 
00425 /* Define if you have the <limits.h> header file.  */
00426 #define HAVE_LIMITS_H 1
00427 
00428 /* Define if you have the <linux/hdreg.h> header file.  */
00429 #define HAVE_LINUX_HDREG_H 1
00430 
00431 /* Define if you have the <linux/tasks.h> header file.  */
00432 /* #undef HAVE_LINUX_TASKS_H */
00433 
00434 /* Define if you have the <locale.h> header file.  */
00435 #define HAVE_LOCALE_H 1
00436 
00437 /* Define if you have the <machine/param.h> header file.  */
00438 /* #undef HAVE_MACHINE_PARAM_H */
00439 
00440 /* Define if you have the <machine/pte.h> header file.  */
00441 /* #undef HAVE_MACHINE_PTE_H */
00442 
00443 /* Define if you have the <machine/types.h> header file.  */
00444 /* #undef HAVE_MACHINE_TYPES_H */
00445 
00446 /* Define if you have the <malloc.h> header file.  */
00447 #define HAVE_MALLOC_H 1
00448 
00449 /* Define if you have the <mntent.h> header file.  */
00450 #define HAVE_MNTENT_H 1
00451 
00452 /* Define if you have the <mtab.h> header file.  */
00453 /* #undef HAVE_MTAB_H */
00454 
00455 /* Define if you have the <ndir.h> header file.  */
00456 /* #undef HAVE_NDIR_H */
00457 
00458 /* Define if you have the <net/if.h> header file.  */
00459 #define HAVE_NET_IF_H 1
00460 
00461 /* Define if you have the <net/if_dl.h> header file.  */
00462 /* #undef HAVE_NET_IF_DL_H */
00463 
00464 /* Define if you have the <net/if_mib.h> header file.  */
00465 /* #undef HAVE_NET_IF_MIB_H */
00466 
00467 /* Define if you have the <net/if_types.h> header file.  */
00468 /* #undef HAVE_NET_IF_TYPES_H */
00469 
00470 /* Define if you have the <net/if_var.h> header file.  */
00471 /* #undef HAVE_NET_IF_VAR_H */
00472 
00473 /* Define if you have the <net/route.h> header file.  */
00474 #define HAVE_NET_ROUTE_H 1
00475 
00476 /* Define if you have the <netdb.h> header file.  */
00477 #define HAVE_NETDB_H 1
00478 
00479 /* Define if you have the <netinet/icmp_var.h> header file.  */
00480 /* #undef HAVE_NETINET_ICMP_VAR_H */
00481 
00482 /* Define if you have the <netinet/if_ether.h> header file.  */
00483 #define HAVE_NETINET_IF_ETHER_H 1
00484 
00485 /* Define if you have the <netinet/in.h> header file.  */
00486 #define HAVE_NETINET_IN_H 1
00487 
00488 /* Define if you have the <netinet/in_systm.h> header file.  */
00489 #define HAVE_NETINET_IN_SYSTM_H 1
00490 
00491 /* Define if you have the <netinet/in_var.h> header file.  */
00492 /* #undef HAVE_NETINET_IN_VAR_H */
00493 
00494 /* Define if you have the <netinet/ip.h> header file.  */
00495 #define HAVE_NETINET_IP_H 1
00496 
00497 /* Define if you have the <netinet/ip6.h> header file.  */
00498 #define HAVE_NETINET_IP6_H 1
00499 
00500 /* Define if you have the <netinet/ip_icmp.h> header file.  */
00501 #define HAVE_NETINET_IP_ICMP_H 1
00502 
00503 /* Define if you have the <netinet/ip_var.h> header file.  */
00504 /* #undef HAVE_NETINET_IP_VAR_H */
00505 
00506 /* Define if you have the <netinet/tcp.h> header file.  */
00507 #define HAVE_NETINET_TCP_H 1
00508 
00509 /* Define if you have the <netinet/tcp_fsm.h> header file.  */
00510 /* #undef HAVE_NETINET_TCP_FSM_H */
00511 
00512 /* Define if you have the <netinet/tcp_timer.h> header file.  */
00513 /* #undef HAVE_NETINET_TCP_TIMER_H */
00514 
00515 /* Define if you have the <netinet/tcp_var.h> header file.  */
00516 /* #undef HAVE_NETINET_TCP_VAR_H */
00517 
00518 /* Define if you have the <netinet/tcpip.h> header file.  */
00519 /* #undef HAVE_NETINET_TCPIP_H */
00520 
00521 /* Define if you have the <netinet/udp.h> header file.  */
00522 #define HAVE_NETINET_UDP_H 1
00523 
00524 /* Define if you have the <netinet/udp_var.h> header file.  */
00525 /* #undef HAVE_NETINET_UDP_VAR_H */
00526 
00527 /* Define if you have the <netinet6/in6_pcb.h> header file.  */
00528 /* #undef HAVE_NETINET6_IN6_PCB_H */
00529 
00530 /* Define if you have the <netinet6/in6_var.h> header file.  */
00531 /* #undef HAVE_NETINET6_IN6_VAR_H */
00532 
00533 /* Define if you have the <netinet6/ip6_var.h> header file.  */
00534 /* #undef HAVE_NETINET6_IP6_VAR_H */
00535 
00536 /* Define if you have the <netinet6/nd6.h> header file.  */
00537 /* #undef HAVE_NETINET6_ND6_H */
00538 
00539 /* Define if you have the <netinet6/tcp6.h> header file.  */
00540 /* #undef HAVE_NETINET6_TCP6_H */
00541 
00542 /* Define if you have the <netinet6/tcp6_fsm.h> header file.  */
00543 /* #undef HAVE_NETINET6_TCP6_FSM_H */
00544 
00545 /* Define if you have the <netinet6/tcp6_timer.h> header file.  */
00546 /* #undef HAVE_NETINET6_TCP6_TIMER_H */
00547 
00548 /* Define if you have the <netinet6/tcp6_var.h> header file.  */
00549 /* #undef HAVE_NETINET6_TCP6_VAR_H */
00550 
00551 /* Define if you have the <netipx/ipx.h> header file.  */
00552 #define HAVE_NETIPX_IPX_H 1
00553 
00554 /* Define if you have the <nlist.h> header file.  */
00555 /* #undef HAVE_NLIST_H */
00556 
00557 /* Define if you have the <openssl/evp.h> header file.  */
00558 #define HAVE_OPENSSL_EVP_H 1
00559 
00560 /* Define if you have the <openssl/hmac.h> header file.  */
00561 #define HAVE_OPENSSL_HMAC_H 1
00562 
00563 /* Define if you have the <osreldate.h> header file.  */
00564 /* #undef HAVE_OSRELDATE_H */
00565 
00566 /* Define if you have the <pkginfo.h> header file.  */
00567 /* #undef HAVE_PKGINFO_H */
00568 
00569 /* Define if you have the <pkglocs.h> header file.  */
00570 /* #undef HAVE_PKGLOCS_H */
00571 
00572 /* Define if you have the <pthread.h> header file.  */
00573 #define HAVE_PTHREAD_H 1
00574 
00575 /* Define if you have the <pwd.h> header file.  */
00576 #define HAVE_PWD_H 1
00577 
00578 /* Define if you have the <regex.h> header file.  */
00579 #define HAVE_REGEX_H 1
00580 
00581 /* Define if you have the <rpmio.h> header file.  */
00582 /* #undef HAVE_RPMIO_H */
00583 
00584 /* Define if you have the <sgtty.h> header file.  */
00585 #define HAVE_SGTTY_H 1
00586 
00587 /* Define if you have the <stdarg.h> header file.  */
00588 #define HAVE_STDARG_H 1
00589 
00590 /* Define if you have the <stdlib.h> header file.  */
00591 #define HAVE_STDLIB_H 1
00592 
00593 /* Define if you have the <string.h> header file.  */
00594 #define HAVE_STRING_H 1
00595 
00596 /* Define if you have the <sys/cdefs.h> header file.  */
00597 #define HAVE_SYS_CDEFS_H 1
00598 
00599 /* Define if you have the <sys/conf.h> header file.  */
00600 /* #undef HAVE_SYS_CONF_H */
00601 
00602 /* Define if you have the <sys/dir.h> header file.  */
00603 /* #undef HAVE_SYS_DIR_H */
00604 
00605 /* Define if you have the <sys/diskio.h> header file.  */
00606 /* #undef HAVE_SYS_DISKIO_H */
00607 
00608 /* Define if you have the <sys/disklabel.h> header file.  */
00609 /* #undef HAVE_SYS_DISKLABEL_H */
00610 
00611 /* Define if you have the <sys/dkio.h> header file.  */
00612 /* #undef HAVE_SYS_DKIO_H */
00613 
00614 /* Define if you have the <sys/dmap.h> header file.  */
00615 /* #undef HAVE_SYS_DMAP_H */
00616 
00617 /* Define if you have the <sys/file.h> header file.  */
00618 #define HAVE_SYS_FILE_H 1
00619 
00620 /* Define if you have the <sys/filio.h> header file.  */
00621 /* #undef HAVE_SYS_FILIO_H */
00622 
00623 /* Define if you have the <sys/fixpoint.h> header file.  */
00624 /* #undef HAVE_SYS_FIXPOINT_H */
00625 
00626 /* Define if you have the <sys/fs.h> header file.  */
00627 /* #undef HAVE_SYS_FS_H */
00628 
00629 /* Define if you have the <sys/hashing.h> header file.  */
00630 /* #undef HAVE_SYS_HASHING_H */
00631 
00632 /* Define if you have the <sys/ioctl.h> header file.  */
00633 #define HAVE_SYS_IOCTL_H 1
00634 
00635 /* Define if you have the <sys/loadavg.h> header file.  */
00636 /* #undef HAVE_SYS_LOADAVG_H */
00637 
00638 /* Define if you have the <sys/mbuf.h> header file.  */
00639 /* #undef HAVE_SYS_MBUF_H */
00640 
00641 /* Define if you have the <sys/mntent.h> header file.  */
00642 /* #undef HAVE_SYS_MNTENT_H */
00643 
00644 /* Define if you have the <sys/mnttab.h> header file.  */
00645 /* #undef HAVE_SYS_MNTTAB_H */
00646 
00647 /* Define if you have the <sys/mount.h> header file.  */
00648 #define HAVE_SYS_MOUNT_H 1
00649 
00650 /* Define if you have the <sys/ndir.h> header file.  */
00651 /* #undef HAVE_SYS_NDIR_H */
00652 
00653 /* Define if you have the <sys/param.h> header file.  */
00654 #define HAVE_SYS_PARAM_H 1
00655 
00656 /* Define if you have the <sys/pool.h> header file.  */
00657 /* #undef HAVE_SYS_POOL_H */
00658 
00659 /* Define if you have the <sys/proc.h> header file.  */
00660 /* #undef HAVE_SYS_PROC_H */
00661 
00662 /* Define if you have the <sys/protosw.h> header file.  */
00663 /* #undef HAVE_SYS_PROTOSW_H */
00664 
00665 /* Define if you have the <sys/pstat.h> header file.  */
00666 /* #undef HAVE_SYS_PSTAT_H */
00667 
00668 /* Define if you have the <sys/queue.h> header file.  */
00669 #define HAVE_SYS_QUEUE_H 1
00670 
00671 /* Define if you have the <sys/select.h> header file.  */
00672 #define HAVE_SYS_SELECT_H 1
00673 
00674 /* Define if you have the <sys/socket.h> header file.  */
00675 #define HAVE_SYS_SOCKET_H 1
00676 
00677 /* Define if you have the <sys/socketvar.h> header file.  */
00678 #define HAVE_SYS_SOCKETVAR_H 1
00679 
00680 /* Define if you have the <sys/sockio.h> header file.  */
00681 /* #undef HAVE_SYS_SOCKIO_H */
00682 
00683 /* Define if you have the <sys/stat.h> header file.  */
00684 #define HAVE_SYS_STAT_H 1
00685 
00686 /* Define if you have the <sys/statfs.h> header file.  */
00687 #define HAVE_SYS_STATFS_H 1
00688 
00689 /* Define if you have the <sys/statvfs.h> header file.  */
00690 #define HAVE_SYS_STATVFS_H 1
00691 
00692 /* Define if you have the <sys/stream.h> header file.  */
00693 /* #undef HAVE_SYS_STREAM_H */
00694 
00695 /* Define if you have the <sys/swap.h> header file.  */
00696 #define HAVE_SYS_SWAP_H 1
00697 
00698 /* Define if you have the <sys/sysctl.h> header file.  */
00699 #define HAVE_SYS_SYSCTL_H 1
00700 
00701 /* Define if you have the <sys/sysmp.h> header file.  */
00702 /* #undef HAVE_SYS_SYSMP_H */
00703 
00704 /* Define if you have the <sys/tcpipstats.h> header file.  */
00705 /* #undef HAVE_SYS_TCPIPSTATS_H */
00706 
00707 /* Define if you have the <sys/time.h> header file.  */
00708 #define HAVE_SYS_TIME_H 1
00709 
00710 /* Define if you have the <sys/un.h> header file.  */
00711 #define HAVE_SYS_UN_H 1
00712 
00713 /* Define if you have the <sys/user.h> header file.  */
00714 #define HAVE_SYS_USER_H 1
00715 
00716 /* Define if you have the <sys/utsname.h> header file.  */
00717 #define HAVE_SYS_UTSNAME_H 1
00718 
00719 /* Define if you have the <sys/vfs.h> header file.  */
00720 #define HAVE_SYS_VFS_H 1
00721 
00722 /* Define if you have the <sys/vm.h> header file.  */
00723 /* #undef HAVE_SYS_VM_H */
00724 
00725 /* Define if you have the <sys/vmmac.h> header file.  */
00726 /* #undef HAVE_SYS_VMMAC_H */
00727 
00728 /* Define if you have the <sys/vmmeter.h> header file.  */
00729 /* #undef HAVE_SYS_VMMETER_H */
00730 
00731 /* Define if you have the <sys/vmparam.h> header file.  */
00732 /* #undef HAVE_SYS_VMPARAM_H */
00733 
00734 /* Define if you have the <sys/vmsystm.h> header file.  */
00735 /* #undef HAVE_SYS_VMSYSTM_H */
00736 
00737 /* Define if you have the <sys/vnode.h> header file.  */
00738 /* #undef HAVE_SYS_VNODE_H */
00739 
00740 /* Define if you have the <syslog.h> header file.  */
00741 #define HAVE_SYSLOG_H 1
00742 
00743 /* Define if you have the <ufs/ffs/fs.h> header file.  */
00744 /* #undef HAVE_UFS_FFS_FS_H */
00745 
00746 /* Define if you have the <ufs/fs.h> header file.  */
00747 /* #undef HAVE_UFS_FS_H */
00748 
00749 /* Define if you have the <ufs/ufs/dinode.h> header file.  */
00750 /* #undef HAVE_UFS_UFS_DINODE_H */
00751 
00752 /* Define if you have the <ufs/ufs/inode.h> header file.  */
00753 /* #undef HAVE_UFS_UFS_INODE_H */
00754 
00755 /* Define if you have the <ufs/ufs/quota.h> header file.  */
00756 /* #undef HAVE_UFS_UFS_QUOTA_H */
00757 
00758 /* Define if you have the <unistd.h> header file.  */
00759 #define HAVE_UNISTD_H 1
00760 
00761 /* Define if you have the <utmpx.h> header file.  */
00762 #define HAVE_UTMPX_H 1
00763 
00764 /* Define if you have the <utsname.h> header file.  */
00765 /* #undef HAVE_UTSNAME_H */
00766 
00767 /* Define if you have the <vm/swap_pager.h> header file.  */
00768 /* #undef HAVE_VM_SWAP_PAGER_H */
00769 
00770 /* Define if you have the <vm/vm.h> header file.  */
00771 /* #undef HAVE_VM_VM_H */
00772 
00773 /* Define if you have the <winsock.h> header file.  */
00774 /* #undef HAVE_WINSOCK_H */
00775 
00776 /* Define if you have the <xti.h> header file.  */
00777 /* #undef HAVE_XTI_H */
00778 
00779 /* Define if you have the RSAglue library (-lRSAglue).  */
00780 /* #undef HAVE_LIBRSAGLUE */
00781 
00782 /* Define if you have the crypto library (-lcrypto).  */
00783 #define HAVE_LIBCRYPTO 1
00784 
00785 /* Define if you have the dl library (-ldl).  */
00786 #define HAVE_LIBDL 1
00787 
00788 /* Define if you have the efence library (-lefence).  */
00789 /* #undef HAVE_LIBEFENCE */
00790 
00791 /* Define if you have the elf library (-lelf).  */
00792 /* #undef HAVE_LIBELF */
00793 
00794 /* Define if you have the kstat library (-lkstat).  */
00795 /* #undef HAVE_LIBKSTAT */
00796 
00797 /* Define if you have the kvm library (-lkvm).  */
00798 /* #undef HAVE_LIBKVM */
00799 
00800 /* Define if you have the m library (-lm).  */
00801 #define HAVE_LIBM 1
00802 
00803 /* Define if you have the mld library (-lmld).  */
00804 /* #undef HAVE_LIBMLD */
00805 
00806 /* Define if you have the nsl library (-lnsl).  */
00807 /* #undef HAVE_LIBNSL */
00808 
00809 /* Define if you have the popt library (-lpopt).  */
00810 #define HAVE_LIBPOPT 1
00811 
00812 /* Define if you have the rpmio library (-lrpmio).  */
00813 #define HAVE_LIBRPMIO 1
00814 
00815 /* Define if you have the rsaref library (-lrsaref).  */
00816 /* #undef HAVE_LIBRSAREF */
00817 
00818 /* Define if you have the z library (-lz).  */
00819 #define HAVE_LIBZ 1
00820 
00821 /* define if you have <netinet/in_pcb.h> */
00822 /* #undef HAVE_NETINET_IN_PCB_H */
00823 
00824 /* define if you are using linux and /proc/net/dev has the compressed
00825    field, which exists in linux kernels 2.2 and greater. */
00826 /* #undef PROC_NET_DEV_HAS_COMPRESSED */
00827 
00828 /* define rtentry to ortentry on SYSV machines (alphas) */
00829 #define RTENTRY struct rtentry
00830 
00831 /* Use BSD 4.4 routing table entries? */
00832 /* #undef RTENTRY_4_4 */
00833 
00834 /* Does struct sigaction have a sa_sigaction field? */
00835 #define STRUCT_SIGACTION_HAS_SA_SIGACTION 1
00836 
00837 /* Does struct sockaddr have a sa_len field? */
00838 /* #undef STRUCT_SOCKADDR_HAS_SA_LEN */
00839 
00840 /* Does struct sockaddr have a sa_family2 field? */
00841 /* #undef STRUCT_SOCKADDR_HAS_SA_UNION_SA_GENERIC_SA_FAMILY2 */
00842 
00843 /* rtentry structure tests */
00844 /* #undef RTENTRY_RT_NEXT */
00845 #define STRUCT_RTENTRY_HAS_RT_DST 1
00846 /* #undef STRUCT_RTENTRY_HAS_RT_UNIT */
00847 /* #undef STRUCT_RTENTRY_HAS_RT_USE */
00848 /* #undef STRUCT_RTENTRY_HAS_RT_REFCNT */
00849 /* #undef STRUCT_RTENTRY_HAS_RT_HASH */
00850 
00851 /* ifnet structure tests */
00852 /* #undef STRUCT_IFNET_HAS_IF_BAUDRATE */
00853 /* #undef STRUCT_IFNET_HAS_IF_BAUDRATE_IFS_VALUE */
00854 #define STRUCT_IFNET_HAS_IF_SPEED 1
00855 #define STRUCT_IFNET_HAS_IF_TYPE 1
00856 /* #undef STRUCT_IFNET_HAS_IF_IMCASTS */
00857 #define STRUCT_IFNET_HAS_IF_IQDROPS 1
00858 /* #undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC */
00859 /* #undef STRUCT_IFNET_HAS_IF_NOPROTO */
00860 /* #undef STRUCT_IFNET_HAS_IF_OMCASTS */
00861 /* #undef STRUCT_IFNET_HAS_IF_XNAME */
00862 #define STRUCT_IFNET_HAS_IF_OBYTES 1
00863 #define STRUCT_IFNET_HAS_IF_IBYTES 1
00864 /* #undef STRUCT_IFNET_HAS_IF_ADDRLIST */
00865 
00866 /* tcpstat.tcps_rcvmemdrop */
00867 /* #undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP */
00868 
00869 /* udpstat.udps_discard */
00870 /* #undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD */
00871 
00872 /* udpstat.udps_discard */
00873 /* #undef STRUCT_UDPSTAT_HAS_UDPS_NOPORT */
00874 
00875 /* udpstat.udps_discard */
00876 /* #undef STRUCT_UDPSTAT_HAS_UDPS_NOPORTBCAST */
00877 
00878 /* udpstat.udps_discard */
00879 /* #undef STRUCT_UDPSTAT_HAS_UDPS_FULLSOCK */
00880 
00881 /* arphd.at_next */
00882 /* #undef STRUCT_ARPHD_HAS_AT_NEXT */
00883 
00884 /* ifaddr.ifa_next */
00885 #define STRUCT_IFADDR_HAS_IFA_NEXT 1
00886 
00887 /* ifnet.if_mtu */
00888 /* #undef STRUCT_IFNET_HAS_IF_MTU */
00889 
00890 /* swdevt.sw_nblksenabled */
00891 /* #undef STRUCT_SWDEVT_HAS_SW_NBLKSENABLED */
00892 
00893 /* nlist.n_value */
00894 /* #undef STRUCT_NLIST_HAS_N_VALUE */
00895 
00896 /* ipstat structure tests */
00897 /* #undef STRUCT_IPSTAT_HAS_IPS_CANTFORWARD */
00898 /* #undef STRUCT_IPSTAT_HAS_IPS_CANTFRAG */
00899 /* #undef STRUCT_IPSTAT_HAS_IPS_DELIVERED */
00900 /* #undef STRUCT_IPSTAT_HAS_IPS_FRAGDROPPED */
00901 /* #undef STRUCT_IPSTAT_HAS_IPS_FRAGTIMEOUT */
00902 /* #undef STRUCT_IPSTAT_HAS_IPS_LOCALOUT */
00903 /* #undef STRUCT_IPSTAT_HAS_IPS_NOPROTO */
00904 /* #undef STRUCT_IPSTAT_HAS_IPS_NOROUTE */
00905 /* #undef STRUCT_IPSTAT_HAS_IPS_ODROPPED */
00906 /* #undef STRUCT_IPSTAT_HAS_IPS_OFRAGMENTS */
00907 /* #undef STRUCT_IPSTAT_HAS_IPS_REASSEMBLED */
00908 
00909 /* vfsstat.f_frsize */
00910 #define STRUCT_STATVFS_HAS_F_FRSIZE 1
00911 
00912 /* vfsstat.f_files */
00913 #define STRUCT_STATVFS_HAS_F_FILES 1
00914 
00915 /* ifnet needs to have _KERNEL defined */
00916 /* #undef IFNET_NEEDS_KERNEL */
00917 
00918 /* sysctl works to get boottime, etc... */
00919 /* #undef CAN_USE_SYSCTL */
00920 
00921 /* type check for in_addr_t */
00922 /* #undef in_addr_t */
00923 
00924 /* define if SIOCGIFADDR exists in sys/ioctl.h */
00925 #define SYS_IOCTL_H_HAS_SIOCGIFADDR 1
00926 
00927 /* define if your compiler (processor) defines __FUNCTION__ for you */
00928 #define HAVE_CPP_UNDERBAR_FUNCTION_DEFINED 1
00929 
00930 /* Mib-2 tree Info */
00931 /* These are the system information variables. */
00932 
00933 #define VERS_DESC   "unknown"             /* overridden at run time */
00934 #define SYS_NAME    "unknown"             /* overridden at run time */
00935 
00936 /* comment out the second define to turn off functionality for any of
00937    these: (See README for details) */
00938 
00939 /*   proc PROCESSNAME [MAX] [MIN] */
00940 #define PROCMIBNUM 2
00941 
00942 /*   exec/shell NAME COMMAND      */
00943 #define SHELLMIBNUM 8
00944 
00945 /*   swap MIN                     */
00946 #define MEMMIBNUM 4
00947 
00948 /*   disk DISK MINSIZE            */
00949 #define DISKMIBNUM 9
00950 
00951 /*   load 1 5 15                  */
00952 #define LOADAVEMIBNUM 10
00953 
00954 /* which version are you using? This mibloc will tell you */
00955 #define VERSIONMIBNUM 100
00956 
00957 /* Reports errors the agent runs into */
00958 /* (typically its "can't fork, no mem" problems) */
00959 #define ERRORMIBNUM 101
00960 
00961 /* The sub id of EXENSIBLEMIB returned to queries of
00962    .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 */
00963 #define AGENTID 250
00964 
00965 /* This ID is returned after the AGENTID above.  IE, the resulting
00966    value returned by a query to sysObjectID is
00967    EXTENSIBLEMIB.AGENTID.???, where ??? is defined below by OSTYPE */
00968 
00969 #define HPUX9ID 1
00970 #define SUNOS4ID 2 
00971 #define SOLARISID 3
00972 #define OSFID 4
00973 #define ULTRIXID 5
00974 #define HPUX10ID 6
00975 #define NETBSD1ID 7
00976 #define FREEBSDID 8
00977 #define IRIXID 9
00978 #define LINUXID 10
00979 #define BSDIID 11
00980 #define OPENBSDID 12
00981 #define UNKNOWNID 255
00982 
00983 #ifdef hpux9
00984 #define OSTYPE HPUX9ID
00985 #endif
00986 #ifdef hpux10
00987 #define OSTYPE HPUX10ID
00988 #endif
00989 #ifdef sunos4
00990 #define OSTYPE SUNOS4ID
00991 #endif
00992 #ifdef solaris2
00993 #define OSTYPE SOLARISID
00994 #endif
00995 #if defined(osf3) || defined(osf4)
00996 #define OSTYPE OSFID
00997 #endif
00998 #ifdef ultrix4
00999 #define OSTYPE ULTRIXID
01000 #endif
01001 #ifdef netbsd1
01002 #define OSTYPE NETBSD1ID
01003 #endif
01004 #ifdef freebsd2
01005 #define OSTYPE FREEBSDID
01006 #endif
01007 #if defined(irix6) || defined(irix5)
01008 #define OSTYPE IRIXID
01009 #endif
01010 #ifdef linux
01011 #define OSTYPE LINUXID
01012 #endif
01013 #if defined(bsdi2) || defined(bsdi3)
01014 #define OSTYPE BSDIID
01015 #endif
01016 #ifdef openbsd2
01017 #define OSTYPE OPENBSDID
01018 #endif
01019 /* unknown */
01020 #ifndef OSTYPE
01021 #define OSTYPE UNKNOWNID
01022 #endif
01023 
01024 /* The enterprise number has been assigned by the IANA group.   */
01025 /* Optionally, this may point to the location in the tree your  */
01026 /* company/organization has been allocated.                     */
01027 /* The assigned enterprise number for the NET_SNMP MIB modules. */
01028 #define ENTERPRISE_OID                  8072
01029 #define ENTERPRISE_MIB                  1,3,6,1,4,1,8072
01030 #define ENTERPRISE_DOT_MIB              1.3.6.1.4.1.8072
01031 #define ENTERPRISE_DOT_MIB_LENGTH       7
01032 
01033 /* The assigned enterprise number for sysObjectID. */
01034 #define SYSTEM_MIB              1,3,6,1,4,1,2021,AGENTID,OSTYPE
01035 #define SYSTEM_DOT_MIB          1.3.6.1.4.1.2021.AGENTID.OSTYPE
01036 #define SYSTEM_DOT_MIB_LENGTH   9
01037 
01038 /* The assigned enterprise number for notifications. */
01039 #define NOTIFICATION_MIB                1,3,6,1,4,1,2021,251
01040 #define NOTIFICATION_DOT_MIB            1.3.6.1.4.1.2021.251
01041 #define NOTIFICATION_DOT_MIB_LENGTH     8
01042 
01043 /* this is the location of the ucdavis mib tree.  It shouldn't be
01044    changed, as the places it is used are expected to be constant
01045    values or are directly tied to the UCD-SNMP-MIB. */
01046 #define UCDAVIS_OID             2021
01047 #define UCDAVIS_MIB             1,3,6,1,4,1,2021
01048 #define UCDAVIS_DOT_MIB         1.3.6.1.4.1.2021
01049 #define UCDAVIS_DOT_MIB_LENGTH  7
01050 
01051 /* how long to wait (seconds) for error querys before reseting the error trap.*/
01052 #define ERRORTIMELENGTH 600 
01053 
01054 /* Exec command to fix PROC problems */
01055 /* %s will be replaced by the process name in error */
01056 
01057 /* #define PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
01058 
01059 /* Exec command to fix EXEC problems */
01060 /* %s will be replaced by the exec/script name in error */
01061 
01062 /* #define EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
01063 
01064 /* Should exec output Cashing be used (speeds up things greatly), and
01065    if so, After how many seconds should the cache re-newed?  Note:
01066    Don't define CASHETIME to disable cashing completely */
01067 
01068 #define EXCACHETIME 30
01069 #define CACHEFILE ".snmp-exec-cache"
01070 #define MAXCACHESIZE (200*80)   /* roughly 200 lines max */
01071 
01072 #define MAXDISKS 50                      /* can't scan more than this number */
01073 
01074 /* misc defaults */
01075 
01076 /* default of 100 meg minimum if the minimum size is not specified in
01077    the config file */
01078 #define DEFDISKMINIMUMSPACE 100000
01079 
01080 #define DEFMAXLOADAVE 12.0      /* default maximum load average before error */
01081 
01082 #define MAXREADCOUNT 100   /* max times to loop reading output from
01083                               execs.  Because of sleep(1)s, this will also
01084                               be time to wait (in seconds) for exec to finish */
01085 
01086 #define SNMPBLOCK 1       /* Set to 1 if you want snmpgets to block and never
01087                              timeout.  Original CMU code had this
01088                              hardcoded into the code as = 1 */
01089 
01090 #define RESTARTSLEEP 5    /* How long to wait after a snmpset to
01091                              EXTENSIBLEMIB.VERSIONMIBNUM.VERRESTARTAGENT
01092                              before restarting the agent.  This is
01093                              necessary to finish the snmpset reply
01094                              before restarting. */
01095 
01096 /* Number of community strings to store */
01097 #define NUM_COMMUNITIES 5
01098 
01099 /* UNdefine to allow specifying zero-length community string */
01100 /* #define NO_ZEROLENGTH_COMMUNITY 1 */
01101 
01102 /* #define EXIT_ON_BAD_KLREAD  */
01103 /* define to exit the agent on a bad kernel read */
01104 
01105 #define LASTFIELD -1      /* internal define */
01106 
01107 /* configure options specified */
01108 #define CONFIGURE_OPTIONS " '--with-cflags=-g -I/home/hardaker/src/smip/iptables/include' '--with-libs=-L/home/hardaker/src/smip/iptables/libiptc -liptc' '--with-mib-modules=testhandler testdelayed examples/example agent/nsTransactionTable' --without-efence '--with-mib-modules=policy host'"
01109 
01110 #ifndef HAVE_STRCHR
01111 #ifdef HAVE_INDEX
01112 # define strchr index
01113 # define strrchr rindex
01114 #endif
01115 #endif
01116 
01117 #ifndef HAVE_INDEX
01118 #ifdef HAVE_STRCHR
01119 # define index strchr
01120 # define rindex strrchr
01121 #endif
01122 #endif
01123 
01124 #ifndef HAVE_MEMCPY
01125 #ifdef HAVE_BCOPY
01126 # define memcpy(d, s, n) bcopy ((s), (d), (n))
01127 # define memmove(d, s, n) bcopy ((s), (d), (n))
01128 # define memcmp bcmp
01129 #endif
01130 #endif
01131 
01132 #ifndef HAVE_MEMMOVE
01133 #ifdef HAVE_MEMCPY
01134 # define memmove memcpy
01135 #endif
01136 #endif
01137 
01138 #ifndef HAVE_BCOPY
01139 #ifdef HAVE_MEMCPY
01140 # define bcopy(s, d, n) memcpy ((d), (s), (n))
01141 # define bzero(p,n) memset((p),(0),(n))
01142 # define bcmp memcmp
01143 #endif
01144 #endif
01145 
01146 
01147 /* define random functions */
01148 
01149 #ifndef HAVE_RANDOM
01150 #ifdef HAVE_LRAND48
01151 #define random lrand48
01152 #define srandom(s) srand48(s)
01153 #else
01154 #ifdef HAVE_RAND
01155 #define random rand
01156 #define srandom(s) srand(s)
01157 #endif
01158 #endif
01159 #endif
01160 
01161 /* define signal if DNE */
01162 
01163 #ifndef HAVE_SIGNAL
01164 #ifdef HAVE_SIGSET
01165 #define signal(a,b) sigset(a,b)
01166 #endif
01167 #endif
01168 
01169 /* define if you have librpm and libdb */
01170 #define HAVE_LIBDB 1
01171 #define HAVE_LIBRPM 1
01172 
01173 /* define if you have pkginfo */
01174 /* #undef HAVE_PKGINFO */
01175 
01176 /* define if you have gethostbyname */
01177 #define HAVE_GETHOSTBYNAME 1
01178 
01179 /* define if you have getservbyname */
01180 #define HAVE_GETSERVBYNAME 1
01181 
01182 /* printing system */
01183 #define HAVE_LPSTAT 1
01184 #define LPSTAT_PATH "/usr/bin/lpstat"
01185 #define HAVE_PRINTCAP 1
01186 
01187 /*  Pluggable transports.  */
01188 
01189 /*  This is defined if support for the UDP/IP transport domain is
01190     available.   */
01191 #define SNMP_TRANSPORT_UDP_DOMAIN 1
01192 
01193 /*  This is defined if support for the TCP/IP transport domain is
01194     available.  */
01195 #define SNMP_TRANSPORT_TCP_DOMAIN 1
01196 
01197 /*  This is defined if support for the Unix transport domain
01198     (a.k.a. "local IPC") is available.  */
01199 #define SNMP_TRANSPORT_UNIX_DOMAIN 1
01200 
01201 /*  This is defined if support for the AAL5 PVC transport domain is
01202     available.  */
01203 /* #undef SNMP_TRANSPORT_AAL5PVC_DOMAIN */
01204 
01205 /*  This is defined if support for the IPX transport domain is
01206     available.  */
01207 /* #undef SNMP_TRANSPORT_IPX_DOMAIN */
01208 
01209 /*  This is defined if support for the UDP/IPv6 transport domain is
01210     available.  */
01211 /* #undef SNMP_TRANSPORT_UDPIPV6_DOMAIN */
01212 
01213 /*  This is defined if support for the TCP/IPv6 transport domain is
01214     available.  */
01215 /* #undef SNMP_TRANSPORT_TCPIPV6_DOMAIN */
01216 
01217 /* define this if the USM security module is available */
01218 #define SNMP_SECMOD_USM 1
01219 
01220 /* define this if the KSM (kerberos based snmp) security module is available */
01221 /* #undef SNMP_SECMOD_KSM */
01222 
01223 /* define this if we're using the new MIT crypto API */
01224 /* #undef MIT_NEW_CRYPTO */
01225 
01226 /* define if you want to build with reentrant/threaded code */
01227 /* #undef NS_REENTRANT */
01228 
01229 /* Not-to-be-compiled macros for use by configure only */
01230 #define config_require(x)
01231 #define config_arch_require(x,y)
01232 #define config_parse_dot_conf(w,x,y,z)
01233 #define config_add_mib(x)
01234   
01235 #ifdef WIN32
01236 #define ENV_SEPARATOR ";"
01237 #define ENV_SEPARATOR_CHAR ';'
01238 #else
01239 #define ENV_SEPARATOR ":"
01240 #define ENV_SEPARATOR_CHAR ':'
01241 #endif
01242 
01243 #include SYSTEM_INCLUDE_FILE
01244 #include MACHINE_INCLUDE_FILE
01245 
01246 #if defined(HAVE_NLIST) && defined(STRUCT_NLIST_HAS_N_VALUE) && !defined(DONT_USE_NLIST)
01247 #define CAN_USE_NLIST
01248 #endif
01249 
01250 #if HAVE_DMALLOC_H
01251 #define DMALLOC_FUNC_CHECK
01252 #endif
01253 
01254 /* #undef INET6 */
01255 
[an error occurred while processing this directive]

[an error occurred while processing this directive] Sun Dec 23 15:52:50 2001 for net-snmp by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001
[an error occurred while processing this directive]

Valid CSS!


Last modified: Wednesday, 01-Aug-2018 04:41:28 UTC
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.