From 58f85bfa9b7dca9a216cd0bb4e38e9cdf4b661da Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Mon, 13 May 2024 12:32:06 +0200 Subject: Add in the libfuse version a program was compiled with (#942) The API stays the same, the libfuse version comes from inlined functions, which are defined fuse_lowlevel.h and fuse.h. As these inlined functions are defined in the header files they get added into the application, similar as if these were preprocessor macros. Macro vs inlined function is then just a style issue - I personally prefer the latter. fuse_session_new() -> static inlinei, in the application _fuse_session_new -> inside of libfuse fuse_new() -> static inline, in the application _fuse_new() -> inside of libfuse Note: Entirely untested is the fuse 30 api - we need a test for it. And we do not have any ABI tests at all. Signed-off-by: Bernd Schubert --- lib/fuse_versionscript | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/fuse_versionscript') diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript index c0d58bf..22782bc 100644 --- a/lib/fuse_versionscript +++ b/lib/fuse_versionscript @@ -187,6 +187,15 @@ FUSE_3.12 { fuse_lowlevel_notify_expire_entry; } FUSE_3.4; +FUSE_3.17 { + global: + _fuse_session_new_317; + _fuse_new; + _fuse_new_30; + _fuse_new_317; + fuse_main_real_317; +} FUSE_3.12; + # Local Variables: # indent-tabs-mode: t # End: -- cgit v1.2.3