X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=recv_common.c;h=948de4745dda8c62bce88f31ec8362650ae85de0;hp=d48b3476f883bd9ca830aa97bc92dc0112433341;hb=4643fd6eeee81acc0e82e47e7895a3111775bbba;hpb=8bbbc7f397b5068407928bd594a2dea921b8410e diff --git a/recv_common.c b/recv_common.c index d48b3476..948de474 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 */ @@ -21,6 +17,12 @@ /** * 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) {