summaryrefslogtreecommitdiff
path: root/name.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-19 02:56:37 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-19 02:56:37 +0100
commit42f4e3c4413ad35e3815f25211fee95d775488a7 (patch)
treef9b69266acc05db37467ee6c0383969ca9c21081 /name.h
parenta66d02c3290008d50b2b52f84cfbf46a546ba831 (diff)
parse socket files properly
Diffstat (limited to 'name.h')
-rw-r--r--name.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/name.h b/name.h
index 1165234537..0ed1056595 100644
--- a/name.h
+++ b/name.h
@@ -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;