summaryrefslogtreecommitdiff
path: root/lib/library.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/library.c')
-rw-r--r--lib/library.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/library.c b/lib/library.c
new file mode 100644
index 0000000..f432eda
--- /dev/null
+++ b/lib/library.c
@@ -0,0 +1,15 @@
+#include "version.h"
+
+/**
+ * Get version of the library in 'major.minor.patch' format.
+ *
+ * @see @link http://semver.org/ Semantic Versioning @endlink
+ *
+ * @return Null terminated C "string" to version string.
+ */
+const char *bmVersion(void)
+{
+ return BM_VERSION;
+}
+
+/* vim: set ts=8 sw=4 tw=0 :*/