Add fuse_set_feature_flag() / fuse_unset_feature_flag
authorBernd Schubert <bschubert@ddn.com>
Thu, 19 Sep 2024 13:03:55 +0000 (15:03 +0200)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Wed, 13 Nov 2024 15:43:59 +0000 (16:43 +0100)
commit15f5c811239abca80eda2d988be7a9a9848f7c10
treeefc000f312d984f5cd4282fef5353e2c66aa60a7
parent82cca94678e6b914e76bfb3fdb5ac176568fe0e1
Add fuse_set_feature_flag() / fuse_unset_feature_flag

Simplify setting feature flags a bit by adding a helper
function.

Also move the check for valid flags into a funtion we can re-use
in a later patch.
example/passthrough_hp.cc
include/fuse_common.h
lib/fuse_lowlevel.c