summaryrefslogtreecommitdiffstats
path: root/subsurface-core/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/version.h')
-rw-r--r--subsurface-core/version.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/subsurface-core/version.h b/subsurface-core/version.h
new file mode 100644
index 000000000..bc0aac00d
--- /dev/null
+++ b/subsurface-core/version.h
@@ -0,0 +1,16 @@
+#ifndef VERSION_H
+#define VERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *subsurface_version(void);
+const char *subsurface_git_version(void);
+const char *subsurface_canonical_version(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif