summaryrefslogtreecommitdiff
path: root/name.h
diff options
context:
space:
mode:
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;