/usr/include/net-snmp/library/oid.h is in libsnmp-dev 5.7.3+dfsg-1.8ubuntu3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #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 */
|