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.
 
 
 
 

28 lines
576 B

#pragma once
#include "branches.hpp"
#include "fs_path.hpp"
#include "ugid.hpp"
#include <string_view>
namespace Func2
{
class MknodBase
{
public:
MknodBase() {}
~MknodBase() {}
public:
virtual std::string_view name() const = 0;
public:
virtual int operator()(const ugid_t &ugid,
const Branches &branches,
const fs::path &fusepath,
const mode_t mode,
const mode_t umask,
const dev_t dev) = 0;
};
}