SubAgent should follow the following steps for deregistration. Please correct me if I
am wrong.
1. de-register the MIB
unregister_mib(oid, oid_len)
2. Free the table information (for table helper)
3. free the netsnmp_handler_registration structure
netsnmp_handler_registration_free(netsnmp_handler_registration*)
Thanks
Mahesh
-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:59 PM
To: Kurapati M-G19456
Cc: [EMAIL PROTECTED]
Subject: Re: Deregistration of a MIB -- Any API?
> I am not able to grep that API in 5.1.1.
> Any idea on the file name that I need to look into.
agent/agent_handler.c
It simply takes the netsnmp_handler_registration structure created in the
initialisation routine.
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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