xref: /dragonfly/games/hunt/hunt/list.h (revision 0ca59c34)
1 /*-
2  * David Leonard <d@openbsd.org>, 1999.  Public domain.
3  *
4  * $OpenBSD: list.h,v 1.3 2003/06/17 00:36:36 pjanzen Exp $
5  * $DragonFly: src/games/hunt/hunt/list.h,v 1.1 2008/09/02 21:50:20 dillon Exp $
6  */
7 
8 struct driver {
9 	struct sockaddr addr;
10 	u_int16_t	response;
11 	int		once;
12 };
13 
14 extern struct driver *drivers;
15 extern u_int16_t Server_port;
16 
17 struct  driver *next_driver(void);
18 struct  driver *next_driver_fd(int);
19 const char *	driver_name(struct driver *);
20 void	probe_drivers(u_int16_t, char *);
21 void	probe_cleanup(void);
22