diff options
author | Simon Busch <morphis@gravedo.de> | 2012-08-08 15:57:50 +0200 |
---|---|---|
committer | Simon Busch <morphis@gravedo.de> | 2012-08-08 15:57:50 +0200 |
commit | 7a9ad8c635c3cc8993aaa4c1509eea8745d56069 (patch) | |
tree | 46fba484b2ff69c7b30ca90799a17d48a4d01240 /samsung-ipc/ipc_private.h | |
parent | 7d6f56c4f67416658c0b490d828ffe0938381f5f (diff) | |
download | external_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.zip external_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.tar.gz external_libsamsung-ipc-7a9ad8c635c3cc8993aaa4c1509eea8745d56069.tar.bz2 |
Simplify open/close handler signature
Diffstat (limited to 'samsung-ipc/ipc_private.h')
-rw-r--r-- | samsung-ipc/ipc_private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/samsung-ipc/ipc_private.h b/samsung-ipc/ipc_private.h index d97cbd0..6c7e0ad 100644 --- a/samsung-ipc/ipc_private.h +++ b/samsung-ipc/ipc_private.h @@ -35,9 +35,10 @@ struct ipc_handlers { void *read_data; ipc_io_handler_cb write; void *write_data; - ipc_io_handler_cb open; + + int (*open)(int type, void *io_data); + int (*close)(void *io_data); void *open_data; - ipc_io_handler_cb close; void *close_data; /* Power handlers */ |