aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 69c2690..cdc556a 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -21,6 +21,8 @@ int socket_listen_in(psocket *psock);
int socket_accept_in(const psocket *psock, psocket *client_psock);
+int socket_connect_in(psocket *psock, struct addrinfo *results);
+
int socket_addrtostr_in(const psocket *psock,
char hbuf[NI_MAXHOST], char sbuf[NI_MAXSERV]);