chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dbus: complete automount and mount unit coverage
[elogind.git]
/
src
/
service.h
diff --git
a/src/service.h
b/src/service.h
index 7b85771a30fb9911672ad2e172e32942e31ddad6..6c1612d0f5abb53c43a8010a6bf901537e244269 100644
(file)
--- a/
src/service.h
+++ b/
src/service.h
@@
-137,13
+137,14
@@
struct Service {
RateLimit ratelimit;
int socket_fd;
RateLimit ratelimit;
int socket_fd;
+ struct Socket *socket;
Watch timer_watch;
};
extern const UnitVTable service_vtable;
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);
const char* service_state_to_string(ServiceState i);
ServiceState service_state_from_string(const char *s);