On Wed, 2005-07-06 at 18:25 +0530, aakansha rajvi wrote:
> Is oid used to declare an oid is a user-defined data type
> or a typedef or structure?

It's a typedef.
See <net-snmp/library/asn1.h>:

#ifndef EIGHTBIT_SUBIDS
    typedef u_long  oid;
#define MAX_SUBID   0xFFFFFFFF
#else
    typedef u_char  oid;
#define MAX_SUBID   0xFF
#endif


Dave



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to