aboutsummaryrefslogtreecommitdiff
path: root/src/imv.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-20 23:43:54 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-29 22:26:22 +0000
commit91eb7306b94187dbb989ac647cd79426790bf3c5 (patch)
treedec168dab4fa20fe03da5a445cb639af260da887 /src/imv.h
parent4e928fb9bb89f7e1f609aa7905dde3be7edbc4b8 (diff)
downloadimv-91eb7306b94187dbb989ac647cd79426790bf3c5.tar.gz
Support multiple backends
Diffstat (limited to 'src/imv.h')
-rw-r--r--src/imv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/imv.h b/src/imv.h
index 8840776..594ce33 100644
--- a/src/imv.h
+++ b/src/imv.h
@@ -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);