diff options
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); |