blob: e7adf41d97ee739e23affe8d34a98e4f9b05d715 [file] [log] [blame]
#ifndef NETSNMP_LIBRARY_OID_H
#define NETSNMP_LIBRARY_OID_H
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#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 /* NETSNMP_LIBRARY_OID_H */