diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-15 06:19:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-15 06:20:00 +0200 |
commit | 4f2d528d3bb25cebf8d3ebe83d8193ab4016cb90 (patch) | |
tree | 96336ea5c252c903ab4666d49714ececf949dfdf /socket.h | |
parent | 9e2f7c11fb6ba35ffec2274da3e2d08b10d23965 (diff) |
socket: optionally call accept() for incoming connections and spawn one service instance per connection
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -102,6 +102,9 @@ struct Socket { mode_t directory_mode; mode_t socket_mode; + bool accept; + unsigned n_accepted; + bool failure; Watch timer_watch; }; |