net-snmp 5.7
oid.h
00001 #ifndef NETSNMP_LIBRARY_OID_H
00002 #define NETSNMP_LIBRARY_OID_H
00003 
00004 #ifdef HAVE_INTTYPES_H
00005 #include <inttypes.h>
00006 #endif
00007 
00008 #ifndef EIGHTBIT_SUBIDS
00009 typedef u_long oid;
00010 #define MAX_SUBID   0xFFFFFFFF
00011 #define NETSNMP_PRIo "l"
00012 #else
00013 typedef uint8_t oid;
00014 #define MAX_SUBID   0xFF
00015 #define NETSNMP_PRIo ""
00016 #endif
00017 
00018 #endif /* NETSNMP_LIBRARY_OID_H */