X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=grab_client.c;h=50594f238aeb5d579c6cb0c627fb3c4b5fe51f4a;hp=efe9cf613b13720684b24cf2a0db85799fcd3aef;hb=5430c77f1fdf97d92796f44623d257b8124bde24;hpb=8a8cd0f5bb40dcfad68608193e8c57decd90b25e diff --git a/grab_client.c b/grab_client.c index efe9cf61..50594f23 100644 --- a/grab_client.c +++ b/grab_client.c @@ -33,6 +33,7 @@ #include "error.h" #include "string.h" #include "fd.h" +#include "crypt.h" /** grab clients that are not yet attached to a filter node */ struct list_head inactive_grab_client_list; @@ -123,7 +124,7 @@ static void add_inactive_gc(struct grab_client *gc) { PARA_INFO_LOG("adding grab client %p (fd %d) to inactive list\n", gc, gc->fd); - list_add(&gc->node, &inactive_grab_client_list); + para_list_add(&gc->node, &inactive_grab_client_list); } static void gc_free(struct grab_client *gc) @@ -164,13 +165,13 @@ void activate_grab_client(struct grab_client *gc, struct filter_node *fn) { PARA_INFO_LOG("activating %p (fd %d, filter node: %p)\n", gc, gc->fd, fn); list_del(&gc->node); - list_add(&gc->fcb.node, &fn->callbacks); + para_list_add(&gc->fcb.node, &fn->callbacks); } /** * activate inactive grab clients if possible * - * \param slot audiod's slot for the new audio file + * \param slot_num audiod's slot for the new audio file * \param audio_format_num the number of the audio format of the new audio file * \param filter_list the list of activated filters for that new audio file *