chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: properly update references to units which are merged
[elogind.git]
/
src
/
service.h
diff --git
a/src/service.h
b/src/service.h
index 2102826723686f63461d379504f15fde6b257a6b..8f67ad50a806f583bf43dd95a8744245e9172d0a 100644
(file)
--- a/
src/service.h
+++ b/
src/service.h
@@
-27,6
+27,7
@@
typedef struct Service Service;
#include "unit.h"
#include "path.h"
#include "ratelimit.h"
#include "unit.h"
#include "path.h"
#include "ratelimit.h"
+#include "service.h"
typedef enum ServiceState {
SERVICE_DEAD,
typedef enum ServiceState {
SERVICE_DEAD,
@@
-154,8
+155,7
@@
struct Service {
RateLimit ratelimit;
RateLimit ratelimit;
- struct Socket *accept_socket;
- Set *configured_sockets;
+ UnitRef accept_socket;
Watch timer_watch;
PathSpec *pid_file_pathspec;
Watch timer_watch;
PathSpec *pid_file_pathspec;
@@
-165,6
+165,8
@@
struct Service {
extern const UnitVTable service_vtable;
extern const UnitVTable service_vtable;
+struct Socket;
+
int service_set_socket_fd(Service *s, int fd, struct Socket *socket);
const char* service_state_to_string(ServiceState i);
int service_set_socket_fd(Service *s, int fd, struct Socket *socket);
const char* service_state_to_string(ServiceState i);