diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-19 04:25:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-19 04:25:34 +0200 |
commit | 6cf6bbc2682c6df010d64ea7e49d93affa7282cd (patch) | |
tree | 510fd14e79d61bcf6f9628113c38de7d219f8671 /src/service.h | |
parent | a3d4e06dfa234bf2a9398c8e534b705b68aa50a1 (diff) |
socket: enforce limit on number of concurrent connections
Diffstat (limited to 'src/service.h')
-rw-r--r-- | src/service.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/service.h b/src/service.h index 7b85771a30..6c1612d0f5 100644 --- a/src/service.h +++ b/src/service.h @@ -137,13 +137,14 @@ struct Service { RateLimit ratelimit; int socket_fd; + struct Socket *socket; Watch timer_watch; }; extern const UnitVTable service_vtable; -int service_set_socket_fd(Service *s, int fd); +int service_set_socket_fd(Service *s, int fd, struct Socket *socket); const char* service_state_to_string(ServiceState i); ServiceState service_state_from_string(const char *s); |