net-snmp 5.7
acconfig.h
00001 /* 
00002  * net-snmp configuration header file
00003  *
00004  * NOTE: DO NOT EDIT include/net-snmp/net-snmp-config.h.in as your changes
00005  *       will be overwritten. This content is in acconfig.h and merged
00006  *       into include/net-snmp/net-snmp-config.h.in by autoheader.
00007  */
00008 /* Portions of this file are subject to the following copyright(s).  See
00009  * the Net-SNMP's COPYING file for more details and other copyrights
00010  * that may apply:
00011  */
00012 /*
00013  * Portions of this file are copyrighted by:
00014  * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
00015  * Use is subject to license terms specified in the COPYING file
00016  * distributed with the Net-SNMP package.
00017  */
00018 
00019 #ifndef NET_SNMP_CONFIG_H
00020 #define NET_SNMP_CONFIG_H
00021 
00022 
00023 /* ********* NETSNMP_MARK_BEGIN_AUTOCONF_DEFINITIONS ********* */
00024 /*
00025  * put all autoconf-specific definitions below here
00026  *
00027  */
00028 #ifndef NETSNMP_NO_AUTOCONF_DEFINITIONS
00029 
00030 
00031 #if defined (WIN32) || defined (mingw32) || defined (cygwin)
00032 #define ENV_SEPARATOR ";"
00033 #define ENV_SEPARATOR_CHAR ';'
00034 #else
00035 #define ENV_SEPARATOR ":"
00036 #define ENV_SEPARATOR_CHAR ':'
00037 #endif
00038 
00039 /* definitions added by configure on-the-fly */
00040 @TOP@
00041 @BOTTOM@
00042 
00043 /* end of definitions added by configure on-the-fly */
00044 
00045 /* If you have openssl 0.9.7 or above, you likely have AES support. */
00046 #undef NETSNMP_USE_OPENSSL
00047 #if (defined(NETSNMP_USE_OPENSSL) && defined(HAVE_OPENSSL_AES_H) && defined(HAVE_AES_CFB128_ENCRYPT)) || defined(NETSNMP_USE_INTERNAL_CRYPTO)
00048 #define HAVE_AES 1
00049 #endif
00050 
00051 /* define random functions */
00052 
00053 #ifndef HAVE_RANDOM
00054 #ifdef HAVE_LRAND48
00055 #define random lrand48
00056 #define srandom(s) srand48(s)
00057 #else
00058 #ifdef HAVE_RAND
00059 #define random rand
00060 #define srandom(s) srand(s)
00061 #endif
00062 #endif
00063 #endif
00064 
00065 /* define signal if DNE */
00066 
00067 #ifndef HAVE_SIGNAL
00068 #ifdef HAVE_SIGSET
00069 #define signal(a,b) sigset(a,b)
00070 #endif
00071 #endif
00072 
00073 #ifdef HAVE_DMALLOC_H
00074 #define DMALLOC_FUNC_CHECK
00075 #endif
00076 
00077 #endif /* NETSNMP_NO_AUTOCONF_DEFINITIONS */
00078 
00079 
00080 
00081 
00082 /* ********* NETSNMP_MARK_BEGIN_CLEAN_NAMESPACE ********* */
00083 /* 
00084  * put all new net-snmp-specific definitions here
00085  *
00086  * all definitions MUST have a NETSNMP_ prefix
00087  *
00088  */
00089 
00090 /* Default (SNMP) version number for the tools to use */
00091 #define NETSNMP_DEFAULT_SNMP_VERSION 3
00092 
00093 /* don't change these values! */
00094 #define NETSNMP_SNMPV1      0xAAAA       /* readable by anyone */
00095 #define NETSNMP_SNMPV2ANY   0xA000       /* V2 Any type (includes NoAuth) */
00096 #define NETSNMP_SNMPV2AUTH  0x8000       /* V2 Authenticated requests only */
00097 
00098 /* default list of mibs to load */
00099 #define NETSNMP_DEFAULT_MIBS "IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB"
00100 
00101 /* debugging stuff */
00102 /* if defined, we optimize the code to exclude all debugging calls. */
00103 #undef NETSNMP_NO_DEBUGGING
00104 /* ignore the -D flag and always print debugging information */
00105 #define NETSNMP_ALWAYS_DEBUG 0
00106 
00107 /* reverse encoding BER packets is both faster and more efficient in space. */
00108 #define NETSNMP_USE_REVERSE_ASNENCODING       1
00109 #define NETSNMP_DEFAULT_ASNENCODING_DIRECTION 1 /* 1 = reverse, 0 = forwards */
00110 
00111 /* PERSISTENT_DIRECTORY: If defined, the library is capabile of saving
00112    persisant information to this directory in the form of configuration
00113    lines: PERSISTENT_DIRECTORY/NAME.persistent.conf */
00114 #define NETSNMP_PERSISTENT_DIRECTORY "/var/snmp"
00115 
00116 /* AGENT_DIRECTORY_MODE: the mode the agents should use to create
00117    directories with. Since the data stored here is probably sensitive, it
00118    probably should be read-only by root/administrator. */
00119 #define NETSNMP_AGENT_DIRECTORY_MODE 0700
00120 
00121 /* MAX_PERSISTENT_BACKUPS:
00122  *   The maximum number of persistent backups the library will try to
00123  *   read from the persistent cache directory.  If an application fails to
00124  *   close down successfully more than this number of times, data will be lost.
00125  */
00126 #define NETSNMP_MAX_PERSISTENT_BACKUPS 10
00127 
00128 /* define the system type include file here */
00129 #define NETSNMP_SYSTEM_INCLUDE_FILE <net-snmp/system/generic.h>
00130 
00131 /* define the machine (cpu) type include file here */
00132 #define NETSNMP_MACHINE_INCLUDE_FILE <net-snmp/machine/generic.h>
00133 
00134 /* define the UDP buffer defaults undefined means use the OS buffers
00135  * by default */
00136 #undef NETSNMP_DEFAULT_SERVER_SEND_BUF
00137 #undef NETSNMP_DEFAULT_SERVER_RECV_BUF
00138 #undef NETSNMP_DEFAULT_CLIENT_SEND_BUF
00139 #undef NETSNMP_DEFAULT_CLIENT_RECV_BUF
00140 
00141 /* net-snmp's major path names */
00142 #undef SNMPLIBPATH
00143 #undef SNMPSHAREPATH
00144 #undef SNMPCONFPATH
00145 #undef SNMPDLMODPATH
00146 
00147 /* NETSNMP_LOGFILE:  If defined it closes stdout/err/in and opens this in 
00148    out/err's place.  (stdin is closed so that sh scripts won't wait for it) */
00149 #undef NETSNMP_LOGFILE
00150 
00151 /* default system contact */
00152 #undef NETSNMP_SYS_CONTACT
00153 
00154 /* system location */
00155 #undef NETSNMP_SYS_LOC
00156 
00157 /* Use libwrap to handle allow/deny hosts? */
00158 #undef NETSNMP_USE_LIBWRAP
00159 
00160 /* Mib-2 tree Info */
00161 /* These are the system information variables. */
00162 
00163 #define NETSNMP_VERS_DESC   "unknown"             /* overridden at run time */
00164 #define NETSNMP_SYS_NAME    "unknown"             /* overridden at run time */
00165 
00166 /* comment out the second define to turn off functionality for any of
00167    these: (See README for details) */
00168 
00169 /*   proc PROCESSNAME [MAX] [MIN] */
00170 #define NETSNMP_PROCMIBNUM 2
00171 
00172 /*   exec/shell NAME COMMAND      */
00173 #define NETSNMP_SHELLMIBNUM 8
00174 
00175 /*   swap MIN                     */
00176 #define NETSNMP_MEMMIBNUM 4
00177 
00178 /*   disk DISK MINSIZE            */
00179 #define NETSNMP_DISKMIBNUM 9
00180 
00181 /*   load 1 5 15                  */
00182 #define NETSNMP_LOADAVEMIBNUM 10
00183 
00184 /* which version are you using? This mibloc will tell you */
00185 #define NETSNMP_VERSIONMIBNUM 100
00186 
00187 /* Reports errors the agent runs into */
00188 /* (typically its "can't fork, no mem" problems) */
00189 #define NETSNMP_ERRORMIBNUM 101
00190 
00191 /* The sub id of EXTENSIBLEMIB returned to queries of
00192    .iso.org.dod.internet.mgmt.mib-2.system.sysObjectID.0 */
00193 #define NETSNMP_AGENTID 250
00194 
00195 /* This ID is returned after the AGENTID above.  IE, the resulting
00196    value returned by a query to sysObjectID is
00197    EXTENSIBLEMIB.AGENTID.???, where ??? is defined below by OSTYPE */
00198 
00199 #define NETSNMP_HPUX9ID 1
00200 #define NETSNMP_SUNOS4ID 2 
00201 #define NETSNMP_SOLARISID 3
00202 #define NETSNMP_OSFID 4
00203 #define NETSNMP_ULTRIXID 5
00204 #define NETSNMP_HPUX10ID 6
00205 #define NETSNMP_NETBSD1ID 7
00206 #define NETSNMP_FREEBSDID 8
00207 #define NETSNMP_IRIXID 9
00208 #define NETSNMP_LINUXID 10
00209 #define NETSNMP_BSDIID 11
00210 #define NETSNMP_OPENBSDID 12
00211 #define NETSNMP_WIN32ID 13
00212 #define NETSNMP_HPUX11ID 14
00213 #define NETSNMP_AIXID 15
00214 #define NETSNMP_MACOSXID 16
00215 #define NETSNMP_DRAGONFLYID 17
00216 #define NETSNMP_UNKNOWNID 255
00217 
00218 #ifdef hpux9
00219 #define NETSNMP_OSTYPE NETSNMP_HPUX9ID
00220 #endif
00221 #ifdef hpux10
00222 #define NETSNMP_OSTYPE NETSNMP_HPUX10ID
00223 #endif
00224 #ifdef hpux11
00225 #define NETSNMP_OSTYPE NETSNMP_HPUX11ID
00226 #endif
00227 #ifdef sunos4
00228 #define NETSNMP_OSTYPE NETSNMP_SUNOS4ID
00229 #endif
00230 #ifdef solaris2
00231 #define NETSNMP_OSTYPE NETSNMP_SOLARISID
00232 #endif
00233 #if defined(osf3) || defined(osf4) || defined(osf5)
00234 #define NETSNMP_OSTYPE NETSNMP_OSFID
00235 #endif
00236 #ifdef ultrix4
00237 #define NETSNMP_OSTYPE NETSNMP_ULTRIXID
00238 #endif
00239 #if defined(netbsd1) || defined(netbsd2)
00240 #define NETSNMP_OSTYPE NETSNMP_NETBSD1ID
00241 #endif
00242 #if defined(__FreeBSD__)
00243 #define NETSNMP_OSTYPE NETSNMP_FREEBSDID
00244 #endif
00245 #if defined(__DragonFly__)
00246 #define NETSNMP_OSTYPE NETSNMP_DRAGONFLYID
00247 #endif
00248 #if defined(irix6) || defined(irix5)
00249 #define NETSNMP_OSTYPE NETSNMP_IRIXID
00250 #endif
00251 #ifdef linux
00252 #define NETSNMP_OSTYPE NETSNMP_LINUXID
00253 #endif
00254 #if defined(bsdi2) || defined(bsdi3) || defined(bsdi4)
00255 #define NETSNMP_OSTYPE NETSNMP_BSDIID
00256 #endif
00257 #if defined(openbsd2) || defined(openbsd3) || defined(openbsd4)
00258 #define NETSNMP_OSTYPE NETSNMP_OPENBSDID
00259 #endif
00260 #ifdef WIN32
00261 #define NETSNMP_OSTYPE NETSNMP_WIN32ID
00262 #endif
00263 #if defined(aix3) || defined(aix4) || defined(aix5) || defined(aix6) || defined(aix7)
00264 #define NETSNMP_OSTYPE NETSNMP_AIXID
00265 #endif
00266 #if defined(darwin) && (darwin >= 8)
00267 #define NETSNMP_OSTYPE NETSNMP_MACOSXID
00268 #endif
00269 /* unknown */
00270 #ifndef NETSNMP_OSTYPE
00271 #define NETSNMP_OSTYPE NETSNMP_UNKNOWNID
00272 #endif
00273 
00274 /* The enterprise number has been assigned by the IANA group.   */
00275 /* Optionally, this may point to the location in the tree your  */
00276 /* company/organization has been allocated.                     */
00277 /* The assigned enterprise number for the NET_SNMP MIB modules. */
00278 #define NETSNMP_ENTERPRISE_OID                  8072
00279 #define NETSNMP_ENTERPRISE_MIB                  1,3,6,1,4,1,8072
00280 #define NETSNMP_ENTERPRISE_DOT_MIB              1.3.6.1.4.1.8072
00281 #define NETSNMP_ENTERPRISE_DOT_MIB_LENGTH       7
00282 
00283 /* The assigned enterprise number for sysObjectID. */
00284 #define NETSNMP_SYSTEM_MIB              1,3,6,1,4,1,8072,3,2,NETSNMP_OSTYPE
00285 #define NETSNMP_SYSTEM_DOT_MIB          1.3.6.1.4.1.8072.3.2.NETSNMP_OSTYPE
00286 #define NETSNMP_SYSTEM_DOT_MIB_LENGTH   10
00287 
00288 /* The assigned enterprise number for notifications. */
00289 #define NETSNMP_NOTIFICATION_MIB                1,3,6,1,4,1,8072,4
00290 #define NETSNMP_NOTIFICATION_DOT_MIB            1.3.6.1.4.1.8072.4
00291 #define NETSNMP_NOTIFICATION_DOT_MIB_LENGTH     8
00292 
00293 /* this is the location of the ucdavis mib tree.  It shouldn't be
00294    changed, as the places it is used are expected to be constant
00295    values or are directly tied to the UCD-SNMP-MIB. */
00296 #define NETSNMP_UCDAVIS_OID             2021
00297 #define NETSNMP_UCDAVIS_MIB             1,3,6,1,4,1,2021
00298 #define NETSNMP_UCDAVIS_DOT_MIB         1.3.6.1.4.1.2021
00299 #define NETSNMP_UCDAVIS_DOT_MIB_LENGTH  7
00300 
00301 /* how long to wait (seconds) for error querys before reseting the error trap.*/
00302 #define NETSNMP_ERRORTIMELENGTH 600 
00303 
00304 /* Exec command to fix PROC problems */
00305 /* %s will be replaced by the process name in error */
00306 
00307 /* #define NETSNMP_PROCFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
00308 
00309 /* Exec command to fix EXEC problems */
00310 /* %s will be replaced by the exec/script name in error */
00311 
00312 /* #define NETSNMP_EXECFIXCMD "/usr/bin/perl /local/scripts/fixproc %s" */
00313 
00314 /* Should exec output Cashing be used (speeds up things greatly), and
00315    if so, After how many seconds should the cache re-newed?  Note:
00316    Don't define CASHETIME to disable cashing completely */
00317 
00318 #define NETSNMP_EXCACHETIME 30
00319 #define NETSNMP_CACHEFILE ".snmp-exec-cache"
00320 #define NETSNMP_MAXCACHESIZE (1500*80)   /* roughly 1500 lines max */
00321 
00322 /* misc defaults */
00323 
00324 /* default of 100 meg minimum if the minimum size is not specified in
00325    the config file */
00326 #define NETSNMP_DEFDISKMINIMUMSPACE 100000
00327 
00328 /* default maximum load average before error */
00329 #define NETSNMP_DEFMAXLOADAVE 12.0
00330 
00331 /* max times to loop reading output from execs. */
00332 /* Because of sleep(1)s, this will also be time to wait (in seconds) for exec
00333    to finish */
00334 #define NETSNMP_MAXREADCOUNT 100
00335 
00336 /* Set if snmpgets should block and never timeout */
00337 /* The original CMU code had this hardcoded as = 1 */
00338 #define NETSNMP_SNMPBLOCK 1
00339 
00340 /* How long to wait before restarting the agent after a snmpset to
00341    EXTENSIBLEMIB.VERSIONMIBNUM.VERRESTARTAGENT.  This is
00342    necessary to finish the snmpset reply before restarting. */
00343 #define NETSNMP_RESTARTSLEEP 5
00344 
00345 /* UNdefine to allow specifying zero-length community string */
00346 /* #define NETSNMP_NO_ZEROLENGTH_COMMUNITY 1 */
00347 
00348 /* define to exit the agent on a bad kernel read */
00349 /* #define NETSNMP_EXIT_ON_BAD_KLREAD  */
00350 
00351 /* Number of community strings to store */
00352 #define NETSNMP_NUM_COMMUNITIES 5
00353 
00354 /* internal define */
00355 #define NETSNMP_LASTFIELD -1
00356 
00357 /*  Pluggable transports.  */
00358 
00359 /*  This is defined if support for the UDP/IP transport domain is
00360     available.   */
00361 #undef NETSNMP_TRANSPORT_UDP_DOMAIN
00362 
00363 /*  This is defined if support for the "callback" transport domain is
00364     available.   */
00365 #undef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
00366 
00367 /*  This is defined if support for the TCP/IP transport domain is
00368     available.  */
00369 #undef NETSNMP_TRANSPORT_TCP_DOMAIN
00370 
00371 /*  This is defined if support for the Unix transport domain
00372     (a.k.a. "local IPC") is available.  */
00373 #undef NETSNMP_TRANSPORT_UNIX_DOMAIN
00374 
00375 /*  This is defined if support for the AAL5 PVC transport domain is
00376     available.  */
00377 #undef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
00378 
00379 /*  This is defined if support for the IPX transport domain is
00380     available.  */
00381 #undef NETSNMP_TRANSPORT_IPX_DOMAIN
00382 
00383 /*  This is defined if support for the UDP/IPv6 transport domain is
00384     available.  */
00385 #undef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
00386 
00387 /*  This is defined if support for the TCP/IPv6 transport domain is
00388     available.  */
00389 #undef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
00390 
00391 /*  This is defined if support for the TLS transport domain is
00392     available.   */
00393 #undef NETSNMP_TRANSPORT_TLSBASE_DOMAIN
00394 
00395 /*  This is defined if support for the Alias transport domain is
00396     available.   */
00397 #undef NETSNMP_TRANSPORT_ALIAS_DOMAIN
00398 
00399 /*  This is defined if support for the SSH transport domain is
00400     available.   */
00401 #undef NETSNMP_TRANSPORT_SSH_DOMAIN
00402 
00403 /*  This is defined if support for the DTLS/UDP transport domain is
00404     available.   */
00405 #undef NETSNMP_TRANSPORT_DTLSUDP_DOMAIN
00406 
00407 /*  This is defined if support for the TLS/TCP transport domain is
00408     available.   */
00409 #undef NETSNMP_TRANSPORT_TLSTCP_DOMAIN
00410 
00411 /*  This is defined if support for stdin/out transport domain is available.   */
00412 #undef NETSNMP_TRANSPORT_STD_DOMAIN
00413 
00414 /*  This is defined if support for the IPv4Base transport domain is available.   */
00415 #undef NETSNMP_TRANSPORT_IPV4BASE_DOMAIN
00416 
00417 /* define this if the USM security module is available */
00418 #undef NETSNMP_SECMOD_USM
00419 
00420 /* define this if the KSM (kerberos based snmp) security module is available */
00421 #undef NETSNMP_SECMOD_KSM
00422 
00423 /* define this if the local security module is available */
00424 #undef NETSNMP_SECMOD_LOCALSM
00425 
00426 /* define if configured as a "mini-agent" */
00427 #undef NETSNMP_MINI_AGENT
00428 
00429 /* this is the location of the net-snmp mib tree.  It shouldn't be
00430    changed, as the places it is used are expected to be constant
00431    values or are directly tied to the UCD-SNMP-MIB. */
00432 #define NETSNMP_OID             8072
00433 #define NETSNMP_MIB             1,3,6,1,4,1,8072
00434 #define NETSNMP_DOT_MIB         1.3.6.1.4.1.8072
00435 #define NETSNMP_DOT_MIB_LENGTH  7
00436 
00437 /* pattern for temporary file names */
00438 #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
00439 
00440 /*
00441  * this must be before the system/machine includes, to allow them to
00442  * override and turn off inlining. To do so, they should do the
00443  * following:
00444  *
00445  *    #undef NETSNMP_ENABLE_INLINE
00446  *    #define NETSNMP_ENABLE_INLINE 0
00447  *
00448  * A user having problems with their compiler can also turn off
00449  * the use of inline by defining NETSNMP_NO_INLINE via their cflags:
00450  *
00451  *    -DNETSNMP_NO_INLINE
00452  *
00453  * Header and source files should only test against NETSNMP_USE_INLINE:
00454  *
00455  *   #ifdef NETSNMP_USE_INLINE
00456  *   NETSNMP_INLINE function(int parm) { return parm -1; }
00457  *   #endif
00458  *
00459  * Functions which should be static, regardless of whether or not inline
00460  * is available or enabled should use the NETSNMP_STATIC_INLINE macro,
00461  * like so:
00462  *
00463  *    NETSNMP_STATIC_INLINE function(int parm) { return parm -1; }
00464  *
00465  * NOT like this:
00466  *
00467  *    static NETSNMP_INLINE function(int parm) { return parm -1; }
00468  *
00469  */
00470 #ifdef NETSNMP_BROKEN_INLINE
00471 #   define NETSNMP_ENABLE_INLINE 0
00472 #else
00473 #   define NETSNMP_ENABLE_INLINE 1
00474 #endif
00475 
00476 #include NETSNMP_SYSTEM_INCLUDE_FILE
00477 #include NETSNMP_MACHINE_INCLUDE_FILE
00478 
00479 #if NETSNMP_ENABLE_INLINE && !defined(NETSNMP_NO_INLINE)
00480 #   define NETSNMP_USE_INLINE 1
00481 #   ifndef NETSNMP_INLINE
00482 #      define NETSNMP_INLINE inline
00483 #   endif
00484 #   ifndef NETSNMP_STATIC_INLINE
00485 #      define NETSNMP_STATIC_INLINE static inline
00486 #   endif
00487 #else
00488 #   define NETSNMP_INLINE 
00489 #   define NETSNMP_STATIC_INLINE static
00490 #endif
00491 
00492 #ifndef NETSNMP_IMPORT
00493 #  define NETSNMP_IMPORT extern
00494 #endif
00495 
00496 /* comment the next line if you are compiling with libsnmp.h 
00497    and are not using the UC-Davis SNMP library. */
00498 #define UCD_SNMP_LIBRARY 1
00499 
00500 /* final conclusion on nlist usage */
00501 #if defined(HAVE_NLIST) && defined(HAVE_STRUCT_NLIST_N_VALUE) && !defined(NETSNMP_DONT_USE_NLIST) && defined(HAVE_KMEM) && !defined(NETSNMP_NO_KMEM_USAGE)
00502 #define NETSNMP_CAN_USE_NLIST
00503 #endif
00504 
00505 
00506 /* ********* NETSNMP_MARK_BEGIN_LEGACY_DEFINITIONS *********/
00507 /* 
00508  * existing definitions prior to Net-SNMP 5.4
00509  *
00510  * do not add anything new here
00511  *
00512  */
00513 
00514 #ifndef NETSNMP_NO_LEGACY_DEFINITIONS
00515 
00516 #ifdef NETSNMP_DEFAULT_SNMP_VERSION
00517 # define DEFAULT_SNMP_VERSION NETSNMP_DEFAULT_SNMP_VERSION
00518 #endif
00519 
00520 #ifdef NETSNMP_SNMPV1
00521 # define SNMPV1 NETSNMP_SNMPV1
00522 #endif
00523 
00524 #ifdef NETSNMP_SNMPV2ANY
00525 # define SNMPV2ANY NETSNMP_SNMPV2ANY
00526 #endif
00527 
00528 #ifdef NETSNMP_SNMPV2AUTH
00529 # define SNMPV2AUTH NETSNMP_SNMPV2AUTH
00530 #endif
00531 
00532 #ifdef NETSNMP_DEFAULT_MIBS
00533 # define DEFAULT_MIBS NETSNMP_DEFAULT_MIBS
00534 #endif
00535 
00536 #ifdef NETSNMP_DEFAULT_MIBDIRS
00537 # define DEFAULT_MIBDIRS NETSNMP_DEFAULT_MIBDIRS
00538 #endif
00539 
00540 #ifdef NETSNMP_DEFAULT_MIBFILES
00541 # define DEFAULT_MIBFILES NETSNMP_DEFAULT_MIBFILES
00542 #endif
00543 
00544 #ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
00545 # define OPAQUE_SPECIAL_TYPES NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
00546 #endif
00547 
00548 #ifdef NETSNMP_ENABLE_SCAPI_AUTHPRIV
00549 # define SCAPI_AUTHPRIV NETSNMP_ENABLE_SCAPI_AUTHPRIV
00550 #endif
00551 
00552 #ifdef NETSNMP_USE_INTERNAL_MD5
00553 # define USE_INTERNAL_MD5 NETSNMP_USE_INTERNAL_MD5
00554 #endif
00555 
00556 #ifdef NETSNMP_USE_PKCS11
00557 # define USE_PKCS NETSNMP_USE_PKCS11
00558 #endif
00559 
00560 #ifdef NETSNMP_USE_OPENSSL
00561 # define USE_OPENSSL NETSNMP_USE_OPENSSL
00562 #endif
00563 
00564 #ifdef NETSNMP_NO_DEBUGGING
00565 # define SNMP_NO_DEBUGGING NETSNMP_NO_DEBUGGING
00566 #endif
00567 
00568 #ifdef NETSNMP_ALWAYS_DEBUG
00569 # define SNMP_ALWAYS_DEBUG NETSNMP_ALWAYS_DEBUG
00570 #endif
00571 
00572 #ifdef NETSNMP_USE_REVERSE_ASNENCODING
00573 # define USE_REVERSE_ASNENCODING NETSNMP_USE_REVERSE_ASNENCODING
00574 #endif
00575 #ifdef NETSNMP_DEFAULT_ASNENCODING_DIRECTION
00576 # define DEFAULT_ASNENCODING_DIRECTION NETSNMP_DEFAULT_ASNENCODING_DIRECTION
00577 #endif
00578 
00579 #define PERSISTENT_DIRECTORY NETSNMP_PERSISTENT_DIRECTORY
00580 #define PERSISTENT_MASK NETSNMP_PERSISTENT_MASK
00581 #define AGENT_DIRECTORY_MODE NETSNMP_AGENT_DIRECTORY_MODE
00582 #define MAX_PERSISTENT_BACKUPS NETSNMP_MAX_PERSISTENT_BACKUPS
00583 #define SYSTEM_INCLUDE_FILE NETSNMP_SYSTEM_INCLUDE_FILE
00584 #define MACHINE_INCLUDE_FILE NETSNMP_MACHINE_INCLUDE_FILE
00585 
00586 #ifdef NETSNMP_DEFAULT_SERVER_SEND_BUF
00587 # define DEFAULT_SERVER_SEND_BUF NETSNMP_DEFAULT_SERVER_SEND_BUF
00588 #endif
00589 #ifdef NETSNMP_DEFAULT_SERVER_RECV_BUF
00590 # define DEFAULT_SERVER_RECV_BUF NETSNMP_DEFAULT_SERVER_RECV_BUF
00591 #endif
00592 #ifdef NETSNMP_DEFAULT_CLIENT_SEND_BUF
00593 # define DEFAULT_CLIENT_SEND_BUF NETSNMP_DEFAULT_CLIENT_SEND_BUF
00594 #endif
00595 #ifdef NETSNMP_DEFAULT_CLIENT_RECV_BUF
00596 # define DEFAULT_CLIENT_RECV_BUF NETSNMP_DEFAULT_CLIENT_RECV_BUF
00597 #endif
00598 
00599 #ifdef NETSNMP_LOGFILE
00600 # define LOGFILE NETSNMP_LOGFILE
00601 #endif
00602 
00603 #ifdef NETSNMP_SYS_CONTACT
00604 # define SYS_CONTACT NETSNMP_SYS_CONTACT
00605 #endif
00606 
00607 #ifdef NETSNMP_SYS_LOC
00608 # define SYS_LOC NETSNMP_SYS_LOC
00609 #endif
00610 
00611 #ifdef NETSNMP_USE_LIBWRAP
00612 # define USE_LIBWRAP NETSNMP_USE_LIBWRAP
00613 #endif
00614 
00615 #ifdef NETSNMP_ENABLE_TESTING_CODE 
00616 # define SNMP_TESTING_CODE NETSNMP_ENABLE_TESTING_CODE
00617 #endif
00618 
00619 #ifdef NETSNMP_NO_ROOT_ACCESS
00620 # define NO_ROOT_ACCESS NETSNMP_NO_ROOT_ACCESS
00621 #endif
00622 
00623 #ifdef NETSNMP_NO_KMEM_USAGE
00624 # define NO_KMEM_USAGE NETSNMP_NO_KMEM_USAGE
00625 #endif
00626 
00627 #ifdef NETSNMP_NO_DUMMY_VALUES
00628 # define NO_DUMMY_VALUES NETSNMP_NO_DUMMY_VALUES
00629 #endif
00630 
00631 #define VERS_DESC     NETSNMP_VERS_DESC
00632 #define SYS_NAME      NETSNMP_SYS_NAME
00633 
00634 #define PROCMIBNUM    NETSNMP_PROCMIBNUM
00635 #define SHELLMIBNUM   NETSNMP_SHELLMIBNUM
00636 #define MEMMIBNUM     NETSNMP_MEMMIBNUM
00637 #define DISKMIBNUM    NETSNMP_DISKMIBNUM
00638 
00639 #define LOADAVEMIBNUM NETSNMP_LOADAVEMIBNUM
00640 #define VERSIONMIBNUM NETSNMP_VERSIONMIBNUM
00641 #define ERRORMIBNUM   NETSNMP_ERRORMIBNUM
00642 #define AGENTID       NETSNMP_AGENTID
00643 
00644 #define HPUX9ID       NETSNMP_HPUX9ID
00645 #define SUNOS4ID      NETSNMP_SUNOS4ID
00646 #define SOLARISID     NETSNMP_SOLARISID
00647 #define OSFID         NETSNMP_OSFID
00648 #define ULTRIXID      NETSNMP_ULTRIXID
00649 #define HPUX10ID      NETSNMP_HPUX10ID
00650 #define NETBSD1ID     NETSNMP_NETBSD1ID
00651 #define FREEBSDID     NETSNMP_FREEBSDID
00652 #define IRIXID        NETSNMP_IRIXID
00653 #define LINUXID       NETSNMP_LINUXID
00654 #define BSDIID        NETSNMP_BSDIID
00655 #define OPENBSDID     NETSNMP_OPENBSDID
00656 #define WIN32ID       NETSNMP_WIN32ID
00657 #define HPUX11ID      NETSNMP_HPUX11ID
00658 #define AIXID         NETSNMP_AIXID
00659 #define MACOSXID      NETSNMP_MACOSXID
00660 #define UNKNOWNID     NETSNMP_UNKNOWNID
00661 
00662 #define ENTERPRISE_OID            NETSNMP_ENTERPRISE_OID
00663 #define ENTERPRISE_MIB            NETSNMP_ENTERPRISE_MIB
00664 #define ENTERPRISE_DOT_MIB        NETSNMP_ENTERPRISE_DOT_MIB
00665 #define ENTERPRISE_DOT_MIB_LENGTH NETSNMP_ENTERPRISE_DOT_MIB_LENGTH
00666 
00667 #define SYSTEM_MIB                NETSNMP_SYSTEM_MIB
00668 #define SYSTEM_DOT_MIB            NETSNMP_SYSTEM_DOT_MIB
00669 #define SYSTEM_DOT_MIB_LENGTH     NETSNMP_SYSTEM_DOT_MIB_LENGTH
00670 
00671 #define NOTIFICATION_MIB            NETSNMP_NOTIFICATION_MIB    
00672 #define NOTIFICATION_DOT_MIB        NETSNMP_NOTIFICATION_DOT_MIB
00673 #define NOTIFICATION_DOT_MIB_LENGTH NETSNMP_NOTIFICATION_DOT_MIB_LENGTH
00674 
00675 #define UCDAVIS_OID               NETSNMP_UCDAVIS_OID
00676 #define UCDAVIS_MIB               NETSNMP_UCDAVIS_MIB
00677 #define UCDAVIS_DOT_MIB           NETSNMP_UCDAVIS_DOT_MIB
00678 #define UCDAVIS_DOT_MIB_LENGTH    NETSNMP_UCDAVIS_DOT_MIB_LENGTH
00679 
00680 #define ERRORTIMELENGTH NETSNMP_ERRORTIMELENGTH
00681 
00682 #ifdef NETSNMP_PROCFIXCMD
00683 # define PROCFIXCMD NETSNMP_PROCFIXCMD
00684 #endif
00685 
00686 #ifdef NETSNMP_EXECFIXCMD
00687 # define EXECFIXCMD NETSNMP_EXECFIXCMD
00688 #endif
00689 
00690 #define EXCACHETIME  NETSNMP_EXCACHETIME
00691 #define CACHEFILE    NETSNMP_CACHEFILE
00692 #define MAXCACHESIZE NETSNMP_MAXCACHESIZE
00693 
00694 #define DEFDISKMINIMUMSPACE NETSNMP_DEFDISKMINIMUMSPACE
00695 #define DEFMAXLOADAVE NETSNMP_DEFMAXLOADAVE
00696 #define MAXREADCOUNT NETSNMP_MAXREADCOUNT
00697 
00698 #define SNMPBLOCK NETSNMP_SNMPBLOCK
00699 #define RESTARTSLEEP NETSNMP_RESTARTSLEEP
00700 
00701 #define NUM_COMMUNITIES NETSNMP_NUM_COMMUNITIES
00702 
00703 #ifdef NETSNMP_NO_ZEROLENGTH_COMMUNITY
00704 # define NO_ZEROLENGTH_COMMUNITY NETSNMP_NO_ZEROLENGTH_COMMUNITY
00705 #endif
00706 
00707 #ifdef NETSNMP_EXIT_ON_BAD_KLREAD
00708 # define EXIT_ON_BAD_KLREAD NETSNMP_EXIT_ON_BAD_KLREAD
00709 #endif
00710 
00711 #define LASTFIELD NETSNMP_LASTFIELD
00712 
00713 #define CONFIGURE_OPTIONS NETSNMP_CONFIGURE_OPTIONS
00714 
00715 #ifdef NETSNMP_TRANSPORT_UDP_DOMAIN
00716 # define SNMP_TRANSPORT_UDP_DOMAIN NETSNMP_TRANSPORT_UDP_DOMAIN
00717 #endif
00718 
00719 #ifdef NETSNMP_TRANSPORT_CALLBACK_DOMAIN
00720 # define SNMP_TRANSPORT_CALLBACK_DOMAIN NETSNMP_TRANSPORT_CALLBACK_DOMAIN
00721 #endif
00722 
00723 #ifdef NETSNMP_TRANSPORT_TCP_DOMAIN
00724 # define SNMP_TRANSPORT_TCP_DOMAIN NETSNMP_TRANSPORT_TCP_DOMAIN
00725 #endif
00726 
00727 #ifdef NETSNMP_TRANSPORT_UNIX_DOMAIN
00728 # define SNMP_TRANSPORT_UNIX_DOMAIN NETSNMP_TRANSPORT_UNIX_DOMAIN
00729 #endif
00730 
00731 #ifdef NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
00732 # define SNMP_TRANSPORT_AAL5PVC_DOMAIN NETSNMP_TRANSPORT_AAL5PVC_DOMAIN
00733 #endif
00734 
00735 #ifdef NETSNMP_TRANSPORT_IPX_DOMAIN
00736 # define SNMP_TRANSPORT_IPX_DOMAIN NETSNMP_TRANSPORT_IPX_DOMAIN
00737 #endif
00738 
00739 #ifdef NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
00740 # define SNMP_TRANSPORT_UDPIPV6_DOMAIN NETSNMP_TRANSPORT_UDPIPV6_DOMAIN
00741 #endif
00742 
00743 #ifdef NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
00744 # define SNMP_TRANSPORT_TCPIPV6_DOMAIN NETSNMP_TRANSPORT_TCPIPV6_DOMAIN
00745 #endif
00746 
00747 #ifdef NETSNMP_TRANSPORT_TLS_DOMAIN
00748 # define SNMP_TRANSPORT_TLS_DOMAIN NETSNMP_TRANSPORT_TLS_DOMAIN
00749 #endif
00750 
00751 #ifdef NETSNMP_TRANSPORT_STD_DOMAIN
00752 # define SNMP_TRANSPORT_STD_DOMAIN NETSNMP_TRANSPORT_STD_DOMAIN
00753 #endif
00754 
00755 #ifdef NETSNMP_SECMOD_USM
00756 # define SNMP_SECMOD_USM NETSNMP_SECMOD_USM
00757 #endif
00758 
00759 #ifdef NETSNMP_SECMOD_KSM
00760 # define SNMP_SECMOD_KSM NETSNMP_SECMOD_KSM
00761 #endif
00762 
00763 #ifdef NETSNMP_SECMOD_LOCALSM 
00764 # define SNMP_SECMOD_LOCALSM NETSNMP_SECMOD_LOCALSM
00765 #endif
00766 
00767 #ifdef NETSNMP_REENTRANT
00768 # define NS_REENTRANT NETSNMP_REENTRANT
00769 #endif
00770 
00771 #ifdef NETSNMP_ENABLE_IPV6
00772 # define INET6 NETSNMP_ENABLE_IPV6
00773 #endif
00774 
00775 #ifdef NETSNMP_ENABLE_LOCAL_SMUX
00776 # define LOCAL_SMUX NETSNMP_ENABLE_LOCAL_SMUX
00777 #endif
00778 
00779 #ifdef NETSNMP_AGENTX_DOM_SOCK_ONLY
00780 # define AGENTX_DOM_SOCK_ONLY NETSNMP_AGENTX_DOM_SOCK_ONLY
00781 #endif
00782 
00783 #ifdef NETSNMP_SNMPTRAPD_DISABLE_AGENTX
00784 # define SNMPTRAPD_DISABLE_AGENTX
00785 #endif
00786 
00787 #ifdef NETSNMP_USE_KERBEROS_MIT
00788 # define MIT_NEW_CRYPTO NETSNMP_USE_KERBEROS_MIT
00789 #endif
00790 
00791 #ifdef NETSNMP_USE_KERBEROS_HEIMDAL
00792 # define HEIMDAL NETSNMP_USE_KERBEROS_HEIMDAL
00793 #endif
00794 
00795 #ifdef NETSNMP_AGENTX_SOCKET
00796 # define AGENTX_SOCKET NETSNMP_AGENTX_SOCKET
00797 #endif
00798 
00799 #ifdef NETSNMP_DISABLE_MIB_LOADING
00800 # define DISABLE_MIB_LOADING NETSNMP_DISABLE_MIB_LOADING
00801 #endif
00802 
00803 #ifdef NETSNMP_DISABLE_SNMPV1
00804 # define DISABLE_SNMPV1 NETSNMP_DISABLE_SNMPV1
00805 #endif
00806 
00807 #ifdef NETSNMP_DISABLE_SNMPV2C
00808 # define DISABLE_SNMPV2C NETSNMP_DISABLE_SNMPV2C
00809 #endif
00810 
00811 #ifdef NETSNMP_DISABLE_SET_SUPPORT
00812 # define DISABLE_SET_SUPPORT NETSNMP_DISABLE_SET_SUPPORT
00813 #endif
00814 
00815 #ifdef NETSNMP_DISABLE_DES
00816 # define DISABLE_DES NETSNMP_DISABLE_DES
00817 #endif
00818 
00819 #ifdef NETSNMP_DISABLE_MD5
00820 # define DISABLE_MD5 NETSNMP_DISABLE_MD5
00821 #endif
00822 
00823 #ifdef NETSNMP_DONT_USE_NLIST
00824 # define DONT_USE_NLIST NETSNMP_DONT_USE_NLIST
00825 #endif
00826 
00827 #ifdef NETSNMP_CAN_USE_NLIST
00828 # define CAN_USE_NLIST NETSNMP_CAN_USE_NLIST
00829 #endif
00830 
00831 #ifdef NETSNMP_CAN_USE_SYSCTL
00832 # define CAN_USE_SYSCTL NETSNMP_CAN_USE_SYSCTL
00833 #endif
00834 
00835 #endif /* NETSNMP_NO_LEGACY_DEFINITIONS */
00836 
00837 
00838 #endif /* NET_SNMP_CONFIG_H */