--- /dev/null
+#ifndef CLIENT_H_
+#define CLIENT_H_
+
+enum {
+ CLIENT_DOS = 1
+};
+
+struct client {
+ int s;
+ unsigned int flags;
+ char buf[16384];
+ int bsz;
+ struct client *next;
+};
+
+int handle_client(struct client *c);
+
+void send_string(struct client *c, const char *s);
+void send_ok(struct client *c, int resp_sz);
+void send_err(struct client *c);
+
+#endif /* CLIENT_H_ */