X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/a59b491d37669e51053c17262118e5fec67ad358..68d82673282bfd2baa3f9533c92be6121d346cd9:/hunt/huntd/hunt.h?ds=sidebyside diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index a76a777e..b5dc9870 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,9 +1,34 @@ -/* $NetBSD: hunt.h,v 1.7 2002/09/20 20:54:17 mycroft Exp $ */ +/* $NetBSD: hunt.h,v 1.9 2003/06/11 12:04:06 wiz Exp $ */ /* - * Hunt - * Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold - * San Francisco, California + * Copyright (c) 1983-2003, Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * + Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + Neither the name of the University of California, San Francisco nor + * the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written + * permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS + * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ # include "bsd.h" @@ -345,7 +370,7 @@ extern FLAG Last_player; extern char Buf[BUFSIZ], Maze[HEIGHT][WIDTH2], Orig_maze[HEIGHT][WIDTH2]; -extern char *Sock_name, *Driver; +extern char *Driver; extern int Nplayer, Socket, Status; extern struct pollfd fdset[]; @@ -353,7 +378,7 @@ extern struct pollfd fdset[]; # ifdef INTERNET extern u_short Test_port; # else -extern char *Sock_name; +extern char *Sock_name, *Stat_name; # endif # ifdef VOLCANO @@ -452,4 +477,5 @@ SIGNAL_TYPE intr __P((int)); SIGNAL_TYPE sigalrm __P((int)); SIGNAL_TYPE sigemt __P((int)); SIGNAL_TYPE sigterm __P((int)); +SIGNAL_TYPE sigusr1 __P((int)); SIGNAL_TYPE tstp __P((int));