diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-08-07 23:20:37 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-07 23:20:37 +0100 |
commit | 9c0eec78a4a53e279f52ed31a4b8b22295aa35f0 (patch) | |
tree | e5b928975e0b88c325ecba7ab775c220d00fd139 /src/ipc.h | |
parent | 768507d83318f37efbb90797f72e5b2e316c5105 (diff) | |
download | imv-9c0eec78a4a53e279f52ed31a4b8b22295aa35f0.tar.gz |
ipc: Add ipc support to imv
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 |