]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - write.h
sched: Directly pass context pointer to pre/post_select().
[paraslash.git] / write.h
diff --git a/write.h b/write.h
index 32c437f8d175826951f2861f82277cf68ca52461..cb73498881d1fb2d32e5d259d0bd21fd4227d8f4 100644 (file)
--- a/write.h
+++ b/write.h
@@ -59,13 +59,13 @@ struct writer {
         * This is called from scheduler. It may use the sched pointer to add
         * any file descriptors or to decrease the select timeout.
         */
-       void (*pre_select)(struct sched *s, struct task *t);
+       void (*pre_select)(struct sched *s, void *context);
        /**
         * Write audio data.
         *
         * Called from the post_select function of the writer node's task.
         */
-       int (*post_select)(struct sched *s, struct task *t);
+       int (*post_select)(struct sched *s, void *context);
        /**
         * Close one instance of the writer.
         *