On Thu, 7 Jul 2005 15:41:31 +0530 aakansha wrote:
AR> If a type of oid is ASN_UNSIGNED in ASN.1 , what type of variable (to
AR> hold the value of the oid) should I declare in the corresponding C
AR> file?
AR> 
AR> What I have declared was 
AR> 
AR> u_long position;
AR> 
AR> This is the variable going to hold the value of oid of type
AR> ASN_UNSIGNED. Is this is correct or I have to declare it as "long"?

u_long is correct.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to