diff options
author | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:17:34 -0400 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2018-05-15 14:24:34 -0400 |
commit | 57b7a260c20f58a5c5d9c1e1aacde50646863919 (patch) | |
tree | 2c0321e30ee80d5502024b30d09aa99405660ec5 /src/core/socket.h | |
parent | 90a8f0b9a999b4bbb5110066266fd6d807e04aa3 (diff) | |
download | systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.tar.gz |
core: undo the dependency inversion between unit.h and all unit types
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index ce9452dbd6..8a9559d5c6 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -13,6 +13,7 @@ typedef struct SocketPeer SocketPeer; #include "mount.h" #include "service.h" #include "socket-util.h" +#include "unit.h" typedef enum SocketExecCommand { SOCKET_EXEC_START_PRE, @@ -182,3 +183,5 @@ SocketResult socket_result_from_string(const char *s) _pure_; const char* socket_port_type_to_string(SocketPort *p) _pure_; SocketType socket_port_type_from_string(const char *p) _pure_; + +DEFINE_CAST(SOCKET, Socket); |