+void ping_startup(gboolean reconfigure)
+{
+ if (reconfigure) return;
+
+ ping_targets = g_hash_table_new(g_direct_hash, g_int_equal);
+ ping_ids = g_hash_table_new(g_direct_hash, g_int_equal);
+
+ /* listen for clients to disappear */
+ client_add_destroy_notify(ping_end, NULL);
+}
+
+void ping_shutdown(gboolean reconfigure)
+{
+ if (reconfigure) return;
+
+ g_hash_table_unref(ping_targets);
+ g_hash_table_unref(ping_ids);
+
+ client_remove_destroy_notify(ping_end);
+}
+