mirror of https://github.com/trapexit/mergerfs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
559 B
26 lines
559 B
#pragma once
|
|
|
|
#include "branches.hpp"
|
|
|
|
#include "fs_path.hpp"
|
|
|
|
namespace Func2
|
|
{
|
|
class SetxattrBase
|
|
{
|
|
public:
|
|
SetxattrBase() {}
|
|
~SetxattrBase() {}
|
|
|
|
public:
|
|
virtual std::string_view name() const = 0;
|
|
|
|
public:
|
|
virtual int operator()(const Branches &branches,
|
|
const fs::path &fusepath,
|
|
const char *attrname,
|
|
const char *attrval,
|
|
size_t attrvalsize,
|
|
int flags) = 0;
|
|
};
|
|
}
|