chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse socket files properly
[elogind.git]
/
name.h
diff --git
a/name.h
b/name.h
index 116523453763e2a5bdf1c7aa35fc176851c598a5..0ed1056595d44f75c8722af73de01ab81b6585e2 100644
(file)
--- a/
name.h
+++ b/
name.h
@@
-22,6
+22,7
@@
typedef struct Snapshot Snapshot;
#include "set.h"
#include "util.h"
#include "list.h"
#include "set.h"
#include "util.h"
#include "list.h"
+#include "socket-util.h"
typedef enum NameType {
NAME_SERVICE = 0,
typedef enum NameType {
NAME_SERVICE = 0,
@@
-148,13
+149,16
@@
typedef enum SocketState {
SOCKET_STOP_PRE,
SOCKET_STOP,
SOCKET_STOP_POST,
SOCKET_STOP_PRE,
SOCKET_STOP,
SOCKET_STOP_POST,
- SOCKET_MAINTAINANCE
+ SOCKET_MAINTAINANCE,
+ _SOCKET_STATE_MAX
} SocketState;
struct Socket {
Meta meta;
SocketState state;
} SocketState;
struct Socket {
Meta meta;
SocketState state;
+
+ Address address;
int *fds;
unsigned n_fds;
int *fds;
unsigned n_fds;