aboutsummaryrefslogtreecommitdiffstats
path: root/include/radio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/radio.h')
-rw-r--r--include/radio.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/radio.h b/include/radio.h
index 1614b98..17c01e2 100644
--- a/include/radio.h
+++ b/include/radio.h
@@ -54,7 +54,6 @@ struct ipc_handlers;
typedef void (*ipc_client_log_handler_cb)(const char *message, void *user_data);
-typedef void *(*ipc_handler_data_cb)(void);
typedef int (*ipc_io_handler_cb)(void *data, unsigned int size, void *io_data);
typedef int (*ipc_handler_cb)(void *data);
@@ -64,11 +63,10 @@ int ipc_client_free(struct ipc_client *client);
int ipc_client_set_log_handler(struct ipc_client *client, ipc_client_log_handler_cb log_handler_cb, void *user_data);
int ipc_client_set_handlers(struct ipc_client *client, struct ipc_handlers *handlers);
-int ipc_client_set_io_handlers(struct ipc_client *client, void *io_data,
- ipc_io_handler_cb read, ipc_io_handler_cb write,
- ipc_io_handler_cb open, ipc_io_handler_cb close);
-void *ipc_client_get_handlers_io_data(struct ipc_client *client);
-int ipc_client_set_handlers_io_data(struct ipc_client *client, void *io_data);
+int ipc_client_set_io_handlers(struct ipc_client *client,
+ ipc_io_handler_cb read, void *read_data,
+ ipc_io_handler_cb write, void *write_data);
+int ipc_client_set_all_handlers_data(struct ipc_client *client, void *data);
int ipc_client_bootstrap_modem(struct ipc_client *client);
int ipc_client_open(struct ipc_client *client);