aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc_private.h
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-08-08 15:57:50 +0200
committerSimon Busch <morphis@gravedo.de>2012-08-08 15:57:50 +0200
commit7a9ad8c635c3cc8993aaa4c1509eea8745d56069 (patch)
tree46fba484b2ff69c7b30ca90799a17d48a4d01240 /samsung-ipc/ipc_private.h
parent7d6f56c4f67416658c0b490d828ffe0938381f5f (diff)
downloadexternal_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.h5
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 */