diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-19 02:56:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-19 02:56:37 +0100 |
commit | 42f4e3c4413ad35e3815f25211fee95d775488a7 (patch) | |
tree | f9b69266acc05db37467ee6c0383969ca9c21081 /name.h | |
parent | a66d02c3290008d50b2b52f84cfbf46a546ba831 (diff) |
parse socket files properly
Diffstat (limited to 'name.h')
-rw-r--r-- | name.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -22,6 +22,7 @@ typedef struct Snapshot Snapshot; #include "set.h" #include "util.h" #include "list.h" +#include "socket-util.h" typedef enum NameType { NAME_SERVICE = 0, @@ -148,13 +149,16 @@ typedef enum SocketState { SOCKET_STOP_PRE, SOCKET_STOP, SOCKET_STOP_POST, - SOCKET_MAINTAINANCE + SOCKET_MAINTAINANCE, + _SOCKET_STATE_MAX } SocketState; struct Socket { Meta meta; SocketState state; + + Address address; int *fds; unsigned n_fds; |