summaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index 3d7eadc9fe..db0796c4a3 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -77,12 +77,14 @@ typedef enum SocketResult {
} SocketResult;
typedef struct SocketPort {
+ Socket *socket;
+
SocketType type;
int fd;
SocketAddress address;
char *path;
- Watch fd_watch;
+ sd_event_source *event_source;
LIST_FIELDS(struct SocketPort, port);
} SocketPort;
@@ -111,7 +113,7 @@ struct Socket {
SocketState state, deserialized_state;
- Watch timer_watch;
+ sd_event_source *timer_event_source;
ExecCommand* control_command;
SocketExecCommand control_command_id;
@@ -144,7 +146,7 @@ struct Socket {
size_t pipe_size;
char *bind_to_device;
char *tcp_congestion;
- bool reuseport;
+ bool reuse_port;
long mq_maxmsg;
long mq_msgsize;