Thx really a lot. Where i can find the val structure ?
and how i can check the oid i want what type is?
Have a nice day
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-05-25 at 11:33, Alaios wrote:
> > Hi .. i want to know how i can store in to a
> variable
> > the single value that i get from this loop
> > 
> > for(vars=response->variable; vars;
> >     vars=vars->next_variable)
> 
>       long intvalue = *vars->val.integer;
> 
> 
> > I want an integer variable to hold the value 
> > e.x 1,2 or 3 e.t.c
> 
> That assumes that this *is* a (signed) integer
> value,
> of course.  If it's a different syntax, then you
> might need to use one of the other fields in the
> 'val' union structure.
> 
> Dave
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create
> apps using Yahoo!
> Search APIs Find out how you can build Yahoo!
> directly into your own
> Applications - visit
>
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to