On sön, 2008-01-27 at 17:57 +0200, Isaac Eliassi wrote: 
> Hi, 
> 
> At which header file can I find the definition of the oid structure.

>From net-snmp/types.h (HEAD, not 4.2.6, but I do not think this has
changed a lot)

#ifndef MAX_SUBID /* temporary - duplicate definition protection */
#ifndef EIGHTBIT_SUBIDS
typedef u_long  oid;
#define MAX_SUBID   0xFFFFFFFF
#else
typedef u_char  oid;
#define MAX_SUBID   0xFF
#endif
#endif

Please note that oid is a typedef, not a struct.

/MF
---
grep(1) is your friend 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to