projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
lttv
/
hook.h
diff --git
a/lttv/lttv/hook.h
b/lttv/lttv/hook.h
index c5a71b752184521c6e1e2bc858e69559c07304f2..13473ca549f3e69ecbc8e89703adb1fb8bc63d5b 100644
(file)
--- a/
lttv/lttv/hook.h
+++ b/
lttv/lttv/hook.h
@@
-14,15
+14,15
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
#ifndef HOOK_H
#define HOOK_H
#include <glib.h>
*/
#ifndef HOOK_H
#define HOOK_H
#include <glib.h>
-#include <ltt/compiler.h>
+#include <ltt
v
/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
/* 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
@@
-77,7
+77,7
@@
void lttv_hooks_remove_data(LttvHooks *h, LttvHook f, void *hook_data);
/* Remove a list of hooks from the hooks list in h. */
/* 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 */
/* Return the number of hooks in the list */
@@
-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);
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 */
/* Sometimes different hooks need to be called based on the case. The
case is represented by an unsigned integer id */
@@
-184,4
+186,10
@@
void lttv_hooks_by_id_channel_destroy(LttvHooksByIdChannelArray *h);
LttvHooks *lttv_hooks_by_id_channel_find(LttvHooksByIdChannelArray *h,
GQuark channel, guint16 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
#endif // HOOK_H
This page took
0.023302 seconds
and
4
git commands to generate.