aboutsummaryrefslogtreecommitdiff
path: root/src/imv.h
blob: 13a58123cc1d13c20b49cd965aa2b69a82d655f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);

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: */