X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sync_filter.c;h=3174a4ef741b0afe1107ff6bd9146f1c82f5f77e;hb=e3a7e12639c34fd86d48a072beb48add8c498d09;hp=ec5bb2736a041748c6fb5d7371e731b86147e784;hpb=742c8b3f79a59278ced71e1855da1846b157b494;p=paraslash.git diff --git a/sync_filter.c b/sync_filter.c index ec5bb273..3174a4ef 100644 --- a/sync_filter.c +++ b/sync_filter.c @@ -248,7 +248,7 @@ static void sync_set_timeout(struct sync_filter_context *ctx, tv_add(now, &to, &ctx->timeout); } -static void sync_pre_select(struct sched *s, void *context) +static void sync_pre_monitor(struct sched *s, void *context) { int ret; struct filter_node *fn = context; @@ -284,7 +284,7 @@ static struct sync_buddy *sync_find_buddy(struct sockaddr *addr, return NULL; } -static int sync_post_select(__a_unused struct sched *s, void *context) +static int sync_post_monitor(__a_unused struct sched *s, void *context) { int ret; struct filter_node *fn = context; @@ -377,8 +377,8 @@ out: const struct filter lsg_filter_cmd_com_sync_user_data = { .setup = sync_setup, .open = sync_open, - .pre_select = sync_pre_select, - .post_select = sync_post_select, + .pre_monitor = sync_pre_monitor, + .post_monitor = sync_post_monitor, .close = sync_close, .teardown = sync_teardown };