diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-27 17:48:13 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-27 17:48:32 +0100 |
commit | d16d26018126d381954110e8cdb788650eb41d9e (patch) | |
tree | d398bc1c0dbbde87d22f0eb686e4bf6f90056e73 /lib/include | |
parent | affe9e4b8802ccb2d9749300327969dcf4222bc1 (diff) |
Add filter argument to status request
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/include')
-rw-r--r-- | lib/include/initsock.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/include/initsock.h b/lib/include/initsock.h index 76b2924..55321db 100644 --- a/lib/include/initsock.h +++ b/lib/include/initsock.h @@ -23,6 +23,14 @@ typedef enum { typedef struct { uint8_t rq; + uint8_t padd[3]; + + union { + struct { + uint8_t filter; + uint8_t padd[3]; + } status; + } arg; } init_request_t; typedef struct { @@ -36,7 +44,7 @@ int init_socket_create(void); int init_socket_open(const char *tmppath); -int init_socket_send_request(int fd, E_INIT_REQUEST rq); +int init_socket_send_request(int fd, E_INIT_REQUEST rq, ...); int init_socket_send_status(int fd, const void *dest_addr, size_t addrlen, E_SERVICE_STATE state, service_t *svc); |