/* 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 */
/* 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 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 */
/* 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 */