aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-04-16 10:32:08 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-04-16 10:32:08 +0200
commit914f8f335d73c4dd69b72f6f2d8c53257bce497d (patch)
tree2afd127888557aa244aba2951932af25d5767133 /src/socket.h
parentc9b2cd567ed8bbe2df36821a26a56a8d713c2c80 (diff)
POTD skeleton #9.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
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]);