X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fservice.h;h=6c1612d0f5abb53c43a8010a6bf901537e244269;hp=7b85771a30fb9911672ad2e172e32942e31ddad6;hb=e0376b177ca00bc5c3d8a271f6422ef3c869861b;hpb=c952c6ece28b6c0f774f823c917f458fe3424993 diff --git a/src/service.h b/src/service.h index 7b85771a3..6c1612d0f 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);