HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //usr/include/net-snmp/library/oid.h
#ifndef NETSNMP_LIBRARY_OID_H
#define NETSNMP_LIBRARY_OID_H

#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif

#if defined(__CYGWIN__) && defined(__LP64__)
/*
 * The winExtDLL implementation assumes that the size of an OID component is
 * 32 bits. Since on the 64-bit Cygwin environment unsigned long is 64 bits
 * wide, use unsigned int instead for oids. See also the definition of
 * SnmpVarBindList on MSDN
 * (https://msdn.microsoft.com/en-us/library/windows/desktop/aa378929.aspx).
 */
typedef unsigned int oid;
#define MAX_SUBID   0xFFFFFFFFUL
#define NETSNMP_PRIo ""
#else
#ifndef EIGHTBIT_SUBIDS
typedef u_long oid;
#define MAX_SUBID   0xFFFFFFFFUL
#define NETSNMP_PRIo "l"
#else
typedef uint8_t oid;
#define MAX_SUBID   0xFF
#define NETSNMP_PRIo ""
#endif
#endif /* __CYGWIN64__ */

#endif /* NETSNMP_LIBRARY_OID_H */