summaryrefslogtreecommitdiff
path: root/lib/include/initsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/initsock.h')
-rw-r--r--lib/include/initsock.h10
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);