diff options
author | PaulK <contact@paulk.fr> | 2011-10-29 21:51:28 +0200 |
---|---|---|
committer | PaulK <contact@paulk.fr> | 2011-10-29 21:59:03 +0200 |
commit | 6f2a990c9920978ba895ce04dd1daeda8c75c11b (patch) | |
tree | 98b6df9ee5716ab7ddb75d0c8d953c528690a4d2 /samsung-ipc/ipc_private.h | |
parent | 4ab5a702c263d64e60ba9b50e40e2271f3e312d7 (diff) | |
download | external_libsamsung-ipc-6f2a990c9920978ba895ce04dd1daeda8c75c11b.zip external_libsamsung-ipc-6f2a990c9920978ba895ce04dd1daeda8c75c11b.tar.gz external_libsamsung-ipc-6f2a990c9920978ba895ce04dd1daeda8c75c11b.tar.bz2 |
New handlers structure (a data pointer for each handler function)
Diffstat (limited to 'samsung-ipc/ipc_private.h')
-rw-r--r-- | samsung-ipc/ipc_private.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h index 890889f..7c2787b 100644 --- a/samsung-ipc/ipc_private.h +++ b/samsung-ipc/ipc_private.h @@ -36,17 +36,19 @@ struct ipc_ops { struct ipc_handlers { /* Transport handlers/data */ ipc_io_handler_cb read; + void *read_data; ipc_io_handler_cb write; + void *write_data; ipc_io_handler_cb open; + void *open_data; ipc_io_handler_cb close; - - ipc_handler_data_cb io_data_reg; - ipc_handler_cb io_data_unreg; - void *io_data; + void *close_data; /* Power handlers */ ipc_handler_cb power_on; + void *power_on_data; ipc_handler_cb power_off; + void *power_off_data; }; struct ipc_client { |