diff options
Diffstat (limited to 'hunt/huntd/pathname.c')
| -rw-r--r-- | hunt/huntd/pathname.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/hunt/huntd/pathname.c b/hunt/huntd/pathname.c new file mode 100644 index 00000000..90b4d380 --- /dev/null +++ b/hunt/huntd/pathname.c @@ -0,0 +1,35 @@ +/* + * Hunt + * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold + * San Francisco, California + */ + +/* + * There is no particular significance to the numbers assigned + * to Test_port. They're just random numbers greater than the + * range reserved for privileged sockets. + */ + +# include <sys/types.h> + +# ifdef DEBUG + +char *Driver = "/home/socr/a/conrad/games/src/hunt/huntd.dbg"; +# ifdef INTERNET +u_short Test_port = ('h' << 8) | 't'; +# else +char *Sock_name = "/tmp/hunt"; +char *Stat_name = "/tmp/hunt.stats"; +# endif + +# else + +char *Driver = HUNTD; +# ifdef INTERNET +u_short Test_port = ('h' << 8) | 't'; +# else +char *Sock_name = "/tmp/hunt"; +char *Stat_name = "/tmp/hunt.stats"; +# endif + +# endif |
