return h->len;
}
-
-inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
-{
- LttvHooks *ret;
- if(id < h->len) ret = h->pdata[id];
- else ret = NULL;
-
- return ret;
-}
-
-
void lttv_hooks_by_id_remove(LttvHooksById *h, unsigned id)
{
if(id < h->len && h->pdata[id] != NULL) {
/* Get the list of hooks for an id, NULL if none exists */
-LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id);
+inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
+{
+ LttvHooks *ret;
+ if(id < h->len) ret = h->pdata[id];
+ else ret = NULL;
+
+ return ret;
+}
/* Remove the list of hooks associated with an id */