diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-01-21 22:43:56 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-01-29 22:26:22 +0000 |
commit | 167b640188a4ade1ef4a7c087541cbf63da0de57 (patch) | |
tree | a7501a8e2a001e00b38556ebeba57aafc684344f /src/backend.h | |
parent | c65f6f49039885856ad823dcbe2e8fd3fe2c8210 (diff) | |
download | imv-167b640188a4ade1ef4a7c087541cbf63da0de57.tar.gz |
Make backends self-describing
Diffstat (limited to 'src/backend.h')
-rw-r--r-- | src/backend.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/backend.h b/src/backend.h index 0da2244..714efde 100644 --- a/src/backend.h +++ b/src/backend.h @@ -18,13 +18,19 @@ struct imv_backend { /* Name of the backend, for debug and user informational purposes */ const char *name; + /* Information about the backend, displayed by help dialog */ + const char *description; + + /* Official website address */ + const char *website; + + /* License the backend is used under */ + const char *license; + /* Input: path to open * Output: initialises the imv_source instance passed in */ enum backend_result (*open_path)(const char *path, struct imv_source **src); - - /* Clean up this backend */ - void (*free)(struct imv_backend *backend); }; #endif |