#define HOOK_H
#include <glib.h>
-#include <ltt/compiler.h>
+#include <lttv/compiler.h>
/* A hook is a function to call with the supplied hook data, and with
call site specific data (e.g., hooks for events are called with a
/* Remove a list of hooks from the hooks list in h. */
-void lttv_hooks_remove_list(LttvHooks *h, LttvHooks *list);
+void lttv_hooks_remove_list(LttvHooks *h, const LttvHooks *list);
/* Return the number of hooks in the list */
gboolean lttv_hooks_call_check_merge(LttvHooks *h1, void *call_data1,
LttvHooks *h2, void *call_data2);
+#ifdef BABEL_CLEANUP
+
/* Sometimes different hooks need to be called based on the case. The
case is represented by an unsigned integer id */
LttvHooks *lttv_hooks_by_id_channel_find(LttvHooksByIdChannelArray *h,
GQuark channel, guint16 id);
+#endif /* BABEL_CLEANUP */
+
+/* Print information about each hook in the list*/
+
+void lttv_hooks_print(const LttvHooks *h);
+
#endif // HOOK_H