X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audioc.c;h=932f0d30e016bde1d7bbbb021194582c05a7cb94;hb=e3a7e12639c34fd86d48a072beb48add8c498d09;hp=248f6fb620291ff6ad05a21a8174a1635198b77c;hpb=742c8b3f79a59278ced71e1855da1846b157b494;p=paraslash.git diff --git a/audioc.c b/audioc.c index 248f6fb6..932f0d30 100644 --- a/audioc.c +++ b/audioc.c @@ -143,7 +143,7 @@ static struct i9e_completer audiod_completers[] = { {.name = NULL} }; -static void audioc_pre_select(struct sched *s, void *context) +static void audioc_pre_monitor(struct sched *s, void *context) { struct audioc_task *at = context; int ret = btr_node_status(at->btrn, 0, BTR_NT_ROOT); @@ -153,7 +153,7 @@ static void audioc_pre_select(struct sched *s, void *context) sched_monitor_readfd(at->fd, s); } -static int audioc_post_select(struct sched *s, void *context) +static int audioc_post_monitor(struct sched *s, void *context) { char *buf = NULL; struct audioc_task *at = context; @@ -211,8 +211,8 @@ static int audioc_i9e_line_handler(char *line) EMBRACE(.name = "audioc line handler")); at->task = task_register(&(struct task_info) { .name = "audioc", - .pre_select = audioc_pre_select, - .post_select = audioc_post_select, + .pre_monitor = audioc_pre_monitor, + .post_monitor = audioc_post_monitor, .context = at, }, &sched); i9e_attach_to_stdout(at->btrn);