diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-01-20 23:43:54 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-01-29 22:26:22 +0000 |
commit | 91eb7306b94187dbb989ac647cd79426790bf3c5 (patch) | |
tree | dec168dab4fa20fe03da5a445cb639af260da887 /src/imv.h | |
parent | 4e928fb9bb89f7e1f609aa7905dde3be7edbc4b8 (diff) | |
download | imv-91eb7306b94187dbb989ac647cd79426790bf3c5.tar.gz |
Support multiple backends
Diffstat (limited to 'src/imv.h')
-rw-r--r-- | src/imv.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,10 +4,14 @@ #include <stdbool.h> struct imv; +struct imv_backend; struct imv *imv_create(void); void imv_free(struct imv *imv); +/* Used in reverse addition order. Most recently added is the first used. */ +void imv_install_backend(struct imv *imv, struct imv_backend *backend); + bool imv_load_config(struct imv *imv); bool imv_parse_args(struct imv *imv, int argc, char **argv); |