projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option.h change for help
[lttv.git]
/
ltt
/
branches
/
poly
/
include
/
lttv
/
hook.h
diff --git
a/ltt/branches/poly/include/lttv/hook.h
b/ltt/branches/poly/include/lttv/hook.h
index 2fd17e1ac709ebb34c57cbf229a6a9ba3fe904e9..2262423868edc2f62094df64ffbf557b7278f0c5 100644
(file)
--- a/
ltt/branches/poly/include/lttv/hook.h
+++ b/
ltt/branches/poly/include/lttv/hook.h
@@
-12,7
+12,7
@@
typedef gboolean (*LttvHook)(void *hook_data, void *call_data);
/* A list of hooks allows registering hooks to be called later. */
/* A list of hooks allows registering hooks to be called later. */
-typedef
struct _LttvHooks
LttvHooks;
+typedef
GArray
LttvHooks;
/* Create and destroy a list of hooks */
/* Create and destroy a list of hooks */
@@
-29,7
+29,7
@@
void lttv_hooks_add(LttvHooks *h, LttvHook f, void *hook_data);
/* Add a list of hooks to the list h */
/* Add a list of hooks to the list h */
-void lttv_hooks_add(LttvHooks *h, LttvHooks *list);
+void lttv_hooks_add
_list
(LttvHooks *h, LttvHooks *list);
/* Remove a hook from the list. Return the hook data. */
/* Remove a hook from the list. Return the hook data. */
@@
-44,7
+44,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_data(LttvHooks *h, LttvHook *list);
+void lttv_hooks_remove_data
_list
(LttvHooks *h, LttvHook *list);
/* Return the number of hooks in the list */
/* Return the number of hooks in the list */
@@
-77,7
+77,7
@@
gboolean lttv_hooks_call_check(LttvHooks *h, void *call_data);
/* 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 */
-typedef
struct _LttvHooksById
LttvHooksById;
+typedef
GPtrArray
LttvHooksById;
/* Create and destroy a hooks by id list */
/* Create and destroy a hooks by id list */
This page took
0.02294 seconds
and
4
git commands to generate.