⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 net-snmp-config.h.in

📁 snmp的源代码,已经在我的ubuntu下编译通过
💻 IN
📖 第 1 页 / 共 4 页
字号:
/* include/net-snmp/net-snmp-config.h.in.  Generated from configure.in by autoheader.  *//* modified by hand with care. */#ifndef NET_SNMP_CONFIG_H#define NET_SNMP_CONFIG_H/* Define HAVE_WIN32_PLATFORM_SDK if you have: * Microsoft Visual Studio MSVC 6.0 and the Platform SDK (PSDK) * Microsoft Visual Studio.New 2002 * Microsoft Visual Studio.New 2003 * Cygwin * MinGW  *//* #undef HAVE_WIN32_PLATFORM_SDK */#define INSTALL_BASE "c:/usr"/* config.h:  a general config file *//* Default (SNMP) version number for the tools to use */#define DEFAULT_SNMP_VERSION 3/* don't change these values! */#define SNMPV1      0xAAAA       /* readable by anyone */#define SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */#define SNMPV2AUTH  0x8000       /* V2 Authenticated requests only *//* default list of mibs to load */#define DEFAULT_MIBS "IP-MIB;IF-MIB;TCP-MIB;UDP-MIB;HOST-RESOURCES-MIB;SNMPv2-MIB;RFC1213-MIB;NOTIFICATION-LOG-MIB;UCD-SNMP-MIB;UCD-DEMO-MIB;SNMP-TARGET-MIB;NET-SNMP-AGENT-MIB;DISMAN-EVENT-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"/* default location to look for mibs to load using the above tokens   and/or those in the MIBS envrionment variable*/#define DEFAULT_MIBDIRS INSTALL_BASE ## "/share/snmp/mibs"/* default mib files to load, specified by path. *//* #undef DEFAULT_MIBFILES *//* should we compile to use special opaque types: float, double,   counter64, i64, ui64, union? */#define OPAQUE_SPECIAL_TYPES 1/* comment the next line if you are compiling with libsnmp.h   and are not using the UC-Davis SNMP library. */#define UCD_SNMP_LIBRARY 1/* define if you want to compile support for both authentication and   privacy support. */#define SCAPI_AUTHPRIV 1/* define if you are using the MD5 code ...*//* #undef USE_INTERNAL_MD5 *//* define if you are using the codeS11 library ...*//* #undef USE_PKCS *//* add in recent CMU library extensions (not complete) *//* #undef CMU_COMPATIBLE *//* add in recent resource lock functions (not complete) *//* #undef _REENTRANT *//* debugging stuff *//* if defined, we optimize the code to exclude all debugging calls. *//* #undef SNMP_NO_DEBUGGING *//* ignore the -D flag and always print debugging information */#define SNMP_ALWAYS_DEBUG 0/* reverse encoding BER packets is both faster and more efficient in space. */#define USE_REVERSE_ASNENCODING       1#define DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards *//* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving   persisant information to this directory in the form of configuration   lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */#define PERSISTENT_DIRECTORY INSTALL_BASE ## "/snmp/persist"/* PERSISTENT_MASK: the umask permissions to set up persistent files with *//* #undef PERSISTENT_MASK -- no win32 umask *//* AGENT_DIRECTORY_MODE: the mode the agents should use to create   directories with. Since the data stored here is probably sensitive, it   probably should be read-only by root/administrator. */#define AGENT_DIRECTORY_MODE 0700/* MAX_PERSISTENT_BACKUPS: *   The maximum number of persistent backups the library will try to *   read from the persistent cache directory.  If an application fails to *   close down successfully more than this number of times, data will be lost. */#define MAX_PERSISTENT_BACKUPS 10/* define if you are embedding perl in the main agent *//* #undef NETSNMP_EMBEDDED_PERL */#if notused/* define the system type include file here */#define SYSTEM_INCLUDE_FILE <net-snmp/system/generic.h>/* define the machine (cpu) type include file here */#define MACHINE_INCLUDE_FILE <net-snmp/machine/generic.h>#endif/* SNMPLIBDIR contains important files */#define SNMPLIBPATH INSTALL_BASE ## "/lib"#define SNMPSHAREPATH INSTALL_BASE ## "/share/snmp"#define SNMPCONFPATH INSTALL_BASE ## "/etc/snmp"#define SNMPDLMODPATH INSTALL_BASE ## "/lib/dlmod"/* LOGFILE:  If defined it closes stdout/err/in and opens this in out/err's   place.  (stdin is closed so that sh scripts won't wait for it) *//* #undef LOGFILE *//* default system contact */#define SYS_CONTACT "unknown"/* system location */#define SYS_LOC "unknown"/* Use libwrap to handle allow/deny hosts? *//* #undef USE_LIBWRAP *//* Use dmalloc to do malloc debugging? *//* #undef HAVE_DMALLOC_H *//* location of UNIX kernel */#define KERNEL_LOC "unknown"/* location of mount table list */#define ETC_MNTTAB "unknown"/* location of swap device (ok if not found) *//* #undef DMEM_LOC *//* Command to generate ps output, the final column must be the process   name withOUT arguments */#define PSCMD "/bin/ps"/* Where is the uname command */#define UNAMEPROG "/bin/uname"/* pattern for temporary file names */#define NETSNMP_TEMP_FILE_PATTERN INSTALL_BASE ## "/temp/snmpdXXXXXX"/* testing code sections. *//* #undef SNMP_TESTING_CODE *//* If you don't have root access don't exit upon kmem errors *//* #undef NO_ROOT_ACCESS *//* If we don't want to use kmem. *//* #undef NO_KMEM_USAGE *//* If you don't want the agent to report on variables it doesn't have data for */#define NO_DUMMY_VALUES 1/* Define if statfs takes 2 args and the second argument has   type struct fs_data. [Ultrix] *//* #undef STAT_STATFS_FS_DATA *//* Define if the TCP timer constants in <netinet/tcp_timer.h>   depend on the integer variable `hz'.  [FreeBSD 4.x] *//* #undef TCPTV_NEEDS_HZ *//* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP   systems. This function is required for `alloca.c' support on those systems.   *//* #undef CRAY_STACKSEG_END *//* Define to 1 if using `alloca.c'. *//* #undef C_ALLOCA *//* Define if DES encryption should not be supported *//* #undef DISABLE_DES *//* Define if MD5 authentication should not be supported *//* #undef DISABLE_MD5 *//* Define if mib loading and parsing code should not be included *//* #undef DISABLE_MIB_LOADING *//* Define if SNMPv1 code should not be included *//* #undef DISABLE_SNMPV1 *//* Define if SNMPv2c code should not be included *//* #undef DISABLE_SNMPV2C *//* Define to 1 if you have the `AES_cfb128_encrypt' function. *//* #undef HAVE_AES_CFB128_ENCRYPT *//* Define to 1 if you have `alloca', as a function or macro. *//* #undef HAVE_ALLOCA *//* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).   *//* #undef HAVE_ALLOCA_H *//* Define to 1 if you have the <arpa/inet.h> header file. *//* #undef HAVE_ARPA_INET_H *//* Define to 1 if you have the <asm/page.h> header file. *//* #undef HAVE_ASM_PAGE_H *//* Define to 1 if you have the `bcopy' function. *//* #undef HAVE_BCOPY *//* Define to 1 if you have the `cgetnext' function. *//* #undef HAVE_CGETNEXT *//* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.   *//* #undef HAVE_DIRENT_H *//* Define to 1 if you have the <dlfcn.h> header file. *//* #undef HAVE_DLFCN_H *//* Define to 1 if you have the `dlopen' function. *//* #undef HAVE_DLOPEN *//* Define to 1 if you have the <err.h> header file. *//* #undef HAVE_ERR_H *//* Define to 1 if you have the `eval_pv' function. *//* #undef HAVE_EVAL_PV *//* Define to 1 if you have the `execv' function. *//* #undef HAVE_EXECV *//* Define to 1 if you have the <fcntl.h> header file. */#define HAVE_FCNTL_H 1/* Define to 1 if you have the `fork' function. *//* #undef HAVE_FORK *//* Define to 1 if you have the <fstab.h> header file. *//* #undef HAVE_FSTAB_H *//* Define to 1 if you have the `getaddrinfo' function. *//* #undef HAVE_GETADDRINFO *//* Define to 1 if you have the `getdtablesize' function. *//* #undef HAVE_GETDTABLESIZE *//* Define to 1 if you have the `getfsstat' function. *//* #undef HAVE_GETFSSTAT *//* Define to 1 if you have the `getgrnam' function. *//* #undef HAVE_GETGRNAM *//* Define to 1 if you have the `gethostname' function. */#define HAVE_GETHOSTNAME 1/* Define to 1 if you have the `getipnodebyname' function. *//* #undef HAVE_GETIPNODEBYNAME *//* Define to 1 if you have the `getloadavg' function. *//* #undef HAVE_GETLOADAVG *//* Define to 1 if you have the `getmntent' function. *//* #undef HAVE_GETMNTENT *//* Define to 1 if you have the <getopt.h> header file. *//* #undef HAVE_GETOPT_H *//* Define to 1 if you have the `getpagesize' function. *//* #undef HAVE_GETPAGESIZE *//* Define to 1 if you have the `getpid' function. */#define HAVE_GETPID 1/* Define to 1 if you have the `getpwnam' function. *//* #undef HAVE_GETPWNAM *//* Define to 1 if you have the `gettimeofday' function. *//* #undef HAVE_GETTIMEOFDAY *//* Define to 1 if you have the <grp.h> header file. *//* #undef HAVE_GRP_H *//* Define to 1 if you have the `if_freenameindex' function. *//* #undef HAVE_IF_FREENAMEINDEX *//* Define to 1 if you have the `if_nameindex' function. *//* #undef HAVE_IF_NAMEINDEX *//* Define to 1 if you have the `index' function. *//* #undef HAVE_INDEX *//* Define to 1 if you have the <inet/mib2.h> header file. *//* #undef HAVE_INET_MIB2_H *//* Define to 1 if the system has the type `int32_t'. */#define HAVE_INT32_T 1/* define if you have type uint32_t */#define HAVE_UINT32_T 1/* define if you have type u_int32_t */#undef HAVE_U_INT32_T/* define if you have type int64_t */#define HAVE_INT64_T 1/* define if you have type uint64_t */#define HAVE_UINT64_T 1/* define if you have type u_int64_t */#undef HAVE_U_INT64_T/* Define to 1 if you have the <inttypes.h> header file. *//* #undef HAVE_INTTYPES_H *//* Define to 1 if you have the <ioctls.h> header file. *//* #undef HAVE_IOCTLS_H *//* Define to 1 if you have the <io.h> header file. */#define HAVE_IO_H 1/* Define to 1 if you have the `knlist' function. *//* #undef HAVE_KNLIST *//* Define to 1 if you have the <kstat.h> header file. *//* #undef HAVE_KSTAT_H *//* Define to 1 if you have the `kvm_getprocs' function. *//* #undef HAVE_KVM_GETPROCS *//* Define to 1 if you have the <kvm.h> header file. *//* #undef HAVE_KVM_H *//* Define to 1 if you have the `kvm_openfiles' function. *//* #undef HAVE_KVM_OPENFILES *//* Define to 1 if you have the `crypto' library (-lcrypto). *//* #undef HAVE_LIBCRYPTO *//* Define to 1 if you have the `dl' library (-ldl). *//* #undef HAVE_LIBDL *//* Define to 1 if you have the `efence' library (-lefence). *//* #undef HAVE_LIBEFENCE *//* Define to 1 if you have the `elf' library (-lelf). *//* #undef HAVE_LIBELF *//* Define to 1 if you have the `kstat' library (-lkstat). *//* #undef HAVE_LIBKSTAT *//* Define to 1 if you have the `kvm' library (-lkvm). *//* #undef HAVE_LIBKVM *//* Define to 1 if you have the `m' library (-lm). *//* #undef HAVE_LIBM *//* Define to 1 if you have the `mld' library (-lmld). *//* #undef HAVE_LIBMLD *//* Define to 1 if you have the `nsl' library (-lnsl). *//* #undef HAVE_LIBNSL *//* Define to 1 if you have the <libperfstat.h> header file. *//* #undef HAVE_LIBPERFSTAT_H *//* Define to 1 if you have the `pkcs11' library (-lpkcs11). *//* #undef HAVE_LIBPKCS11 *//* Define to 1 if you have the `RSAglue' library (-lRSAglue). *//* #undef HAVE_LIBRSAGLUE *//* Define to 1 if you have the `rsaref' library (-lrsaref). *//* #undef HAVE_LIBRSAREF *//* Define to 1 if you have the `sensors' library (-lsensors). *//* #undef HAVE_LIBSENSORS *//* Define to 1 if you have the `z' library (-lz). *//* #undef HAVE_LIBZ *//* Define to 1 if you have the <limits.h> header file. */#define HAVE_LIMITS_H 1/* Define to 1 if you have the <linux/hdreg.h> header file. *//* #undef HAVE_LINUX_HDREG_H *//* Define to 1 if you have the <linux/tasks.h> header file. *//* #undef HAVE_LINUX_TASKS_H *//* Define to 1 if you have the <locale.h> header file. */#define HAVE_LOCALE_H 1/* Define to 1 if you have the `lrand48' function. *//* #undef HAVE_LRAND48 *//* Define to 1 if you have the <machine/param.h> header file. *//* #undef HAVE_MACHINE_PARAM_H *//* Define to 1 if you have the <machine/pte.h> header file. *//* #undef HAVE_MACHINE_PTE_H *//* Define to 1 if you have the <machine/types.h> header file. *//* #undef HAVE_MACHINE_TYPES_H *//* Define to 1 if you have the <malloc.h> header file. */#define HAVE_MALLOC_H 1/* Define to 1 if you have the `memcpy' function. */#define HAVE_MEMCPY 1/* Define to 1 if you have the `memmove' function. */#define HAVE_MEMMOVE 1/* Define to 1 if you have the <memory.h> header file. */#define HAVE_MEMORY_H 1/* Define to 1 if you have the `mkstemp' function. *//* #undef HAVE_MKSTEMP *//* Define to 1 if you have the `mktime' function. */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -