summaryrefslogtreecommitdiff
path: root/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'service.h')
-rw-r--r--service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/service.h b/service.h
index f357fc857e..5ddc180423 100644
--- a/service.h
+++ b/service.h
@@ -112,11 +112,15 @@ struct Service {
RateLimit ratelimit;
+ int socket_fd;
+
Watch timer_watch;
};
extern const UnitVTable service_vtable;
+int service_set_socket_fd(Service *s, int fd);
+
const char* service_state_to_string(ServiceState i);
ServiceState service_state_from_string(const char *s);