diff --git a/include/fuse_common.h b/include/fuse_common.h index 28dfc0b..beb44c7 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -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 * diff --git a/lib/helper.c b/lib/helper.c index e5550c9..2690334 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -332,3 +332,7 @@ int fuse_version(void) return FUSE_VERSION; } +const char *fuse_pkgversion(void) +{ + return PACKAGE_VERSION; +}