summaryrefslogtreecommitdiffstats
path: root/hw1/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw1/proc.h')
-rw-r--r--hw1/proc.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/hw1/proc.h b/hw1/proc.h
index 35654a3..01e0e30 100644
--- a/hw1/proc.h
+++ b/hw1/proc.h
@@ -3,13 +3,8 @@
#include "server.h"
#include <stdbool.h>
-#include <signal.h>
+#include <sys/time.h>
-extern volatile sig_atomic_t proc_message_request;
-extern volatile sig_atomic_t proc_quit_request;
-
-typedef void (*svr_msg)(server* svr, request* req, int maxfd);
-bool procconn (server* svr, request* req, int maxfd,
- struct timeval timeout, svr_msg message_cb);
+void procconn (server* svr, request* req, int maxfd, struct timeval timeout);
#endif /* SP_HW1_PROC_H */