summaryrefslogtreecommitdiff
path: root/games/hunt
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-12-12 15:16:21 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-12-12 15:16:21 +0000
commitcffdc49c6e2736cd9c202c235a7c104d7a0d29c7 (patch)
treeca252c740650d8e1df0e8be5f4304380875fb882 /games/hunt
parent0078b01dde3745d3ec269cce11abc637912a234b (diff)
sync with answer.c. reviewed by pjanzen@
Diffstat (limited to 'games/hunt')
-rw-r--r--games/hunt/huntd/server.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/hunt/huntd/server.h b/games/hunt/huntd/server.h
index 96cab5ddf7e..1772a5a2dcd 100644
--- a/games/hunt/huntd/server.h
+++ b/games/hunt/huntd/server.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.h,v 1.4 1999/08/30 23:38:11 d Exp $ */
+/* $OpenBSD: server.h,v 1.5 1999/12/12 15:16:20 d Exp $ */
/* $NetBSD: hunt.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */
/*
@@ -165,7 +165,7 @@ struct regen_def {
struct spawn {
int fd;
- int state;
+ int reading_msg;
struct sockaddr source;
socklen_t sourcelen;
u_int32_t uid;
@@ -178,6 +178,10 @@ struct spawn {
int msglen;
struct spawn * next;
struct spawn ** prevnext;
+ int inlen;
+ char inbuf[ sizeof (u_int32_t) + NAMELEN +
+ sizeof (u_int8_t) + sizeof (u_int32_t) +
+ NAMELEN + sizeof (u_int32_t) ];
};
extern struct spawn * Spawn;