From 0c59da8a7310e1e3811f873fd0106ccebdb53c53 Mon Sep 17 00:00:00 2001 From: Nate Straz Date: Wed, 24 Aug 2005 21:46:50 +0000 Subject: Move send_packet() and recv_packet() to sockutil.c so qarsh can use them too. --- qarsh/sockutil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qarsh/sockutil.h') diff --git a/qarsh/sockutil.h b/qarsh/sockutil.h index 36d021a..6e4b8dd 100644 --- a/qarsh/sockutil.h +++ b/qarsh/sockutil.h @@ -4,3 +4,5 @@ int getsockport(int sd); int bind_any(int minport); int connect_to_host(char *hostname, int port); int connect_to_peer(struct sockaddr_in *peer, int port); +struct qa_packet * recv_packet(int fd); +int send_packet(int fd, struct qa_packet *qp); -- cgit