Added fuse_pkgversion function

Returns the full PACKAGE_VERSION string, per autoconf
This commit is contained in:
Christopher Harrison 2015-07-30 11:05:34 +01:00
parent 0af0d9740b
commit 7d687b939d
2 changed files with 11 additions and 0 deletions

View 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
*

View File

@ -332,3 +332,7 @@ int fuse_version(void)
return FUSE_VERSION;
}
const char *fuse_pkgversion(void)
{
return PACKAGE_VERSION;
}