summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/hunt.c
Commit message (Collapse)AuthorAgeFilesLines
* Get all the games compiling for iOSCameron Katri2021-02-221-1/+3
|
* Remove unused.skrll2014-03-301-5/+3
|
* curses has printw, use it.dholland2014-03-301-7/+4
|
* don't use the preprocessor to rename curses functions, just call themdholland2014-03-301-13/+10
|
* Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.dholland2014-03-301-15/+15
| | | | Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines.
* Naming reform for socket pieces, akin to what I did in huntd earlier.dholland2014-03-301-33/+34
| | | (but not as comprehensive)
* I wish the socket API didn't require casts. Easy to mess them up.dholland2014-03-301-4/+4
|
* fix obvious mistake (seems to have been there since 4.4)dholland2014-03-301-3/+3
|
* Clean up the handling of the list of hunt daemons.dholland2014-03-301-59/+99
|
* use fewer globalsdholland2014-03-301-7/+13
|
* unexpose some globals that server.c previously requireddholland2014-03-301-7/+10
|
* split off a bunch of the nastier network code into its own filedholland2014-03-301-194/+9
|
* be consistent about whether functions are staticdholland2014-03-291-5/+5
|
* handle compiled-in pathnames the customary waydholland2014-03-291-6/+7
|
* make some globals staticdholland2014-03-291-5/+8
|
* Split hunt and huntd's includes, instead of incestuously sharing a piledholland2014-03-291-3/+14
| | | | | | | | | | | | 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.
* Remove unsafe and unnecessary pointer casts.dholland2014-03-291-7/+6
|
* catch up to huntd changes.dholland2014-03-291-22/+22
| | | XXX: this needs to stop promiscuously sharing .h files.
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-4/+4
|
* NULL does not need a castplunky2011-08-311-4/+4
|
* Don't use variables as format string.joerg2011-05-231-4/+4
|
* avoid unnecessary cast (hi wiz)dholland2011-01-051-5/+6
|
* Fix realloc error. Found by cppcheck.wiz2011-01-051-3/+7
|
* sprinkle static and prune some dead codedholland2009-08-121-38/+31
|
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-041-49/+2
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-041-136/+2
| | | | | 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.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-041-7/+7
| | | long-dead issue.
* Whitespace.dholland2009-07-041-247/+247
|
* ANSIfy function declarations.dholland2009-07-041-34/+21
|
* Remove two more bogus casts. These *do* create object diffs on amd64,dholland2009-07-041-4/+4
| | | for no clear reason, but it looks like the diffs are harmless.
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-041-11/+10
|
* sprintf -> snprintfdholland2009-06-281-3/+4
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
| | | next curses call
* clean for WARNS=4dholland2008-01-281-15/+12
|
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-8/+8
|
* change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg2006-05-091-3/+3
| | | socklen_t are different signness.
* Add (unsigned char) cast to ctype functionsdsl2004-11-051-5/+5
|
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-081-6/+6
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-271-10/+10
|
* Make build.wiz2003-06-111-3/+4
|
* Merge with v20030416.wiz2003-06-111-11/+35
|
* don't print error messages using warn, because we clear the screen immediatelychristos2003-05-031-35/+48
| | | afterwards and they vanish.
* Rewrite broken broadcast interface detection code using getifaddrs(3).drochner2003-04-011-15/+22
| | | "hunt -q" works now.
* Avoid strict alias warning.thorpej2002-12-061-3/+3
|
* Remove an unused declaration.mycroft2002-09-201-6/+2
|
* If we're searching for a huntd, probe local_address along with broadcastmycroft2002-09-201-8/+9
| | | addresses.
* select() -> poll()mycroft2002-09-201-11/+9
|
* eliminate nested externschristos2001-02-051-3/+3
|
* Don't declare 'extern opt*' getopt variables.simonb2000-04-141-4/+2
|
* Include <sys/param.h> for MAXHOSTNAMELEN.kleink2000-03-021-2/+3
|