Wes, Can you let us know the new API to use? If there is any tutorial on this??? Reference to an example implementation would help me a lot.
Thanks Mahesh -----Original Message----- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 10:14 AM To: Kurapati M-G19456 Cc: [EMAIL PROTECTED] Subject: Re: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub. >>>>> On Mon, 7 Jun 2004 09:16:02 +0530, Kurapati M-G19456 >>>>> <[EMAIL PROTECTED]> said: Kurapati> We are developing an Agentx based subagent. We are Kurapati> implementing the MIB objects as implemented by NET-SNMP for Kurapati> interfaces mib in interfaces.c. But we require the type of Kurapati> the operation being performed in the var_xxxx() stub called by Kurapati> NET-SNMP library. In the function netsnmp_old_api_helper(), I Kurapati> observed that, the value of exact will be set to 1 for GET and Kurapati> SET requests. For GETNEXT operation it is set to 0. Is there Kurapati> a way to get the type of the request being passed to the Kurapati> var_xxx() stub?? No, I'm afraid (this is one of the annoying things about the original API that made us do a new API in the first place!). -- Wes Hardaker Sparta ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users