Home | History | Annotate | Download | only in huntd
History log of /src/games/hunt/huntd/hunt.h
RevisionDateAuthorComments
 1.32  02-May-2021  rillig games: remove trailing whitespace in *.c and *.h
 1.31  30-Mar-2014  dholland Use bool (not int) for a boolean return type.
 1.30  30-Mar-2014  dholland Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.
Fix two semi-compensating size bugs in wire transmission affecting
64-bit machines.
 1.29  30-Mar-2014  dholland Remove all the conditional compilation for INTERNET. Now you can run
this on either a local or internet socket (including via inetd on
either) and it will, or is supposed to, DTRT.

Does not really support ipv6 yet, but in a number of places will no
longer vomit or exhibit UB if it encounters an ipv6 address.
 1.28  30-Mar-2014  dholland Clean up the names of the various pieces of socket apparatus.
Systematic naming is easier to follow...
 1.27  29-Mar-2014  dholland Reduce ifdefs by making a common function to talk to either syslogd or
stderr.
 1.26  29-Mar-2014  dholland Additional minor cleanup and remove a straggler data declaration
from hunt_common.h.
 1.25  29-Mar-2014  dholland Group function declarations by which source file they come from, and
delete several that don't actually exist.
 1.24  29-Mar-2014  dholland sprinkle static
 1.23  29-Mar-2014  dholland Split hunt and huntd's includes, instead of incestuously sharing a pile
of external data and function declarations between the two programs.

Common constants and defines now go in hunt_common.h. Stuff that belongs
only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd
is in huntd/hunt.h.

Copy some declarations that are used in both programs under the same
names (but are not actually the same objects) from huntd/hunt.h to
hunt/hunt_private.h. Move others that are only used in hunt. Remove
some entirely unused material, and tidy up standard includes.
 1.22  29-Mar-2014  dholland Remove empty header file.
 1.21  29-Mar-2014  dholland Make the code for issuing talk requests to find players actually build.
 1.20  29-Mar-2014  dholland don't declare own boolean type
 1.19  12-Aug-2009  dholland branches: 1.19.6; 1.19.12;
sprinkle static and prune some dead code
 1.18  04-Jul-2009  dholland Remove config options for 4.2BSD and 4.3BSD, and associated code. Highly
obsolete, and I doubt most of it still worked anyway.
 1.17  04-Jul-2009  dholland Remove the non-curses screen handling, since it relies on knowing
about various internals of SVR4 curses, old BSD curses, and/or other
unclean things. (Yes, the non-curses handling still used bits of
curses. Fie.)
 1.16  04-Jul-2009  dholland Remove config for the return type of signal handlers, which is also a
long-dead issue.
 1.15  04-Jul-2009  dholland Whitespace.
 1.14  04-Jul-2009  dholland Sigh, more of the same (missed two)
 1.13  04-Jul-2009  dholland __attribute__((__noreturn__)) -> __dead
 1.12  28-Jan-2008  dholland clean for WARNS=4
 1.11  08-Feb-2004  jsm branches: 1.11.22;
Mark unused parameters, nonreturning functions and format functions in
the few cases not already marked.
 1.10  27-Jan-2004  jsm Remove uses of __P.
 1.9  11-Jun-2003  wiz Make build.
 1.8  11-Jun-2003  wiz Merge with v20030416.
 1.7  20-Sep-2002  mycroft select() -> poll()
Also, turn off talk announcements; it's a wretched hack.
 1.6  21-Jan-2000  mycroft Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
 1.5  13-Sep-1998  hubertf branches: 1.5.2;
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
 1.4  11-Sep-1998  hubertf remove unneeded typedef for TTYB, as per PR#5867
 1.3  09-Jan-1998  perry RCS Id Police.
 1.2  10-Oct-1997  lukem Yet Another Monster Commit:
- WARNSify
- getopt returns -1 not EOF
- select() uses an fd_set, not int/long; modify code to use FD_* et al
instead of direct bitwise operations
- in otto.c::look (renamed to ottolook() to prevent name clash), the
case WEST section had a 'goto cont_east', instead of 'goto cont_west'.
(picked up by WARNS=1, because cont_west was an unused label because
of this typo). probably meant that otto got lost in the maze :-/
- deprecate register, convert bcmp() -> memcmp()
 1.1  04-Oct-1997  mrg branches: 1.1.1;
Initial revision
 1.1.1.2  11-Jun-2003  wiz Import of hunt as of 2003-04-16 from ftp://ftp.cgl.ucsf.edu/pub/hunt.shar.Z,
with files moved to proper subdirs.
Changes since 19930717: BSD licensed, and minimal fixes.
 1.1.1.1  04-Oct-1997  mrg hunt version 1993-07-17
 1.5.2.1  23-Jan-2000  he Pull up revision 1.6 (requested by mycroft):
Always do the errno indirection hack, so that non-threaded
libraries get the right errno value when linked with -lpthread.
This means "always include <errno.h> and never declare errno
yourself".
 1.11.22.1  23-Mar-2008  matt sync with HEAD
 1.19.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed