summaryrefslogtreecommitdiff
path: root/socket-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-15 06:19:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-15 06:20:00 +0200
commit4f2d528d3bb25cebf8d3ebe83d8193ab4016cb90 (patch)
tree96336ea5c252c903ab4666d49714ececf949dfdf /socket-util.h
parent9e2f7c11fb6ba35ffec2274da3e2d08b10d23965 (diff)
socket: optionally call accept() for incoming connections and spawn one service instance per connection
Diffstat (limited to 'socket-util.h')
-rw-r--r--socket-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/socket-util.h b/socket-util.h
index 62a48ac35a..e6e1b30b53 100644
--- a/socket-util.h
+++ b/socket-util.h
@@ -59,6 +59,8 @@ int socket_address_parse(SocketAddress *a, const char *s);
int socket_address_print(const SocketAddress *a, char **p);
int socket_address_verify(const SocketAddress *a);
+bool socket_address_can_accept(const SocketAddress *a);
+
int socket_address_listen(
const SocketAddress *a,
int backlog,