Re: oid declaration

2005-06-03 Thread Dave Shield
On Fri, 2005-06-03 at 05:36, Alaios wrote: > Hi i try to find how the oid struct is defined.. I > have search in the /usr/include/net-snmp but i cant > figure out. I'm not sure where you looked, but: /usr/include/net-snmp/types.h: #ifndef EIGHTBIT_SUBIDS typedef u_long oid; #define

oid declaration

2005-06-02 Thread Alaios
Hi i try to find how the oid struct is defined.. I have search in the /usr/include/net-snmp but i cant figure out. Thx Ah one more question i want to take the value from a counter type... how i must parse it? I have used the same actions as with an integer intvalue=*vars->val.integer and seems to