X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=recv.h;h=391395b241d67abf12eb70996a10ee7950519087;hb=be5daec66f163725489f42d512659a8af5c3fd59;hp=2976cad6fe0f97866bcabc715339a3b9b3f134f1;hpb=7e0a0badba66c0cdcb0dcbc8cf3d0f5b71001ca3;p=paraslash.git diff --git a/recv.h b/recv.h index 2976cad6..391395b2 100644 --- a/recv.h +++ b/recv.h @@ -21,11 +21,11 @@ struct receiver_node { /** * The file descriptor to receive the stream. * - * The pre_select function of the receiver adds this file descriptor to + * The pre_monitor function of the receiver adds this file descriptor to * the set of file descriptors which are watched for readability or * writability, depending on the state of the connection (if any). * - * If \a fd is readable, the post_select function of the receiver reads + * If \a fd is readable, the post_monitor function of the receiver reads * data from this fd into the buffer pool area of \a btrp. * * \sa \ref receiver. @@ -66,9 +66,9 @@ struct receiver { */ void (*close)(struct receiver_node *rn); /** Ask the scheduler to monitor receive fds. */ - void (*pre_select)(struct sched *s, void *context); + void (*pre_monitor)(struct sched *s, void *context); /** Receive data and make it available to consumers. */ - int (*post_select)(struct sched *s, void *context); + int (*post_monitor)(struct sched *s, void *context); /** * Answer a buffer tree query. * @@ -96,4 +96,4 @@ struct receiver { int check_receiver_arg(const char *ra, struct lls_parse_result **lprp); void print_receiver_helps(bool detailed); -int generic_recv_pre_select(struct sched *s, struct receiver_node *rn); +int generic_recv_pre_monitor(struct sched *s, struct receiver_node *rn);