void shutdown_snmpNotifyTable(void) { DEBUGMSGTL(("snmpNotifyTable", "shutting down ... ")); notifyTable_unregister_notifications(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_PRE_UPDATE_CONFIG, NULL, NULL); snmp_unregister_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_PRE_UPDATE_CONFIG, notifyTable_unregister_notifications, NULL, FALSE); snmp_unregister_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_REGISTER_NOTIFICATIONS, notifyTable_register_notifications, NULL, FALSE); snmp_unregister_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_SEND_TRAP2, send_notifications, NULL, FALSE); #ifndef DISABLE_SNMPV1 snmp_unregister_callback(SNMP_CALLBACK_APPLICATION, SNMPD_CALLBACK_SEND_TRAP1, send_notifications, NULL, FALSE); #endif snmp_unregister_callback(SNMP_CALLBACK_LIBRARY, SNMP_CALLBACK_STORE_DATA, store_snmpNotifyTable, NULL, FALSE); UNREGISTER_SYSOR_ENTRY(snmpNotifyFullCompliance); DEBUGMSGTL(("snmpNotifyTable", "done.\n")); }
void shutdown_snmpMPDStats_5_5 (void) { UNREGISTER_SYSOR_ENTRY (snmpMPDCompliance); if (snmpMPDStats_reg) { netsnmp_unregister_handler (snmpMPDStats_reg); snmpMPDStats_reg = NULL; } }
void shutdown_usmStats_5_5(void) { UNREGISTER_SYSOR_ENTRY(usmMIBCompliance); if (usmStats_reg) { netsnmp_unregister_handler(usmStats_reg); usmStats_reg = NULL; } }
void deinit_tunnel(void) { UNREGISTER_SYSOR_ENTRY(sysORTable_reg); }