Blame win32/config.h.borland

Packit Service b38f0b
/* config.h:  a general config file */
Packit Service b38f0b
Packit Service b38f0b
/* Define IN_UCD_SNMP_SOURCE if compiling inside the ucd-snmp source tree */
Packit Service b38f0b
#define IN_UCD_SNMP_SOURCE 1
Packit Service b38f0b
Packit Service b38f0b
/* UC-Davis' IANA-assigned enterprise number is 2021 */
Packit Service b38f0b
#define ENTERPRISE_NUMBER 2021
Packit Service b38f0b
Packit Service b38f0b
/* don't change these values! */
Packit Service b38f0b
#define NETSNMP_SNMPV1      0xAAAA       /* readable by anyone */
Packit Service b38f0b
#define NETSNMP_SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */
Packit Service b38f0b
#define NETSNMP_SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
Packit Service b38f0b
Packit Service b38f0b
/* default list of mibs to load */
Packit Service b38f0b
#define NETSNMP_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"
Packit Service b38f0b
Packit Service b38f0b
/* default location to look for mibs to load using the above tokens
Packit Service b38f0b
   and/or those in the MIBS envrionment variable*/
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_DEFAULT_MIBDIRS "/USR/MIBS"
Packit Service b38f0b
Packit Service b38f0b
/* default mib files to load, specified by path. */
Packit Service b38f0b
Packit Service b38f0b
#undef NETSNMP_DEFAULT_MIBFILES
Packit Service b38f0b
Packit Service b38f0b
/* should we compile to use special opaque types: float, double,
Packit Service b38f0b
   counter64, i64, ui64, union? */
Packit Service b38f0b
#define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
Packit Service b38f0b
Packit Service b38f0b
/* comment the next line if you are compiling with libsnmp.h
Packit Service b38f0b
   and are not using the UC-Davis SNMP library. */
Packit Service b38f0b
#define UCD_SNMP_LIBRARY 1
Packit Service b38f0b
Packit Service b38f0b
/* define if you want to compile support for both authentication and
Packit Service b38f0b
   privacy support. */
Packit Service b38f0b
#define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
Packit Service b38f0b
Packit Service b38f0b
/* define if you are using the internal MD5 code */
Packit Service b38f0b
#define NETSNMP_USE_INTERNAL_MD5 1
Packit Service b38f0b
Packit Service b38f0b
/* add in recent CMU library extensions (not complete) */
Packit Service b38f0b
#define CMU_COMPATIBLE 1
Packit Service b38f0b
Packit Service b38f0b
/* should "--" comments in mibs be a comment till the end of the line
Packit Service b38f0b
   or also until another "--", the latter being the technically
Packit Service b38f0b
   correct. */
Packit Service b38f0b
#undef MIB_COMMENT_IS_EOL_TERMINATED
Packit Service b38f0b
Packit Service b38f0b
/* debugging stuff */
Packit Service b38f0b
#undef NETSNMP_NO_DEBUGGING           /* if defined, we optimize the code
Packit Service b38f0b
                                      to exclude all debugging calls. */
Packit Service b38f0b
#define NETSNMP_ALWAYS_DEBUG 0        /* Always print debugging information and
Packit Service b38f0b
                                      ignore the -D flag passed to the cmds */
Packit Service b38f0b
Packit Service b38f0b
/* Define if using alloca.c.  */
Packit Service b38f0b
#undef C_ALLOCA
Packit Service b38f0b
Packit Service b38f0b
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
Packit Service b38f0b
   This function is required for alloca.c support on those systems.  */
Packit Service b38f0b
#undef CRAY_STACKSEG_END
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have alloca, as a function or macro.  */
Packit Service b38f0b
#undef HAVE_ALLOCA
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
Packit Service b38f0b
#undef HAVE_ALLOCA_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the getmntent function.  */
Packit Service b38f0b
#undef HAVE_GETMNTENT
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
Packit Service b38f0b
#undef HAVE_SYS_WAIT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define to `long' if <sys/types.h> doesn't define.  */
Packit Service b38f0b
#undef off_t
Packit Service b38f0b
Packit Service b38f0b
/* Define to `int' if <sys/types.h> doesn't define.  */
Packit Service b38f0b
#undef pid_t
Packit Service b38f0b
Packit Service b38f0b
/* Define as the return type of signal handlers (int or void).  */
Packit Service b38f0b
#define RETSIGTYPE void
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have raise() instead of alarm() */
Packit Service b38f0b
Packit Service b38f0b
#define HAVE_RAISE 1
Packit Service b38f0b
Packit Service b38f0b
/* If using the C implementation of alloca, define if you know the
Packit Service b38f0b
   direction of stack growth for your system; otherwise it will be
Packit Service b38f0b
   automatically deduced at run-time.
Packit Service b38f0b
 STACK_DIRECTION > 0 => grows toward higher addresses
Packit Service b38f0b
 STACK_DIRECTION < 0 => grows toward lower addresses
Packit Service b38f0b
 STACK_DIRECTION = 0 => direction of growth unknown
Packit Service b38f0b
 */
Packit Service b38f0b
#undef STACK_DIRECTION
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the ANSI C header files.  */
Packit Service b38f0b
#define STDC_HEADERS 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you can safely include both <sys/time.h> and <time.h>.  */
Packit Service b38f0b
#define TIME_WITH_SYS_TIME 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the gettimeofday function.  */
Packit Service b38f0b
#undef HAVE_GETTIMEOFDAY
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/time.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_TIME_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if your processor stores words with the most significant
Packit Service b38f0b
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
Packit Service b38f0b
#undef WORDS_BIGENDIAN
Packit Service b38f0b
Packit Service b38f0b
#define SNMPDLMODPATH "/USR/LIB/DLMOD"
Packit Service b38f0b
#define SNMPLIBPATH "/USR/LIB"
Packit Service b38f0b
#define SNMPSHAREPATH "/USR/SHARE/SNMP"
Packit Service b38f0b
#define SNMPCONFPATH "/USR"
Packit Service b38f0b
Packit Service b38f0b
/* SNMPPATH contains (more) important files */
Packit Service b38f0b
Packit Service b38f0b
#undef SNMPPATH
Packit Service b38f0b
Packit Service b38f0b
/* NETSNMP_LOGFILE:  If defined it closes stdout/err/in and opens this in out/err's
Packit Service b38f0b
   place.  (stdin is closed so that sh scripts won't wait for it) */
Packit Service b38f0b
Packit Service b38f0b
#undef NETSNMP_LOGFILE
Packit Service b38f0b
Packit Service b38f0b
/* NETSNMP_PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
Packit Service b38f0b
   persisant information to this directory in the form of configuration
Packit Service b38f0b
   lines: NETSNMP_PERSISTENT_DIRECTORY/NAME.persistent.conf */
Packit Service b38f0b
#define NETSNMP_PERSISTENT_DIRECTORY "/USR/SNMP/PERSIST"
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_MAX_PERSISTENT_BACKUPS 10
Packit Service b38f0b
/* default system contact */
Packit Service b38f0b
#define NETSNMP_SYS_CONTACT "unknown"
Packit Service b38f0b
Packit Service b38f0b
/* system location */
Packit Service b38f0b
#define NETSNMP_SYS_LOC "unknown"
Packit Service b38f0b
Packit Service b38f0b
/* location of UNIX kernel */
Packit Service b38f0b
#define KERNEL_LOC "unknown"
Packit Service b38f0b
Packit Service b38f0b
/* location of mount table list */
Packit Service b38f0b
#define ETC_MNTTAB "unknown"
Packit Service b38f0b
Packit Service b38f0b
/* location of swap device (ok if not found) */
Packit Service b38f0b
#undef DMEM_LOC
Packit Service b38f0b
Packit Service b38f0b
/* define rtentry to ortentry on SYSV machines (alphas) */
Packit Service b38f0b
#define RTENTRY rtentry;
Packit Service b38f0b
Packit Service b38f0b
/* Use BSD 4.4 routing table entries? */
Packit Service b38f0b
#undef RTENTRY_4_4
Packit Service b38f0b
Packit Service b38f0b
/* Does the rtentry structure have a rt_next node */
Packit Service b38f0b
#undef RTENTRY_RT_NEXT
Packit Service b38f0b
Packit Service b38f0b
#define PSCMD "/bin/ps"
Packit Service b38f0b
Packit Service b38f0b
/* Where is the uname command */
Packit Service b38f0b
#define UNAMEPROG "/bin/uname"
Packit Service b38f0b
Packit Service b38f0b
/* testing code sections. */
Packit Service b38f0b
/* #undef NETSNMP_ENABLE_TESTING_CODE */
Packit Service b38f0b
Packit Service b38f0b
/* If you don't have root access don't exit upon kmem errors */
Packit Service b38f0b
#undef NETSNMP_NO_ROOT_ACCESS
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the gethostbyname function.  */
Packit Service b38f0b
#define HAVE_GETHOSTBYNAME 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the gethostname function.  */
Packit Service b38f0b
#define HAVE_GETHOSTNAME 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the getloadavg function.  */
Packit Service b38f0b
#undef HAVE_GETLOADAVG
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the setenv function.  */
Packit Service b38f0b
#undef HAVE_SETENV
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the strtoul function.  */
Packit Service b38f0b
#define HAVE_STRTOUL 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the vsnprintf function.  */
Packit Service b38f0b
#define HAVE_VSNPRINTF 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the kvm_openfiles function.  */
Packit Service b38f0b
#undef HAVE_KVM_OPENFILES
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the lrand48 function.  */
Packit Service b38f0b
#undef HAVE_LRAND48
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the rand function.  */
Packit Service b38f0b
#define HAVE_RAND 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the random function.  */
Packit Service b38f0b
#undef HAVE_RANDOM
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the select function.  */
Packit Service b38f0b
#undef HAVE_SELECT
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the setmntent function.  */
Packit Service b38f0b
#undef HAVE_SETMNTENT
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the sigblock function.  */
Packit Service b38f0b
#undef HAVE_SIGBLOCK
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the sighold function.  */
Packit Service b38f0b
#undef HAVE_SIGHOLD
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the signal function.  */
Packit Service b38f0b
#undef HAVE_SIGNAL
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the sigset function.  */
Packit Service b38f0b
#undef HAVE_SIGSET
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the socket function.  */
Packit Service b38f0b
#define HAVE_SOCKET 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have <winsock.h> header file. */
Packit Service b38f0b
#define HAVE_WINSOCK_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the closesocket function.  */
Packit Service b38f0b
#define HAVE_CLOSESOCKET 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the statfs function.  */
Packit Service b38f0b
#undef HAVE_STATFS
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the statvfs function.  */
Packit Service b38f0b
#undef HAVE_STATVFS
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the strcasecmp function */
Packit Service b38f0b
#define HAVE_STRCASECMP 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the snprintf function */
Packit Service b38f0b
#define HAVE_SNPRINTF 1
Packit Service b38f0b
Packit Service b38f0b
/* use win32 strdup */
Packit Service b38f0b
#define strdup _strdup
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the strtol function.  */
Packit Service b38f0b
#define HAVE_STRTOL 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the tcgetattr function.  */
Packit Service b38f0b
/* #define HAVE_TCGETATTR 1 */
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the uname function.  */
Packit Service b38f0b
#undef HAVE_UNAME
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have <io.h> header file. */
Packit Service b38f0b
#define HAVE_IO_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have <process.h> header file. (Win32-getpid) */
Packit Service b38f0b
#define HAVE_PROCESS_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <arpa/inet.h> header file.  */
Packit Service b38f0b
#undef HAVE_ARPA_INET_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <dirent.h> header file.  */
Packit Service b38f0b
#undef HAVE_DIRENT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <err.h> header file.  */
Packit Service b38f0b
#undef HAVE_ERR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <fcntl.h> header file.  */
Packit Service b38f0b
#define HAVE_FCNTL_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <fstab.h> header file.  */
Packit Service b38f0b
#undef HAVE_FSTAB_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <inet/mib2.h> header file.  */
Packit Service b38f0b
#undef HAVE_INET_MIB2_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <kstat.h> header file.  */
Packit Service b38f0b
#undef HAVE_KSTAT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <kvm.h> header file.  */
Packit Service b38f0b
#undef HAVE_KVM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <limits.h> header file.  */
Packit Service b38f0b
#define HAVE_LIMITS_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <machine/param.h> header file.  */
Packit Service b38f0b
#undef HAVE_MACHINE_PARAM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <machine/pte.h> header file.  */
Packit Service b38f0b
#undef HAVE_MACHINE_PTE_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <malloc.h> header file.  */
Packit Service b38f0b
#undef HAVE_MALLOC_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <mntent.h> header file.  */
Packit Service b38f0b
#undef HAVE_MNTENT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <mtab.h> header file.  */
Packit Service b38f0b
#undef HAVE_MTAB_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <ndir.h> header file.  */
Packit Service b38f0b
#undef HAVE_NDIR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <net/if_dl.h> header file.  */
Packit Service b38f0b
#undef HAVE_NET_IF_DL_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <net/if_types.h> header file.  */
Packit Service b38f0b
#undef HAVE_NET_IF_TYPES_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/icmp_var.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_ICMP_VAR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/if_ether.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_IF_ETHER_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/in.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_IN_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/in_pcb.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_IN_PCB_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/in_var.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_IN_VAR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/ip_var.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_IP_VAR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/tcp_fsm.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_TCP_FSM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/tcp_timer.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_TCP_TIMER_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/tcp_var.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_TCP_VAR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/tcpip.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_TCPIP_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <netinet/udp_var.h> header file.  */
Packit Service b38f0b
#undef HAVE_NETINET_UDP_VAR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sgtty.h> header file.  */
Packit Service b38f0b
#undef HAVE_SGTTY_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <stdarg.h> header file.  */
Packit Service b38f0b
#define HAVE_STDARG_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <stdlib.h> header file.  */
Packit Service b38f0b
#define HAVE_STDLIB_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <string.h> header file.  */
Packit Service b38f0b
#define HAVE_STRING_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/conf.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_CONF_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/dir.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_DIR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/dmap.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_DMAP_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/file.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_FILE_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/filio.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_FILIO_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/fixpoint.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_FIXPOINT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/fs.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_FS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/stat.h> header file.  */
Packit Service b38f0b
#define HAVE_SYS_STAT_H 1
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/hashing.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_HASHING_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/ioctl.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_IOCTL_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/mbuf.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_MBUF_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/mnttab.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_MNTTAB_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/mount.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_MOUNT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/ndir.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_NDIR_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/param.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_PARAM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/proc.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_PROC_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/protosw.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_PROTOSW_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/select.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_SELECT_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/sockio.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_SOCKIO_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/statvfs.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_STATVFS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/swap.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_SWAP_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/sysctl.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_SYSCTL_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/tcpipstats.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_TCPIPSTATS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/user.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_USER_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/utsname.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_UTSNAME_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vfs.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VFS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vm.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vmmac.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VMMAC_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vmmeter.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VMMETER_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vmparam.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VMPARAM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <sys/vmsystm.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYS_VMSYSTM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <syslog.h> header file.  */
Packit Service b38f0b
#undef HAVE_SYSLOG_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <ufs/ffs/fs.h> header file.  */
Packit Service b38f0b
#undef HAVE_UFS_FFS_FS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <ufs/fs.h> header file.  */
Packit Service b38f0b
#undef HAVE_UFS_FS_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <ufs/ufs/dinode.h> header file.  */
Packit Service b38f0b
#undef HAVE_UFS_UFS_DINODE_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <unistd.h> header file.  */
Packit Service b38f0b
#undef HAVE_UNISTD_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <utsname.h> header file.  */
Packit Service b38f0b
#undef HAVE_UTSNAME_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <vm/swap_pager.h> header file.  */
Packit Service b38f0b
#undef HAVE_VM_SWAP_PAGER_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <vm/vm.h> header file.  */
Packit Service b38f0b
#undef HAVE_VM_VM_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the <xti.h> header file.  */
Packit Service b38f0b
#undef HAVE_XTI_H
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the crypto library (-lcrypto).  */
Packit Service b38f0b
#undef HAVE_LIBCRYPTO
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the elf library (-lelf).  */
Packit Service b38f0b
#undef HAVE_LIBELF
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the kstat library (-lkstat).  */
Packit Service b38f0b
#undef HAVE_LIBKSTAT
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the m library (-lm).  */
Packit Service b38f0b
#undef HAVE_LIBM
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the mld library (-lmld).  */
Packit Service b38f0b
#undef HAVE_LIBMLD
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the nsl library (-lnsl).  */
Packit Service b38f0b
#undef HAVE_LIBNSL
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the socket library (-lsocket).  */
Packit Service b38f0b
#undef HAVE_LIBSOCKET
Packit Service b38f0b
Packit Service b38f0b
/* ifnet structure tests */
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_BAUDRATE
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_TYPE
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_IMCASTS
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_IQDROPS
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_LASTCHANGE_TV_SEC
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_NOPROTO
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_OMCASTS
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_XNAME
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_OBYTES
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_IBYTES
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_ADDRLIST
Packit Service b38f0b
Packit Service b38f0b
/* tcpstat.tcps_rcvmemdrop */
Packit Service b38f0b
#undef STRUCT_TCPSTAT_HAS_TCPS_RCVMEMDROP
Packit Service b38f0b
Packit Service b38f0b
/* udpstat.udps_discard */
Packit Service b38f0b
#undef STRUCT_UDPSTAT_HAS_UDPS_DISCARD
Packit Service b38f0b
Packit Service b38f0b
/* arphd.at_next */
Packit Service b38f0b
#undef STRUCT_ARPHD_HAS_AT_NEXT
Packit Service b38f0b
Packit Service b38f0b
/* ifaddr.ifa_next */
Packit Service b38f0b
#undef STRUCT_IFADDR_HAS_IFA_NEXT
Packit Service b38f0b
Packit Service b38f0b
/* ifnet.if_mtu */
Packit Service b38f0b
#undef STRUCT_IFNET_HAS_IF_MTU
Packit Service b38f0b
Packit Service b38f0b
/* ifnet needs to have _KERNEL defined */
Packit Service b38f0b
#undef IFNET_NEEDS_KERNEL
Packit Service b38f0b
Packit Service b38f0b
/* sysctl works to get boottime, etc... */
Packit Service b38f0b
#undef NETSNMP_CAN_USE_SYSCTL
Packit Service b38f0b
Packit Service b38f0b
/* type check for in_addr_t */
Packit Service b38f0b
#define in_addr_t u_long
Packit Service b38f0b
Packit Service b38f0b
/* mib pointer to the top of the extensible tree.  This has been
Packit Service b38f0b
 assigned to UCDavis by the iana group.  Optionally, point this to the
Packit Service b38f0b
 location in the tree your company/organization has been allocated. */
Packit Service b38f0b
Packit Service b38f0b
/* location of the extensible mib tree */
Packit Service b38f0b
#define EXTENSIBLEMIB 1,3,6,1,4,1,2021
Packit Service b38f0b
/* location of the extensible mib tree */
Packit Service b38f0b
#define EXTENSIBLEDOTMIB 1.3.6.1.4.1.2021
Packit Service b38f0b
/* count the above numbers */
Packit Service b38f0b
#define EXTENSIBLENUM 7
Packit Service b38f0b
Packit Service b38f0b
/* the ErrorFlag is V1 accessable because HP Openview does not support
Packit Service b38f0b
   V2.  You can make this list of pairs as long as you want, just make
Packit Service b38f0b
   sure to end it in -1.*/
Packit Service b38f0b
Packit Service b38f0b
#define SECURITYEXCEPTIONS {100,NETSNMP_SNMPV1,-1} /* the ErrorFlag is V1 */
Packit Service b38f0b
Packit Service b38f0b
/* Mib-2 tree Info */
Packit Service b38f0b
/* These are the system information variables. */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_VERS_DESC   "unknown"             /* overridden at run time */
Packit Service b38f0b
#define NETSNMP_SYS_NAME    "unknown"             /* overridden at run time */
Packit Service b38f0b
Packit Service b38f0b
/* comment out the second define to turn off functionality for any of
Packit Service b38f0b
   these: (See README for details) */
Packit Service b38f0b
Packit Service b38f0b
/*   proc PROCESSNAME [MAX] [MIN] */
Packit Service b38f0b
#define NETSNMP_PROCMIBNUM 2
Packit Service b38f0b
#define USEPROCMIB
Packit Service b38f0b
Packit Service b38f0b
/*   exec/shell NAME COMMAND      */
Packit Service b38f0b
#define NETSNMP_SHELLMIBNUM 8
Packit Service b38f0b
#define USESHELLMIB
Packit Service b38f0b
Packit Service b38f0b
/*   swap MIN                     */
Packit Service b38f0b
#define NETSNMP_MEMMIBNUM 4
Packit Service b38f0b
#if defined(hpux9) || defined(bsdi2)
Packit Service b38f0b
#define USEMEMMIB
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/*   disk DISK MINSIZE            */
Packit Service b38f0b
#define NETSNMP_DISKMIBNUM 9
Packit Service b38f0b
#if (HAVE_FSTAB_H || HAVE_SYS_STATVFS_H)
Packit Service b38f0b
#define USEDISKMIB
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/*   load 1 5 15                  */
Packit Service b38f0b
#define NETSNMP_LOADAVEMIBNUM 10
Packit Service b38f0b
#define USELOADAVEMIB
Packit Service b38f0b
Packit Service b38f0b
/*   pass MIBOID command */
Packit Service b38f0b
#define USEPASSMIB
Packit Service b38f0b
Packit Service b38f0b
/* which version are you using? This mibloc will tell you */
Packit Service b38f0b
#define NETSNMP_VERSIONMIBNUM 100
Packit Service b38f0b
#define USEVERSIONMIB
Packit Service b38f0b
Packit Service b38f0b
/* Reports errors the agent runs into */
Packit Service b38f0b
/* (typically its "can't fork, no mem" problems) */
Packit Service b38f0b
#define NETSNMP_ERRORMIBNUM 101
Packit Service b38f0b
#define USEERRORMIB
Packit Service b38f0b
Packit Service b38f0b
/* The sub id of EXENSIBLEMIB returned to queries of
Packit Service b38f0b
   .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 */
Packit Service b38f0b
#define NETSNMP_AGENTID 250
Packit Service b38f0b
Packit Service b38f0b
/* This ID is returned after the NETSNMP_AGENTID above.  IE, the resulting
Packit Service b38f0b
   value returned by a query to sysObjectID is
Packit Service b38f0b
   EXTENSIBLEMIB.NETSNMP_AGENTID.???, where ??? is defined below by OSTYPE */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_HPUX9ID 1
Packit Service b38f0b
#define NETSNMP_SUNOS4ID 2
Packit Service b38f0b
#define NETSNMP_SOLARISID 3
Packit Service b38f0b
#define NETSNMP_OSFID 4
Packit Service b38f0b
#define NETSNMP_ULTRIXID 5
Packit Service b38f0b
#define NETSNMP_HPUX10ID 6
Packit Service b38f0b
#define NETSNMP_NETBSD1ID 7
Packit Service b38f0b
#define NETSNMP_FREEBSDID 8
Packit Service b38f0b
#define NETSNMP_IRIXID 9
Packit Service b38f0b
#define NETSNMP_LINUXID 10
Packit Service b38f0b
#define NETSNMP_BSDIID 11
Packit Service b38f0b
#define NETSNMP_OPENBSDID 12
Packit Service b38f0b
#define NETSNMP_WIN32ID 13
Packit Service b38f0b
#define NETSNMP_UNKNOWNID 255
Packit Service b38f0b
Packit Service b38f0b
#ifdef hpux9
Packit Service b38f0b
#define OSTYPE NETSNMP_HPUX9ID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef hpux10
Packit Service b38f0b
#define OSTYPE NETSNMP_HPUX10ID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef sunos4
Packit Service b38f0b
#define OSTYPE NETSNMP_SUNOS4ID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef solaris2
Packit Service b38f0b
#define OSTYPE NETSNMP_SOLARISID
Packit Service b38f0b
#endif
Packit Service b38f0b
#if defined(osf3) || defined(osf4) || defined(osf5)
Packit Service b38f0b
#define OSTYPE NETSNMP_OSFID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef ultrix4
Packit Service b38f0b
#define OSTYPE NETSNMP_ULTRIXID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef netbsd1
Packit Service b38f0b
#define OSTYPE NETSNMP_NETBSD1ID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef freebsd2
Packit Service b38f0b
#define OSTYPE NETSNMP_FREEBSDID
Packit Service b38f0b
#endif
Packit Service b38f0b
#if defined(irix6) || defined(irix5)
Packit Service b38f0b
#define OSTYPE NETSNMP_IRIXID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef linux
Packit Service b38f0b
#define OSTYPE NETSNMP_LINUXID
Packit Service b38f0b
#endif
Packit Service b38f0b
#if defined(bsdi2) || defined(bsdi3)
Packit Service b38f0b
#define OSTYPE NETSNMP_BSDIID
Packit Service b38f0b
#endif
Packit Service b38f0b
#ifdef openbsd2
Packit Service b38f0b
#define OSTYPE NETSNMP_OPENBSDID
Packit Service b38f0b
#endif
Packit Service b38f0b
#define OSTYPE NETSNMP_WIN32ID
Packit Service b38f0b
/* unknown */
Packit Service b38f0b
#ifndef OSTYPE
Packit Service b38f0b
#define OSTYPE NETSNMP_UNKNOWNID
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/* how long to wait (seconds) for error querys before reseting the error trap.*/
Packit Service b38f0b
#define NETSNMP_ERRORTIMELENGTH 600
Packit Service b38f0b
Packit Service b38f0b
/* Exec command to fix PROC problems */
Packit Service b38f0b
/* %s will be replaced by the process name in error */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_PROCFIXCMD "/usr/local/bin/perl /local/scripts/fixproc %s"
Packit Service b38f0b
Packit Service b38f0b
/* Exec command to fix EXEC problems */
Packit Service b38f0b
/* %s will be replaced by the exec/script name in error */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_EXECFIXCMD "/usr/local/bin/perl /local/scripts/fixproc %s"
Packit Service b38f0b
Packit Service b38f0b
/* Should exec output Cashing be used (speeds up things greatly), and
Packit Service b38f0b
   if so, After how many seconds should the cache re-newed?  Note:
Packit Service b38f0b
   Don't define CASHETIME to disable cashing completely */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_EXCACHETIME 30
Packit Service b38f0b
#define NETSNMP_CACHEFILE ".snmp-exec-cache"
Packit Service b38f0b
#define NETSNMP_MAXCACHESIZE (200*80)   /* roughly 200 lines max */
Packit Service b38f0b
Packit Service b38f0b
#define MAXDISKS 10                      /* can't scan more than this number */
Packit Service b38f0b
Packit Service b38f0b
/* misc defaults */
Packit Service b38f0b
Packit Service b38f0b
/* default of 100 meg minimum if the minimum size is not specified in
Packit Service b38f0b
   the config file */
Packit Service b38f0b
#define NETSNMP_DEFDISKMINIMUMSPACE 100000
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_DEFMAXLOADAVE 12.0      /* default maximum load average before error */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_MAXREADCOUNT 20   /* max times to loop reading output from
Packit Service b38f0b
                             execs.  Because of sleep(1)s, this will also
Packit Service b38f0b
                             be time to wait (in seconds) for exec to finish */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_SNMPBLOCK 1       /* Set to 1 if you want snmpgets to block and never
Packit Service b38f0b
                             timeout.  Original CMU code had this
Packit Service b38f0b
                             hardcoded into the code as = 1 */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_RESTARTSLEEP 5    /* How long to wait after a snmpset to
Packit Service b38f0b
                             EXTENSIBLEMIB.NETSNMP_VERSIONMIBNUM.VERRESTARTAGENT
Packit Service b38f0b
                             before restarting the agent.  This is
Packit Service b38f0b
                             necessary to finish the snmpset reply
Packit Service b38f0b
                             before restarting. */
Packit Service b38f0b
Packit Service b38f0b
/* Number of community strings to store */
Packit Service b38f0b
#define NETSNMP_NUM_COMMUNITIES	5
Packit Service b38f0b
Packit Service b38f0b
/* UNdefine to allow specifying zero-length community string */
Packit Service b38f0b
/* #define NETSNMP_NO_ZEROLENGTH_COMMUNITY 1 */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_LASTFIELD -1      /* internal define */
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the strdup function.  */
Packit Service b38f0b
#undef HAVE_STRDUP
Packit Service b38f0b
Packit Service b38f0b
/* Define if you have the strerror function.  */
Packit Service b38f0b
#define HAVE_STRERROR 1
Packit Service b38f0b
Packit Service b38f0b
/* define signal if DNE */
Packit Service b38f0b
Packit Service b38f0b
#ifndef HAVE_SIGNAL
Packit Service b38f0b
#ifdef HAVE_SIGSET
Packit Service b38f0b
#define signal(a,b) sigset(a,b)
Packit Service b38f0b
#endif
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/* Not-to-be-compiled macros for use by configure only */
Packit Service b38f0b
#define config_require(x)
Packit Service b38f0b
#define config_arch_require(x,y)
Packit Service b38f0b
#define config_parse_dot_conf(w,x,y,z)
Packit Service b38f0b
#define config_add_mib(x)
Packit Service b38f0b
Packit Service b38f0b
#ifndef DONT_INC_STRUCTS
Packit Service b38f0b
/*#include "agent/mibgroup/struct.h" */
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
#ifndef linux
Packit Service b38f0b
#ifndef solaris2
Packit Service b38f0b
#define bsdlike
Packit Service b38f0b
#endif
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/* detect Borland C++ WIN32 definition, add Visual C++ define */
Packit Service b38f0b
#ifdef __WIN32__
Packit Service b38f0b
#ifndef WIN32
Packit Service b38f0b
#define WIN32
Packit Service b38f0b
#endif /* WIN32 */
Packit Service b38f0b
#endif /* __WIN32__ */
Packit Service b38f0b
Packit Service b38f0b
#ifdef WIN32
Packit Service b38f0b
Packit Service b38f0b
#define HAVE_GETPID 1
Packit Service b38f0b
Packit Service b38f0b
int strcasecmp(const char *s1, const char *s2);
Packit Service b38f0b
#define vsnprintf _vsnprintf
Packit Service b38f0b
Packit Service b38f0b
#define EADDRINUSE	WSAEADDRINUSE
Packit Service b38f0b
Packit Service b38f0b
#define ENV_SEPARATOR ";"
Packit Service b38f0b
#define ENV_SEPARATOR_CHAR ';'
Packit Service b38f0b
Packit Service b38f0b
Packit Service b38f0b
#else
Packit Service b38f0b
Packit Service b38f0b
#define ENV_SEPARATOR ":"
Packit Service b38f0b
#define ENV_SEPARATOR_CHAR ':'
Packit Service b38f0b
Packit Service b38f0b
#endif
Packit Service b38f0b
Packit Service b38f0b
/* typedef unsigned short mode_t; */
Packit Service b38f0b
Packit Service b38f0b
#define NETSNMP_AGENT_DIRECTORY_MODE 0700
Packit Service b38f0b
Packit Service b38f0b
/* reverse encoding BER packets is both faster and more efficient in space. */
Packit Service b38f0b
#define NETSNMP_USE_REVERSE_ASNENCODING       1
Packit Service b38f0b
#define NETSNMP_DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */
Packit Service b38f0b