summaryrefslogtreecommitdiff
path: root/src/core/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-22 16:55:08 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-22 16:55:08 +0200
commitf98f4ace4df1b67572a5fbb3b1924b303d77d773 (patch)
tree062184636ad8ac20f8da52d90018d318e7ca823f /src/core/socket.h
parentfc4049c1ab59b4d5460fc6c2076d086a1693a170 (diff)
parent8c7c98398bad362cfae7b5a239cca11b93a67710 (diff)
Merge pull request #1336 from pszewczyk/functionfs_sockets_v3
core: add support for usb functionfs v3
Diffstat (limited to 'src/core/socket.h')
-rw-r--r--src/core/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h
index fa3ebdafa0..286397b41c 100644
--- a/src/core/socket.h
+++ b/src/core/socket.h
@@ -60,6 +60,7 @@ typedef enum SocketType {
SOCKET_FIFO,
SOCKET_SPECIAL,
SOCKET_MQUEUE,
+ SOCKET_USB_FUNCTION,
_SOCKET_FIFO_MAX,
_SOCKET_FIFO_INVALID = -1
} SocketType;
@@ -81,6 +82,8 @@ typedef struct SocketPort {
SocketType type;
int fd;
+ int *auxiliary_fds;
+ int n_auxiliary_fds;
SocketAddress address;
char *path;