X-Git-Url: http://git.lttng.org/?p=lttv.git;a=blobdiff_plain;f=lttv%2Flttv%2Fhook.h;h=81383b5b4285c44ce14ccfb17f23632633e7b28a;hp=c5a71b752184521c6e1e2bc858e69559c07304f2;hb=7a4bdb546094fea3343bfc80e3744ea26a08dd22;hpb=1111bb0f69e3c01c9264b19cbc7d2a8a02eeb569 diff --git a/lttv/lttv/hook.h b/lttv/lttv/hook.h index c5a71b75..81383b5b 100644 --- a/lttv/lttv/hook.h +++ b/lttv/lttv/hook.h @@ -22,7 +22,7 @@ #define HOOK_H #include -#include +#include /* 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 @@ -120,6 +120,8 @@ gboolean lttv_hooks_call_merge(LttvHooks *h1, void *call_data1, 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 */ @@ -184,4 +186,6 @@ void lttv_hooks_by_id_channel_destroy(LttvHooksByIdChannelArray *h); LttvHooks *lttv_hooks_by_id_channel_find(LttvHooksByIdChannelArray *h, GQuark channel, guint16 id); +#endif /* BABEL_CLEANUP */ + #endif // HOOK_H