chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: move more files into subdirectory
[elogind.git]
/
src
/
socket.h
diff --git
a/src/socket.h
b/src/socket.h
index b83c34cf6185e9f9fce5fff0bff2518ab063105d..fbd29dad7243d1fc1988eb39719fa32dd9d00324 100644
(file)
--- a/
src/socket.h
+++ b/
src/socket.h
@@
-59,6
+59,7
@@
typedef enum SocketType {
SOCKET_SOCKET,
SOCKET_FIFO,
SOCKET_SPECIAL,
SOCKET_SOCKET,
SOCKET_FIFO,
SOCKET_SPECIAL,
+ SOCKET_MQUEUE,
_SOCKET_FIFO_MAX,
_SOCKET_FIFO_INVALID = -1
} SocketType;
_SOCKET_FIFO_MAX,
_SOCKET_FIFO_INVALID = -1
} SocketType;
@@
-115,6
+116,9
@@
struct Socket {
/* Socket options */
bool keep_alive;
bool free_bind;
/* Socket options */
bool keep_alive;
bool free_bind;
+ bool transparent;
+ bool broadcast;
+ bool pass_cred;
int priority;
int mark;
size_t receive_buffer;
int priority;
int mark;
size_t receive_buffer;
@@
-124,6
+128,8
@@
struct Socket {
size_t pipe_size;
char *bind_to_device;
char *tcp_congestion;
size_t pipe_size;
char *bind_to_device;
char *tcp_congestion;
+ long mq_maxmsg;
+ long mq_msgsize;
};
/* Called from the service code when collecting fds */
};
/* Called from the service code when collecting fds */