1 /*
2  * hosts.h
3  *
4  * This file describes the the functions used to deal with hostnames and sockets.
5  *
6  * Functions include:  ones to get sockets, ones to resolve hosts, and ones to connect sockets.
7  *
8  * written by Joshua J. Drake <jduck@EFNet>
9  *
10  */
11 
12 #ifndef __hosts_h_
13 #define __hosts_h_
14 
15 #include "irc.h"
16 
17 /* function prototypes */
18 	int    	getTCPSock _((void));
19 	/* int    	getUDPSock _((void)); */
20 	int    	resolve_host _((struct in_addr *, u_char *));
21 	int    	tcpConnect _((int, struct in_addr, struct sockaddr_in, int));
22 	/* int    	udpConnect _((int, struct sockaddr_in, int)); */
23 
24 #endif
25