X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv_common.c;h=31fd81f1ec52c3d0b6204e8b3663a7d36e14fbb3;hp=1ad84438026ce8f724ddf8d1fba8547a96276fb6;hb=62c0894fbb589dd45e69b7d9ef1fd152a9960d62;hpb=7649f22106cec2c6eb8bb10f279401e1af5451d0 diff --git a/recv_common.c b/recv_common.c index 1ad84438..31fd81f1 100644 --- a/recv_common.c +++ b/recv_common.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2006 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2006 Andre Noll , see file COPYING. */ /** \file recv_common.c common functions of para_recv and para_audiod */ @@ -19,27 +15,6 @@ #include "recv.h" #include "string.h" -/** - * Call the init function of each paraslash receiver. - * - * Receivers employ the user_data feature of the lopsub library: Each receiver - * of the recv_cmd suite defines a struct receiver as its user data. - * recv_init() obtains a pointer to this structure by calling lls_user_data(). - * If the receiver has an init function (i.e., if ->init is not NULL), ->init() - * is called to initialize the receiver. - */ -void recv_init(void) -{ - int i; - - FOR_EACH_RECEIVER(i) { - const struct lls_command *cmd = RECV_CMD(i); - const struct receiver *r = lls_user_data(cmd); - if (r && r->init) - r->init(); - } -} - /** * Check if the given string is a valid receiver specifier. *