15d3147f6SIngo Weinhold // Volume.cpp 25d3147f6SIngo Weinhold 35d3147f6SIngo Weinhold #include "Volume.h" 45d3147f6SIngo Weinhold 55d3147f6SIngo Weinhold // constructor 6*8474904eSIngo Weinhold Volume::Volume(FileSystem* fileSystem, mount_id id) 75d3147f6SIngo Weinhold : fFileSystem(fileSystem), 85d3147f6SIngo Weinhold fID(id) 95d3147f6SIngo Weinhold { 105d3147f6SIngo Weinhold } 115d3147f6SIngo Weinhold 125d3147f6SIngo Weinhold // destructor 135d3147f6SIngo Weinhold Volume::~Volume() 145d3147f6SIngo Weinhold { 155d3147f6SIngo Weinhold } 165d3147f6SIngo Weinhold 175d3147f6SIngo Weinhold // GetFileSystem 185d3147f6SIngo Weinhold UserlandFS::FileSystem* 195d3147f6SIngo Weinhold Volume::GetFileSystem() const 205d3147f6SIngo Weinhold { 215d3147f6SIngo Weinhold return fFileSystem; 225d3147f6SIngo Weinhold } 235d3147f6SIngo Weinhold 245d3147f6SIngo Weinhold // GetID 25*8474904eSIngo Weinhold mount_id 265d3147f6SIngo Weinhold Volume::GetID() const 275d3147f6SIngo Weinhold { 285d3147f6SIngo Weinhold return fID; 295d3147f6SIngo Weinhold } 305d3147f6SIngo Weinhold 31*8474904eSIngo Weinhold 32*8474904eSIngo Weinhold // #pragma mark - FS 33*8474904eSIngo Weinhold 345d3147f6SIngo Weinhold 355d3147f6SIngo Weinhold // Mount 365d3147f6SIngo Weinhold status_t 37*8474904eSIngo Weinhold Volume::Mount(const char* device, uint32 flags, const char* parameters, 38*8474904eSIngo Weinhold vnode_id* rootID) 395d3147f6SIngo Weinhold { 405d3147f6SIngo Weinhold return B_BAD_VALUE; 415d3147f6SIngo Weinhold } 425d3147f6SIngo Weinhold 435d3147f6SIngo Weinhold // Unmount 445d3147f6SIngo Weinhold status_t 455d3147f6SIngo Weinhold Volume::Unmount() 465d3147f6SIngo Weinhold { 475d3147f6SIngo Weinhold return B_BAD_VALUE; 485d3147f6SIngo Weinhold } 495d3147f6SIngo Weinhold 505d3147f6SIngo Weinhold // Sync 515d3147f6SIngo Weinhold status_t 525d3147f6SIngo Weinhold Volume::Sync() 535d3147f6SIngo Weinhold { 545d3147f6SIngo Weinhold return B_BAD_VALUE; 555d3147f6SIngo Weinhold } 565d3147f6SIngo Weinhold 57*8474904eSIngo Weinhold // ReadFSInfo 585d3147f6SIngo Weinhold status_t 59*8474904eSIngo Weinhold Volume::ReadFSInfo(fs_info* info) 605d3147f6SIngo Weinhold { 615d3147f6SIngo Weinhold return B_BAD_VALUE; 625d3147f6SIngo Weinhold } 635d3147f6SIngo Weinhold 64*8474904eSIngo Weinhold // WriteFSInfo 655d3147f6SIngo Weinhold status_t 66*8474904eSIngo Weinhold Volume::WriteFSInfo(const struct fs_info *info, uint32 mask) 675d3147f6SIngo Weinhold { 685d3147f6SIngo Weinhold return B_BAD_VALUE; 695d3147f6SIngo Weinhold } 705d3147f6SIngo Weinhold 71*8474904eSIngo Weinhold 72*8474904eSIngo Weinhold // #pragma mark - vnodes 73*8474904eSIngo Weinhold 74*8474904eSIngo Weinhold 75*8474904eSIngo Weinhold // Lookup 76*8474904eSIngo Weinhold status_t 77*8474904eSIngo Weinhold Volume::Lookup(fs_vnode dir, const char* entryName, vnode_id* vnid, int* type) 78*8474904eSIngo Weinhold { 79*8474904eSIngo Weinhold return B_BAD_VALUE; 80*8474904eSIngo Weinhold } 815d3147f6SIngo Weinhold 825d3147f6SIngo Weinhold // ReadVNode 835d3147f6SIngo Weinhold status_t 84*8474904eSIngo Weinhold Volume::ReadVNode(vnode_id vnid, bool reenter, fs_vnode* node) 855d3147f6SIngo Weinhold { 865d3147f6SIngo Weinhold return B_BAD_VALUE; 875d3147f6SIngo Weinhold } 885d3147f6SIngo Weinhold 895d3147f6SIngo Weinhold // WriteVNode 905d3147f6SIngo Weinhold status_t 91*8474904eSIngo Weinhold Volume::WriteVNode(fs_vnode node, bool reenter) 925d3147f6SIngo Weinhold { 935d3147f6SIngo Weinhold return B_BAD_VALUE; 945d3147f6SIngo Weinhold } 955d3147f6SIngo Weinhold 965d3147f6SIngo Weinhold // RemoveVNode 975d3147f6SIngo Weinhold status_t 98*8474904eSIngo Weinhold Volume::RemoveVNode(fs_vnode node, bool reenter) 995d3147f6SIngo Weinhold { 1005d3147f6SIngo Weinhold return B_BAD_VALUE; 1015d3147f6SIngo Weinhold } 1025d3147f6SIngo Weinhold 1035d3147f6SIngo Weinhold 104*8474904eSIngo Weinhold // #pragma mark - nodes 1055d3147f6SIngo Weinhold 1065d3147f6SIngo Weinhold 1075d3147f6SIngo Weinhold // IOCtl 1085d3147f6SIngo Weinhold status_t 109*8474904eSIngo Weinhold Volume::IOCtl(fs_vnode node, fs_cookie cookie, uint32 command, void *buffer, 1105d3147f6SIngo Weinhold size_t size) 1115d3147f6SIngo Weinhold { 1125d3147f6SIngo Weinhold return B_BAD_VALUE; 1135d3147f6SIngo Weinhold } 1145d3147f6SIngo Weinhold 1155d3147f6SIngo Weinhold // SetFlags 1165d3147f6SIngo Weinhold status_t 117*8474904eSIngo Weinhold Volume::SetFlags(fs_vnode node, fs_cookie cookie, int flags) 1185d3147f6SIngo Weinhold { 1195d3147f6SIngo Weinhold return B_BAD_VALUE; 1205d3147f6SIngo Weinhold } 1215d3147f6SIngo Weinhold 1225d3147f6SIngo Weinhold // Select 1235d3147f6SIngo Weinhold status_t 124*8474904eSIngo Weinhold Volume::Select(fs_vnode node, fs_cookie cookie, uint8 event, uint32 ref, 1255d3147f6SIngo Weinhold selectsync* sync) 1265d3147f6SIngo Weinhold { 1275d3147f6SIngo Weinhold return B_BAD_VALUE; 1285d3147f6SIngo Weinhold } 1295d3147f6SIngo Weinhold 1305d3147f6SIngo Weinhold // Deselect 1315d3147f6SIngo Weinhold status_t 132*8474904eSIngo Weinhold Volume::Deselect(fs_vnode node, fs_cookie cookie, uint8 event, selectsync* sync) 1335d3147f6SIngo Weinhold { 1345d3147f6SIngo Weinhold return B_BAD_VALUE; 1355d3147f6SIngo Weinhold } 1365d3147f6SIngo Weinhold 137*8474904eSIngo Weinhold // FSync 138*8474904eSIngo Weinhold status_t 139*8474904eSIngo Weinhold Volume::FSync(fs_vnode node) 140*8474904eSIngo Weinhold { 141*8474904eSIngo Weinhold return B_BAD_VALUE; 142*8474904eSIngo Weinhold } 143*8474904eSIngo Weinhold 144*8474904eSIngo Weinhold // ReadSymlink 145*8474904eSIngo Weinhold status_t 146*8474904eSIngo Weinhold Volume::ReadSymlink(fs_vnode node, char* buffer, size_t bufferSize, 147*8474904eSIngo Weinhold size_t* bytesRead) 148*8474904eSIngo Weinhold { 149*8474904eSIngo Weinhold return B_BAD_VALUE; 150*8474904eSIngo Weinhold } 151*8474904eSIngo Weinhold 152*8474904eSIngo Weinhold // CreateSymlink 153*8474904eSIngo Weinhold status_t 154*8474904eSIngo Weinhold Volume::CreateSymlink(fs_vnode dir, const char* name, const char* target, 155*8474904eSIngo Weinhold int mode) 156*8474904eSIngo Weinhold { 157*8474904eSIngo Weinhold return B_BAD_VALUE; 158*8474904eSIngo Weinhold } 1595d3147f6SIngo Weinhold 1605d3147f6SIngo Weinhold // Link 1615d3147f6SIngo Weinhold status_t 162*8474904eSIngo Weinhold Volume::Link(fs_vnode dir, const char* name, fs_vnode node) 1635d3147f6SIngo Weinhold { 1645d3147f6SIngo Weinhold return B_BAD_VALUE; 1655d3147f6SIngo Weinhold } 1665d3147f6SIngo Weinhold 1675d3147f6SIngo Weinhold // Unlink 1685d3147f6SIngo Weinhold status_t 169*8474904eSIngo Weinhold Volume::Unlink(fs_vnode dir, const char* name) 1705d3147f6SIngo Weinhold { 1715d3147f6SIngo Weinhold return B_BAD_VALUE; 1725d3147f6SIngo Weinhold } 1735d3147f6SIngo Weinhold 1745d3147f6SIngo Weinhold // Rename 1755d3147f6SIngo Weinhold status_t 176*8474904eSIngo Weinhold Volume::Rename(fs_vnode oldDir, const char* oldName, fs_vnode newDir, 1775d3147f6SIngo Weinhold const char* newName) 1785d3147f6SIngo Weinhold { 1795d3147f6SIngo Weinhold return B_BAD_VALUE; 1805d3147f6SIngo Weinhold } 1815d3147f6SIngo Weinhold 182*8474904eSIngo Weinhold // Access 1835d3147f6SIngo Weinhold status_t 184*8474904eSIngo Weinhold Volume::Access(fs_vnode node, int mode) 1855d3147f6SIngo Weinhold { 1865d3147f6SIngo Weinhold return B_BAD_VALUE; 1875d3147f6SIngo Weinhold } 1885d3147f6SIngo Weinhold 189*8474904eSIngo Weinhold // ReadStat 1905d3147f6SIngo Weinhold status_t 191*8474904eSIngo Weinhold Volume::ReadStat(fs_vnode node, struct stat* st) 192*8474904eSIngo Weinhold { 193*8474904eSIngo Weinhold return B_BAD_VALUE; 194*8474904eSIngo Weinhold } 195*8474904eSIngo Weinhold 196*8474904eSIngo Weinhold // WriteStat 197*8474904eSIngo Weinhold status_t 198*8474904eSIngo Weinhold Volume::WriteStat(fs_vnode node, const struct stat *st, uint32 mask) 199*8474904eSIngo Weinhold { 200*8474904eSIngo Weinhold return B_BAD_VALUE; 201*8474904eSIngo Weinhold } 202*8474904eSIngo Weinhold 203*8474904eSIngo Weinhold 204*8474904eSIngo Weinhold // #pragma mark - files 205*8474904eSIngo Weinhold 206*8474904eSIngo Weinhold 207*8474904eSIngo Weinhold // Create 208*8474904eSIngo Weinhold status_t 209*8474904eSIngo Weinhold Volume::Create(fs_vnode dir, const char* name, int openMode, int mode, 210*8474904eSIngo Weinhold fs_cookie* cookie, vnode_id* vnid) 211*8474904eSIngo Weinhold { 212*8474904eSIngo Weinhold return B_BAD_VALUE; 213*8474904eSIngo Weinhold } 214*8474904eSIngo Weinhold 215*8474904eSIngo Weinhold // Open 216*8474904eSIngo Weinhold status_t 217*8474904eSIngo Weinhold Volume::Open(fs_vnode node, int openMode, fs_cookie* cookie) 218*8474904eSIngo Weinhold { 219*8474904eSIngo Weinhold return B_BAD_VALUE; 220*8474904eSIngo Weinhold } 221*8474904eSIngo Weinhold 222*8474904eSIngo Weinhold // Close 223*8474904eSIngo Weinhold status_t 224*8474904eSIngo Weinhold Volume::Close(fs_vnode node, fs_cookie cookie) 225*8474904eSIngo Weinhold { 226*8474904eSIngo Weinhold return B_BAD_VALUE; 227*8474904eSIngo Weinhold } 228*8474904eSIngo Weinhold 229*8474904eSIngo Weinhold // FreeCookie 230*8474904eSIngo Weinhold status_t 231*8474904eSIngo Weinhold Volume::FreeCookie(fs_vnode node, fs_cookie cookie) 232*8474904eSIngo Weinhold { 233*8474904eSIngo Weinhold return B_BAD_VALUE; 234*8474904eSIngo Weinhold } 235*8474904eSIngo Weinhold 236*8474904eSIngo Weinhold // Read 237*8474904eSIngo Weinhold status_t 238*8474904eSIngo Weinhold Volume::Read(fs_vnode node, fs_cookie cookie, off_t pos, void* buffer, 239*8474904eSIngo Weinhold size_t bufferSize, size_t* bytesRead) 240*8474904eSIngo Weinhold { 241*8474904eSIngo Weinhold return B_BAD_VALUE; 242*8474904eSIngo Weinhold } 243*8474904eSIngo Weinhold 244*8474904eSIngo Weinhold // Write 245*8474904eSIngo Weinhold status_t 246*8474904eSIngo Weinhold Volume::Write(fs_vnode node, fs_cookie cookie, off_t pos, const void* buffer, 247*8474904eSIngo Weinhold size_t bufferSize, size_t* bytesWritten) 248*8474904eSIngo Weinhold { 249*8474904eSIngo Weinhold return B_BAD_VALUE; 250*8474904eSIngo Weinhold } 251*8474904eSIngo Weinhold 252*8474904eSIngo Weinhold 253*8474904eSIngo Weinhold // #pragma mark - directories 254*8474904eSIngo Weinhold 255*8474904eSIngo Weinhold 256*8474904eSIngo Weinhold // CreateDir 257*8474904eSIngo Weinhold status_t 258*8474904eSIngo Weinhold Volume::CreateDir(fs_vnode dir, const char* name, int mode, vnode_id *newDir) 259*8474904eSIngo Weinhold { 260*8474904eSIngo Weinhold return B_BAD_VALUE; 261*8474904eSIngo Weinhold } 262*8474904eSIngo Weinhold 263*8474904eSIngo Weinhold // RemoveDir 264*8474904eSIngo Weinhold status_t 265*8474904eSIngo Weinhold Volume::RemoveDir(fs_vnode dir, const char* name) 2665d3147f6SIngo Weinhold { 2675d3147f6SIngo Weinhold return B_BAD_VALUE; 2685d3147f6SIngo Weinhold } 2695d3147f6SIngo Weinhold 2705d3147f6SIngo Weinhold // OpenDir 2715d3147f6SIngo Weinhold status_t 272*8474904eSIngo Weinhold Volume::OpenDir(fs_vnode node, fs_cookie* cookie) 2735d3147f6SIngo Weinhold { 2745d3147f6SIngo Weinhold return B_BAD_VALUE; 2755d3147f6SIngo Weinhold } 2765d3147f6SIngo Weinhold 2775d3147f6SIngo Weinhold // CloseDir 2785d3147f6SIngo Weinhold status_t 279*8474904eSIngo Weinhold Volume::CloseDir(fs_vnode node, fs_vnode cookie) 2805d3147f6SIngo Weinhold { 2815d3147f6SIngo Weinhold return B_BAD_VALUE; 2825d3147f6SIngo Weinhold } 2835d3147f6SIngo Weinhold 2845d3147f6SIngo Weinhold // FreeDirCookie 2855d3147f6SIngo Weinhold status_t 286*8474904eSIngo Weinhold Volume::FreeDirCookie(fs_vnode node, fs_vnode cookie) 2875d3147f6SIngo Weinhold { 2885d3147f6SIngo Weinhold return B_BAD_VALUE; 2895d3147f6SIngo Weinhold } 2905d3147f6SIngo Weinhold 2915d3147f6SIngo Weinhold // ReadDir 2925d3147f6SIngo Weinhold status_t 293*8474904eSIngo Weinhold Volume::ReadDir(fs_vnode node, fs_vnode cookie, void* buffer, size_t bufferSize, 294*8474904eSIngo Weinhold uint32 count, uint32* countRead) 2955d3147f6SIngo Weinhold { 2965d3147f6SIngo Weinhold return B_BAD_VALUE; 2975d3147f6SIngo Weinhold } 2985d3147f6SIngo Weinhold 2995d3147f6SIngo Weinhold // RewindDir 3005d3147f6SIngo Weinhold status_t 301*8474904eSIngo Weinhold Volume::RewindDir(fs_vnode node, fs_vnode cookie) 3025d3147f6SIngo Weinhold { 3035d3147f6SIngo Weinhold return B_BAD_VALUE; 3045d3147f6SIngo Weinhold } 3055d3147f6SIngo Weinhold 3065d3147f6SIngo Weinhold 307*8474904eSIngo Weinhold // #pragma mark - attribute directories 308*8474904eSIngo Weinhold 3095d3147f6SIngo Weinhold 3105d3147f6SIngo Weinhold // OpenAttrDir 3115d3147f6SIngo Weinhold status_t 312*8474904eSIngo Weinhold Volume::OpenAttrDir(fs_vnode node, fs_cookie *cookie) 3135d3147f6SIngo Weinhold { 3145d3147f6SIngo Weinhold return B_BAD_VALUE; 3155d3147f6SIngo Weinhold } 3165d3147f6SIngo Weinhold 3175d3147f6SIngo Weinhold // CloseAttrDir 3185d3147f6SIngo Weinhold status_t 319*8474904eSIngo Weinhold Volume::CloseAttrDir(fs_vnode node, fs_cookie cookie) 3205d3147f6SIngo Weinhold { 3215d3147f6SIngo Weinhold return B_BAD_VALUE; 3225d3147f6SIngo Weinhold } 3235d3147f6SIngo Weinhold 3245d3147f6SIngo Weinhold // FreeAttrDirCookie 3255d3147f6SIngo Weinhold status_t 326*8474904eSIngo Weinhold Volume::FreeAttrDirCookie(fs_vnode node, fs_cookie cookie) 3275d3147f6SIngo Weinhold { 3285d3147f6SIngo Weinhold return B_BAD_VALUE; 3295d3147f6SIngo Weinhold } 3305d3147f6SIngo Weinhold 3315d3147f6SIngo Weinhold // ReadAttrDir 3325d3147f6SIngo Weinhold status_t 333*8474904eSIngo Weinhold Volume::ReadAttrDir(fs_vnode node, fs_cookie cookie, void* buffer, 334*8474904eSIngo Weinhold size_t bufferSize, uint32 count, uint32* countRead) 3355d3147f6SIngo Weinhold { 3365d3147f6SIngo Weinhold return B_BAD_VALUE; 3375d3147f6SIngo Weinhold } 3385d3147f6SIngo Weinhold 3395d3147f6SIngo Weinhold // RewindAttrDir 3405d3147f6SIngo Weinhold status_t 341*8474904eSIngo Weinhold Volume::RewindAttrDir(fs_vnode node, fs_cookie cookie) 3425d3147f6SIngo Weinhold { 3435d3147f6SIngo Weinhold return B_BAD_VALUE; 3445d3147f6SIngo Weinhold } 3455d3147f6SIngo Weinhold 346*8474904eSIngo Weinhold 347*8474904eSIngo Weinhold // #pragma mark - attributes 348*8474904eSIngo Weinhold 349*8474904eSIngo Weinhold 3505d3147f6SIngo Weinhold // ReadAttr 3515d3147f6SIngo Weinhold status_t 352*8474904eSIngo Weinhold Volume::ReadAttr(fs_vnode node, fs_cookie cookie, off_t pos, void* buffer, 353*8474904eSIngo Weinhold size_t bufferSize, size_t* bytesRead) 3545d3147f6SIngo Weinhold { 3555d3147f6SIngo Weinhold return B_BAD_VALUE; 3565d3147f6SIngo Weinhold } 3575d3147f6SIngo Weinhold 3585d3147f6SIngo Weinhold // WriteAttr 3595d3147f6SIngo Weinhold status_t 360*8474904eSIngo Weinhold Volume::WriteAttr(fs_vnode node, fs_cookie cookie, off_t pos, 3615d3147f6SIngo Weinhold const void* buffer, size_t bufferSize, size_t* bytesWritten) 3625d3147f6SIngo Weinhold { 3635d3147f6SIngo Weinhold return B_BAD_VALUE; 3645d3147f6SIngo Weinhold } 3655d3147f6SIngo Weinhold 3665d3147f6SIngo Weinhold // StatAttr 3675d3147f6SIngo Weinhold status_t 368*8474904eSIngo Weinhold Volume::ReadAttrStat(fs_vnode node, fs_cookie cookie, struct stat *st) 3695d3147f6SIngo Weinhold { 3705d3147f6SIngo Weinhold return B_BAD_VALUE; 3715d3147f6SIngo Weinhold } 3725d3147f6SIngo Weinhold 373*8474904eSIngo Weinhold // RenameAttr 374*8474904eSIngo Weinhold status_t 375*8474904eSIngo Weinhold Volume::RenameAttr(fs_vnode oldNode, const char* oldName, fs_vnode newNode, 376*8474904eSIngo Weinhold const char* newName) 377*8474904eSIngo Weinhold { 378*8474904eSIngo Weinhold return B_BAD_VALUE; 379*8474904eSIngo Weinhold } 380*8474904eSIngo Weinhold 381*8474904eSIngo Weinhold // RemoveAttr 382*8474904eSIngo Weinhold status_t 383*8474904eSIngo Weinhold Volume::RemoveAttr(fs_vnode node, const char* name) 384*8474904eSIngo Weinhold { 385*8474904eSIngo Weinhold return B_BAD_VALUE; 386*8474904eSIngo Weinhold } 387*8474904eSIngo Weinhold 388*8474904eSIngo Weinhold 389*8474904eSIngo Weinhold // #pragma mark - indices 390*8474904eSIngo Weinhold 3915d3147f6SIngo Weinhold 3925d3147f6SIngo Weinhold // OpenIndexDir 3935d3147f6SIngo Weinhold status_t 394*8474904eSIngo Weinhold Volume::OpenIndexDir(fs_cookie *cookie) 3955d3147f6SIngo Weinhold { 3965d3147f6SIngo Weinhold return B_BAD_VALUE; 3975d3147f6SIngo Weinhold } 3985d3147f6SIngo Weinhold 3995d3147f6SIngo Weinhold // CloseIndexDir 4005d3147f6SIngo Weinhold status_t 401*8474904eSIngo Weinhold Volume::CloseIndexDir(fs_cookie cookie) 4025d3147f6SIngo Weinhold { 4035d3147f6SIngo Weinhold return B_BAD_VALUE; 4045d3147f6SIngo Weinhold } 4055d3147f6SIngo Weinhold 4065d3147f6SIngo Weinhold // FreeIndexDirCookie 4075d3147f6SIngo Weinhold status_t 408*8474904eSIngo Weinhold Volume::FreeIndexDirCookie(fs_cookie cookie) 4095d3147f6SIngo Weinhold { 4105d3147f6SIngo Weinhold return B_BAD_VALUE; 4115d3147f6SIngo Weinhold } 4125d3147f6SIngo Weinhold 4135d3147f6SIngo Weinhold // ReadIndexDir 4145d3147f6SIngo Weinhold status_t 415*8474904eSIngo Weinhold Volume::ReadIndexDir(fs_cookie cookie, void* buffer, size_t bufferSize, 416*8474904eSIngo Weinhold uint32 count, uint32* countRead) 4175d3147f6SIngo Weinhold { 4185d3147f6SIngo Weinhold return B_BAD_VALUE; 4195d3147f6SIngo Weinhold } 4205d3147f6SIngo Weinhold 4215d3147f6SIngo Weinhold // RewindIndexDir 4225d3147f6SIngo Weinhold status_t 423*8474904eSIngo Weinhold Volume::RewindIndexDir(fs_cookie cookie) 4245d3147f6SIngo Weinhold { 4255d3147f6SIngo Weinhold return B_BAD_VALUE; 4265d3147f6SIngo Weinhold } 4275d3147f6SIngo Weinhold 4285d3147f6SIngo Weinhold // CreateIndex 4295d3147f6SIngo Weinhold status_t 430*8474904eSIngo Weinhold Volume::CreateIndex(const char* name, uint32 type, uint32 flags) 4315d3147f6SIngo Weinhold { 4325d3147f6SIngo Weinhold return B_BAD_VALUE; 4335d3147f6SIngo Weinhold } 4345d3147f6SIngo Weinhold 4355d3147f6SIngo Weinhold // RemoveIndex 4365d3147f6SIngo Weinhold status_t 4375d3147f6SIngo Weinhold Volume::RemoveIndex(const char* name) 4385d3147f6SIngo Weinhold { 4395d3147f6SIngo Weinhold return B_BAD_VALUE; 4405d3147f6SIngo Weinhold } 4415d3147f6SIngo Weinhold 442*8474904eSIngo Weinhold // ReadIndexStat 4435d3147f6SIngo Weinhold status_t 444*8474904eSIngo Weinhold Volume::ReadIndexStat(const char *name, struct stat *st) 4455d3147f6SIngo Weinhold { 4465d3147f6SIngo Weinhold return B_BAD_VALUE; 4475d3147f6SIngo Weinhold } 4485d3147f6SIngo Weinhold 4495d3147f6SIngo Weinhold 450*8474904eSIngo Weinhold // #pragma mark - queries 451*8474904eSIngo Weinhold 4525d3147f6SIngo Weinhold 4535d3147f6SIngo Weinhold // OpenQuery 4545d3147f6SIngo Weinhold status_t 455*8474904eSIngo Weinhold Volume::OpenQuery(const char* queryString, uint32 flags, port_id port, 456*8474904eSIngo Weinhold uint32 token, fs_cookie *cookie) 4575d3147f6SIngo Weinhold { 4585d3147f6SIngo Weinhold return B_BAD_VALUE; 4595d3147f6SIngo Weinhold } 4605d3147f6SIngo Weinhold 4615d3147f6SIngo Weinhold // CloseQuery 4625d3147f6SIngo Weinhold status_t 463*8474904eSIngo Weinhold Volume::CloseQuery(fs_cookie cookie) 4645d3147f6SIngo Weinhold { 4655d3147f6SIngo Weinhold return B_BAD_VALUE; 4665d3147f6SIngo Weinhold } 4675d3147f6SIngo Weinhold 4685d3147f6SIngo Weinhold // FreeQueryCookie 4695d3147f6SIngo Weinhold status_t 470*8474904eSIngo Weinhold Volume::FreeQueryCookie(fs_cookie cookie) 4715d3147f6SIngo Weinhold { 4725d3147f6SIngo Weinhold return B_BAD_VALUE; 4735d3147f6SIngo Weinhold } 4745d3147f6SIngo Weinhold 4755d3147f6SIngo Weinhold // ReadQuery 4765d3147f6SIngo Weinhold status_t 477*8474904eSIngo Weinhold Volume::ReadQuery(fs_cookie cookie, void* buffer, size_t bufferSize, 478*8474904eSIngo Weinhold uint32 count, uint32* countRead) 4795d3147f6SIngo Weinhold { 4805d3147f6SIngo Weinhold return B_BAD_VALUE; 4815d3147f6SIngo Weinhold } 4825d3147f6SIngo Weinhold 483