diff options
Diffstat (limited to 'src/ipc.h')
-rw-r--r-- | src/ipc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ipc.h b/src/ipc.h new file mode 100644 index 0000000..9737a8f --- /dev/null +++ b/src/ipc.h @@ -0,0 +1,15 @@ +#ifndef IMV_IPC_H +#define IMV_IPC_H + +struct imv_ipc; + +struct imv_ipc *imv_ipc_create(void); + +void imv_ipc_free(struct imv_ipc *ipc); + +typedef void (*imv_ipc_callback)(const char *command, void *data); + +void imv_ipc_set_command_callback(struct imv_ipc *ipc, + imv_ipc_callback callback, void *data); + +#endif |