X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.h;h=d7f7f8f34cc745a0df5a36ae59b7ff2e5fa4eca6;hp=199d5c9a5b9564cdac6c8746ed8a82d873836657;hb=50eb5f37e3da3036fb709cd7ab2825c8d827f42a;hpb=19d9318abf42debb15d833d4e56ab636893285c3;ds=sidebyside diff --git a/client.h b/client.h index 199d5c9a..d7f7f8f3 100644 --- a/client.h +++ b/client.h @@ -58,7 +58,7 @@ struct private_client_data { /** the client task structure */ struct task task; /** non-zero if task is unregistered */ - int eof; + int error; /** the buffer used for handshake and receiving */ char buf[CLIENT_BUFSIZE]; /** number of bytes loaded in \p buf */ @@ -79,5 +79,3 @@ struct private_client_data { void client_close(struct private_client_data *pcd); int client_open(int argc, char *argv[], struct private_client_data **pcd_ptr); -void client_pre_select(struct sched *s, struct task *t); -void client_post_select(struct sched *s, struct task *t);