aboutsummaryrefslogtreecommitdiff
path: root/src/imv.h
blob: 8966e6997504b37aee78ca4755c90d2433bbe27e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef IMV_H
#define IMV_H

#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, const struct imv_backend *backend);

bool imv_load_config(struct imv *imv);
bool imv_parse_args(struct imv *imv, int argc, char **argv);

void imv_add_path(struct imv *imv, const char *path);

int imv_run(struct imv *imv);

#endif

/* vim:set ts=2 sts=2 sw=2 et: */