unregister scalar?

"Skiba, Bill" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Is netsnmp_unregister_handler() the correct API to un-do the effect of a previous call to netsnmp_register_scalar() ?
That is, if I used netsnmp_create_handler_registration() followed by netsnmp_register_scalar() to register a single OID, will netsnmp_unregister_handler() remove the registration for only that OID, and no other, as well as deallocate all other resources that Net-SNMP may have internally allocated?

If so, then after unregistering it, can my code subsequently re-register it by simply repeating the original registration sequence (netsnmp_create_handler_registration(), followed by netsnmp_register_scalar() )?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.