diff options
Diffstat (limited to 'qarsh/sockutil.h')
-rw-r--r-- | qarsh/sockutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |