diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-03-29 10:40:59 +0100 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-03-29 21:00:53 +0100 |
commit | c3d14cbfa863ea3af8aaa253f1d7d3909adf1547 (patch) | |
tree | 5b057f5fbdd0a28a6c5a9061c5907eb58f8e817f /lib/include/initsock.h | |
parent | 7cfe6e845878d67f578fa846e784c064a178d9c5 (diff) |
cleanup: init status response
- rename init_status_response_t to init_status_t
- merge code for handling it
- fix memory leak in status command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/include/initsock.h')
-rw-r--r-- | lib/include/initsock.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/include/initsock.h b/lib/include/initsock.h index afbf861..04b8ffd 100644 --- a/lib/include/initsock.h +++ b/lib/include/initsock.h @@ -45,12 +45,14 @@ typedef struct { int id; char *filename; char *service_name; -} init_status_response_t; +} init_status_t; int init_socket_open(const char *tmppath); int init_socket_send_request(int fd, E_INIT_REQUEST rq, ...); -int init_socket_recv_status(int fd, init_status_response_t *resp); +int init_socket_recv_status(int fd, init_status_t *resp); + +void free_init_status(init_status_t *resp); #endif /* INITSOCK_H */ |