Hi, 

We are developing an Agentx based subagent.  We are implementing the MIB objects as 
implemented by NET-SNMP for interfaces mib in interfaces.c.  But we require the type 
of the operation being performed in the var_xxxx() stub called by NET-SNMP library.  
In the function netsnmp_old_api_helper(), I observed that, the value of exact will be 
set to 1 for GET and SET requests.  For GETNEXT operation it is set to 0.  Is there a 
way to get the type of the request being passed to the var_xxx() stub?? 

For the time being I have modified the NET-SNMP 
code(old_api.c,netsnmp_old_api_helper())  to give me a different value for SET related 
requests.  Is this acceptable?  Will this have any impact on the existing 
applications? 

Or, is there any other way to know the type of SNMP request in the var_xxx() stub? 

Please clarify me. 

Thanks
Mahesh


-------------------------------------------------------
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

Reply via email to