add -Wbad-function-cast to +CPPFLAGS and fix two compiler warnings
[paraslash.git] / client.h
index 1c9a8c22ae4dabd73a20547c8ce6bc195989e218..a4d2fe63f473aeb96432dcee1d9b362b77f95f45 100644 (file)
--- a/client.h
+++ b/client.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1997-2006 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2007 Andre Noll <maan@systemlinux.org>
  *
  *     This program is free software; you can redistribute it and/or modify
  *     it under the terms of the GNU General Public License as published by
@@ -44,6 +44,7 @@ enum {
        CL_RECEIVING,
 };
 
+/** size of the receiving buffer */
 #define CLIENT_BUFSIZE 8192
 
 /**
@@ -88,9 +89,7 @@ struct private_client_data {
        int *in_eof;
 };
 
-int client_open(struct private_client_data *pcd);
 void client_close(struct private_client_data *pcd);
-int client_parse_config(int argc, char *argv[],
-       struct private_client_data **pcd_ptr);
+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);