aboutsummaryrefslogtreecommitdiffstats
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 9c9d73de..05162e70 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -75,6 +75,12 @@ const string libname() { return (VMIME_PACKAGE); }
*/
const string libversion() { return (VMIME_VERSION " (" __DATE__ " " __TIME__ ")"); }
+/** Return the library API version (eg. "6:1:6").
+ *
+ * @return library API version
+ */
+const string libapi() { return (VMIME_API); }
+
// New line sequence to be used when folding header fields.
const string NEW_LINE_SEQUENCE = "\r\n ";