aboutsummaryrefslogtreecommitdiff
path: root/src/backend.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-01-21 22:43:56 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-01-29 22:26:22 +0000
commit167b640188a4ade1ef4a7c087541cbf63da0de57 (patch)
treea7501a8e2a001e00b38556ebeba57aafc684344f /src/backend.h
parentc65f6f49039885856ad823dcbe2e8fd3fe2c8210 (diff)
downloadimv-167b640188a4ade1ef4a7c087541cbf63da0de57.tar.gz
Make backends self-describing
Diffstat (limited to 'src/backend.h')
-rw-r--r--src/backend.h12
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