Added fuse_pkgversion function
authorChristopher Harrison <ch12@sanger.ac.uk>
Thu, 30 Jul 2015 10:05:34 +0000 (11:05 +0100)
committerChristopher Harrison <ch12@sanger.ac.uk>
Thu, 30 Jul 2015 10:05:34 +0000 (11:05 +0100)
Returns the full PACKAGE_VERSION string, per autoconf

include/fuse_common.h
lib/helper.c

index 28dfc0ba3565387df4440de9a7a5286b9217113a..beb44c7d09899da4d768e8b31df7928df95e3672 100644 (file)
@@ -268,6 +268,13 @@ int fuse_daemonize(int foreground);
  */
 int fuse_version(void);
 
+/**
+ * Get the full package version string of the library
+ *
+ * @return the package version
+ */
+const char *fuse_pkgversion(void);
+
 /**
  * Destroy poll handle
  *
index e5550c947ed638faa8d09f77f352ad677cd0e00c..26903347d682d74141f497fbee327457df8909e9 100644 (file)
@@ -332,3 +332,7 @@ int fuse_version(void)
        return FUSE_VERSION;
 }
 
+const char *fuse_pkgversion(void)
+{
+  return PACKAGE_VERSION;
+}