15d3147f6SIngo Weinhold // Volume.cpp 25d3147f6SIngo Weinhold 35d3147f6SIngo Weinhold #include "Volume.h" 45d3147f6SIngo Weinhold 55d3147f6SIngo Weinhold // constructor 68474904eSIngo 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 258474904eSIngo Weinhold mount_id 265d3147f6SIngo Weinhold Volume::GetID() const 275d3147f6SIngo Weinhold { 285d3147f6SIngo Weinhold return fID; 295d3147f6SIngo Weinhold } 305d3147f6SIngo Weinhold 318474904eSIngo Weinhold 328474904eSIngo Weinhold // #pragma mark - FS 338474904eSIngo Weinhold 345d3147f6SIngo Weinhold 355d3147f6SIngo Weinhold // Mount 365d3147f6SIngo Weinhold status_t 378474904eSIngo Weinhold Volume::Mount(const char* device, uint32 flags, const char* parameters, 388474904eSIngo 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 578474904eSIngo Weinhold // ReadFSInfo 585d3147f6SIngo Weinhold status_t 598474904eSIngo Weinhold Volume::ReadFSInfo(fs_info* info) 605d3147f6SIngo Weinhold { 615d3147f6SIngo Weinhold return B_BAD_VALUE; 625d3147f6SIngo Weinhold } 635d3147f6SIngo Weinhold 648474904eSIngo Weinhold // WriteFSInfo 655d3147f6SIngo Weinhold status_t 668474904eSIngo Weinhold Volume::WriteFSInfo(const struct fs_info* info, uint32 mask) 675d3147f6SIngo Weinhold { 685d3147f6SIngo Weinhold return B_BAD_VALUE; 695d3147f6SIngo Weinhold } 705d3147f6SIngo Weinhold 718474904eSIngo Weinhold 728474904eSIngo Weinhold // #pragma mark - vnodes 738474904eSIngo Weinhold 748474904eSIngo Weinhold 758474904eSIngo Weinhold // Lookup 768474904eSIngo Weinhold status_t 778474904eSIngo Weinhold Volume::Lookup(fs_vnode dir, const char* entryName, vnode_id* vnid, int* type) 788474904eSIngo Weinhold { 798474904eSIngo Weinhold return B_BAD_VALUE; 808474904eSIngo Weinhold } 815d3147f6SIngo Weinhold 825d3147f6SIngo Weinhold // ReadVNode 835d3147f6SIngo Weinhold status_t 848474904eSIngo 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 918474904eSIngo 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 988474904eSIngo Weinhold Volume::RemoveVNode(fs_vnode node, bool reenter) 995d3147f6SIngo Weinhold { 1005d3147f6SIngo Weinhold return B_BAD_VALUE; 1015d3147f6SIngo Weinhold } 1025d3147f6SIngo Weinhold 1035d3147f6SIngo Weinhold 1048474904eSIngo Weinhold // #pragma mark - nodes 1055d3147f6SIngo Weinhold 1065d3147f6SIngo Weinhold 1075d3147f6SIngo Weinhold // IOCtl 1085d3147f6SIngo Weinhold status_t 1098474904eSIngo 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 1178474904eSIngo 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 1248474904eSIngo 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 1328474904eSIngo 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 1378474904eSIngo Weinhold // FSync 1388474904eSIngo Weinhold status_t 1398474904eSIngo Weinhold Volume::FSync(fs_vnode node) 1408474904eSIngo Weinhold { 1418474904eSIngo Weinhold return B_BAD_VALUE; 1428474904eSIngo Weinhold } 1438474904eSIngo Weinhold 1448474904eSIngo Weinhold // ReadSymlink 1458474904eSIngo Weinhold status_t 1468474904eSIngo Weinhold Volume::ReadSymlink(fs_vnode node, char* buffer, size_t bufferSize, 1478474904eSIngo Weinhold size_t* bytesRead) 1488474904eSIngo Weinhold { 1498474904eSIngo Weinhold return B_BAD_VALUE; 1508474904eSIngo Weinhold } 1518474904eSIngo Weinhold 1528474904eSIngo Weinhold // CreateSymlink 1538474904eSIngo Weinhold status_t 1548474904eSIngo Weinhold Volume::CreateSymlink(fs_vnode dir, const char* name, const char* target, 1558474904eSIngo Weinhold int mode) 1568474904eSIngo Weinhold { 1578474904eSIngo Weinhold return B_BAD_VALUE; 1588474904eSIngo Weinhold } 1595d3147f6SIngo Weinhold 1605d3147f6SIngo Weinhold // Link 1615d3147f6SIngo Weinhold status_t 1628474904eSIngo 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 1698474904eSIngo 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 1768474904eSIngo 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 1828474904eSIngo Weinhold // Access 1835d3147f6SIngo Weinhold status_t 1848474904eSIngo Weinhold Volume::Access(fs_vnode node, int mode) 1855d3147f6SIngo Weinhold { 1865d3147f6SIngo Weinhold return B_BAD_VALUE; 1875d3147f6SIngo Weinhold } 1885d3147f6SIngo Weinhold 1898474904eSIngo Weinhold // ReadStat 1905d3147f6SIngo Weinhold status_t 1918474904eSIngo Weinhold Volume::ReadStat(fs_vnode node, struct stat* st) 1928474904eSIngo Weinhold { 1938474904eSIngo Weinhold return B_BAD_VALUE; 1948474904eSIngo Weinhold } 1958474904eSIngo Weinhold 1968474904eSIngo Weinhold // WriteStat 1978474904eSIngo Weinhold status_t 1988474904eSIngo Weinhold Volume::WriteStat(fs_vnode node, const struct stat *st, uint32 mask) 1998474904eSIngo Weinhold { 2008474904eSIngo Weinhold return B_BAD_VALUE; 2018474904eSIngo Weinhold } 2028474904eSIngo Weinhold 2038474904eSIngo Weinhold 2048474904eSIngo Weinhold // #pragma mark - files 2058474904eSIngo Weinhold 2068474904eSIngo Weinhold 2078474904eSIngo Weinhold // Create 2088474904eSIngo Weinhold status_t 2098474904eSIngo Weinhold Volume::Create(fs_vnode dir, const char* name, int openMode, int mode, 2108474904eSIngo Weinhold fs_cookie* cookie, vnode_id* vnid) 2118474904eSIngo Weinhold { 2128474904eSIngo Weinhold return B_BAD_VALUE; 2138474904eSIngo Weinhold } 2148474904eSIngo Weinhold 2158474904eSIngo Weinhold // Open 2168474904eSIngo Weinhold status_t 2178474904eSIngo Weinhold Volume::Open(fs_vnode node, int openMode, fs_cookie* cookie) 2188474904eSIngo Weinhold { 2198474904eSIngo Weinhold return B_BAD_VALUE; 2208474904eSIngo Weinhold } 2218474904eSIngo Weinhold 2228474904eSIngo Weinhold // Close 2238474904eSIngo Weinhold status_t 2248474904eSIngo Weinhold Volume::Close(fs_vnode node, fs_cookie cookie) 2258474904eSIngo Weinhold { 2268474904eSIngo Weinhold return B_BAD_VALUE; 2278474904eSIngo Weinhold } 2288474904eSIngo Weinhold 2298474904eSIngo Weinhold // FreeCookie 2308474904eSIngo Weinhold status_t 2318474904eSIngo Weinhold Volume::FreeCookie(fs_vnode node, fs_cookie cookie) 2328474904eSIngo Weinhold { 2338474904eSIngo Weinhold return B_BAD_VALUE; 2348474904eSIngo Weinhold } 2358474904eSIngo Weinhold 2368474904eSIngo Weinhold // Read 2378474904eSIngo Weinhold status_t 2388474904eSIngo Weinhold Volume::Read(fs_vnode node, fs_cookie cookie, off_t pos, void* buffer, 2398474904eSIngo Weinhold size_t bufferSize, size_t* bytesRead) 2408474904eSIngo Weinhold { 2418474904eSIngo Weinhold return B_BAD_VALUE; 2428474904eSIngo Weinhold } 2438474904eSIngo Weinhold 2448474904eSIngo Weinhold // Write 2458474904eSIngo Weinhold status_t 2468474904eSIngo Weinhold Volume::Write(fs_vnode node, fs_cookie cookie, off_t pos, const void* buffer, 2478474904eSIngo Weinhold size_t bufferSize, size_t* bytesWritten) 2488474904eSIngo Weinhold { 2498474904eSIngo Weinhold return B_BAD_VALUE; 2508474904eSIngo Weinhold } 2518474904eSIngo Weinhold 2528474904eSIngo Weinhold 2538474904eSIngo Weinhold // #pragma mark - directories 2548474904eSIngo Weinhold 2558474904eSIngo Weinhold 2568474904eSIngo Weinhold // CreateDir 2578474904eSIngo Weinhold status_t 2588474904eSIngo Weinhold Volume::CreateDir(fs_vnode dir, const char* name, int mode, vnode_id *newDir) 2598474904eSIngo Weinhold { 2608474904eSIngo Weinhold return B_BAD_VALUE; 2618474904eSIngo Weinhold } 2628474904eSIngo Weinhold 2638474904eSIngo Weinhold // RemoveDir 2648474904eSIngo Weinhold status_t 2658474904eSIngo 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 2728474904eSIngo 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 2798474904eSIngo 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 2868474904eSIngo 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 2938474904eSIngo Weinhold Volume::ReadDir(fs_vnode node, fs_vnode cookie, void* buffer, size_t bufferSize, 2948474904eSIngo Weinhold uint32 count, uint32* countRead) 2955d3147f6SIngo Weinhold { 2965d3147f6SIngo Weinhold return B_BAD_VALUE; 2975d3147f6SIngo Weinhold } 2985d3147f6SIngo Weinhold 2995d3147f6SIngo Weinhold // RewindDir 3005d3147f6SIngo Weinhold status_t 3018474904eSIngo Weinhold Volume::RewindDir(fs_vnode node, fs_vnode cookie) 3025d3147f6SIngo Weinhold { 3035d3147f6SIngo Weinhold return B_BAD_VALUE; 3045d3147f6SIngo Weinhold } 3055d3147f6SIngo Weinhold 3065d3147f6SIngo Weinhold 3078474904eSIngo Weinhold // #pragma mark - attribute directories 3088474904eSIngo Weinhold 3095d3147f6SIngo Weinhold 3105d3147f6SIngo Weinhold // OpenAttrDir 3115d3147f6SIngo Weinhold status_t 3128474904eSIngo 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 3198474904eSIngo 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 3268474904eSIngo 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 3338474904eSIngo Weinhold Volume::ReadAttrDir(fs_vnode node, fs_cookie cookie, void* buffer, 3348474904eSIngo 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 3418474904eSIngo Weinhold Volume::RewindAttrDir(fs_vnode node, fs_cookie cookie) 3425d3147f6SIngo Weinhold { 3435d3147f6SIngo Weinhold return B_BAD_VALUE; 3445d3147f6SIngo Weinhold } 3455d3147f6SIngo Weinhold 3468474904eSIngo Weinhold 3478474904eSIngo Weinhold // #pragma mark - attributes 3488474904eSIngo Weinhold 3498474904eSIngo Weinhold 350*617ed3e4SIngo Weinhold // CreateAttr 351*617ed3e4SIngo Weinhold status_t 352*617ed3e4SIngo Weinhold Volume::CreateAttr(fs_vnode node, const char* name, uint32 type, int openMode, 353*617ed3e4SIngo Weinhold fs_cookie* cookie) 354*617ed3e4SIngo Weinhold { 355*617ed3e4SIngo Weinhold return B_BAD_VALUE; 356*617ed3e4SIngo Weinhold } 357*617ed3e4SIngo Weinhold 358*617ed3e4SIngo Weinhold // OpenAttr 359*617ed3e4SIngo Weinhold status_t 360*617ed3e4SIngo Weinhold Volume::OpenAttr(fs_vnode node, const char* name, int openMode, 361*617ed3e4SIngo Weinhold fs_cookie* cookie) 362*617ed3e4SIngo Weinhold { 363*617ed3e4SIngo Weinhold return B_BAD_VALUE; 364*617ed3e4SIngo Weinhold } 365*617ed3e4SIngo Weinhold 366*617ed3e4SIngo Weinhold // CloseAttr 367*617ed3e4SIngo Weinhold status_t 368*617ed3e4SIngo Weinhold Volume::CloseAttr(fs_vnode node, fs_cookie cookie) 369*617ed3e4SIngo Weinhold { 370*617ed3e4SIngo Weinhold return B_BAD_VALUE; 371*617ed3e4SIngo Weinhold } 372*617ed3e4SIngo Weinhold 373*617ed3e4SIngo Weinhold // FreeAttrCookie 374*617ed3e4SIngo Weinhold status_t 375*617ed3e4SIngo Weinhold Volume::FreeAttrCookie(fs_vnode node, fs_cookie cookie) 376*617ed3e4SIngo Weinhold { 377*617ed3e4SIngo Weinhold return B_BAD_VALUE; 378*617ed3e4SIngo Weinhold } 379*617ed3e4SIngo Weinhold 3805d3147f6SIngo Weinhold // ReadAttr 3815d3147f6SIngo Weinhold status_t 3828474904eSIngo Weinhold Volume::ReadAttr(fs_vnode node, fs_cookie cookie, off_t pos, void* buffer, 3838474904eSIngo Weinhold size_t bufferSize, size_t* bytesRead) 3845d3147f6SIngo Weinhold { 3855d3147f6SIngo Weinhold return B_BAD_VALUE; 3865d3147f6SIngo Weinhold } 3875d3147f6SIngo Weinhold 3885d3147f6SIngo Weinhold // WriteAttr 3895d3147f6SIngo Weinhold status_t 3908474904eSIngo Weinhold Volume::WriteAttr(fs_vnode node, fs_cookie cookie, off_t pos, 3915d3147f6SIngo Weinhold const void* buffer, size_t bufferSize, size_t* bytesWritten) 3925d3147f6SIngo Weinhold { 3935d3147f6SIngo Weinhold return B_BAD_VALUE; 3945d3147f6SIngo Weinhold } 3955d3147f6SIngo Weinhold 3965d3147f6SIngo Weinhold // StatAttr 3975d3147f6SIngo Weinhold status_t 3988474904eSIngo Weinhold Volume::ReadAttrStat(fs_vnode node, fs_cookie cookie, struct stat *st) 3995d3147f6SIngo Weinhold { 4005d3147f6SIngo Weinhold return B_BAD_VALUE; 4015d3147f6SIngo Weinhold } 4025d3147f6SIngo Weinhold 4038474904eSIngo Weinhold // RenameAttr 4048474904eSIngo Weinhold status_t 4058474904eSIngo Weinhold Volume::RenameAttr(fs_vnode oldNode, const char* oldName, fs_vnode newNode, 4068474904eSIngo Weinhold const char* newName) 4078474904eSIngo Weinhold { 4088474904eSIngo Weinhold return B_BAD_VALUE; 4098474904eSIngo Weinhold } 4108474904eSIngo Weinhold 4118474904eSIngo Weinhold // RemoveAttr 4128474904eSIngo Weinhold status_t 4138474904eSIngo Weinhold Volume::RemoveAttr(fs_vnode node, const char* name) 4148474904eSIngo Weinhold { 4158474904eSIngo Weinhold return B_BAD_VALUE; 4168474904eSIngo Weinhold } 4178474904eSIngo Weinhold 4188474904eSIngo Weinhold 4198474904eSIngo Weinhold // #pragma mark - indices 4208474904eSIngo Weinhold 4215d3147f6SIngo Weinhold 4225d3147f6SIngo Weinhold // OpenIndexDir 4235d3147f6SIngo Weinhold status_t 4248474904eSIngo Weinhold Volume::OpenIndexDir(fs_cookie *cookie) 4255d3147f6SIngo Weinhold { 4265d3147f6SIngo Weinhold return B_BAD_VALUE; 4275d3147f6SIngo Weinhold } 4285d3147f6SIngo Weinhold 4295d3147f6SIngo Weinhold // CloseIndexDir 4305d3147f6SIngo Weinhold status_t 4318474904eSIngo Weinhold Volume::CloseIndexDir(fs_cookie cookie) 4325d3147f6SIngo Weinhold { 4335d3147f6SIngo Weinhold return B_BAD_VALUE; 4345d3147f6SIngo Weinhold } 4355d3147f6SIngo Weinhold 4365d3147f6SIngo Weinhold // FreeIndexDirCookie 4375d3147f6SIngo Weinhold status_t 4388474904eSIngo Weinhold Volume::FreeIndexDirCookie(fs_cookie cookie) 4395d3147f6SIngo Weinhold { 4405d3147f6SIngo Weinhold return B_BAD_VALUE; 4415d3147f6SIngo Weinhold } 4425d3147f6SIngo Weinhold 4435d3147f6SIngo Weinhold // ReadIndexDir 4445d3147f6SIngo Weinhold status_t 4458474904eSIngo Weinhold Volume::ReadIndexDir(fs_cookie cookie, void* buffer, size_t bufferSize, 4468474904eSIngo Weinhold uint32 count, uint32* countRead) 4475d3147f6SIngo Weinhold { 4485d3147f6SIngo Weinhold return B_BAD_VALUE; 4495d3147f6SIngo Weinhold } 4505d3147f6SIngo Weinhold 4515d3147f6SIngo Weinhold // RewindIndexDir 4525d3147f6SIngo Weinhold status_t 4538474904eSIngo Weinhold Volume::RewindIndexDir(fs_cookie cookie) 4545d3147f6SIngo Weinhold { 4555d3147f6SIngo Weinhold return B_BAD_VALUE; 4565d3147f6SIngo Weinhold } 4575d3147f6SIngo Weinhold 4585d3147f6SIngo Weinhold // CreateIndex 4595d3147f6SIngo Weinhold status_t 4608474904eSIngo Weinhold Volume::CreateIndex(const char* name, uint32 type, uint32 flags) 4615d3147f6SIngo Weinhold { 4625d3147f6SIngo Weinhold return B_BAD_VALUE; 4635d3147f6SIngo Weinhold } 4645d3147f6SIngo Weinhold 4655d3147f6SIngo Weinhold // RemoveIndex 4665d3147f6SIngo Weinhold status_t 4675d3147f6SIngo Weinhold Volume::RemoveIndex(const char* name) 4685d3147f6SIngo Weinhold { 4695d3147f6SIngo Weinhold return B_BAD_VALUE; 4705d3147f6SIngo Weinhold } 4715d3147f6SIngo Weinhold 4728474904eSIngo Weinhold // ReadIndexStat 4735d3147f6SIngo Weinhold status_t 4748474904eSIngo Weinhold Volume::ReadIndexStat(const char *name, struct stat *st) 4755d3147f6SIngo Weinhold { 4765d3147f6SIngo Weinhold return B_BAD_VALUE; 4775d3147f6SIngo Weinhold } 4785d3147f6SIngo Weinhold 4795d3147f6SIngo Weinhold 4808474904eSIngo Weinhold // #pragma mark - queries 4818474904eSIngo Weinhold 4825d3147f6SIngo Weinhold 4835d3147f6SIngo Weinhold // OpenQuery 4845d3147f6SIngo Weinhold status_t 4858474904eSIngo Weinhold Volume::OpenQuery(const char* queryString, uint32 flags, port_id port, 4868474904eSIngo Weinhold uint32 token, fs_cookie *cookie) 4875d3147f6SIngo Weinhold { 4885d3147f6SIngo Weinhold return B_BAD_VALUE; 4895d3147f6SIngo Weinhold } 4905d3147f6SIngo Weinhold 4915d3147f6SIngo Weinhold // CloseQuery 4925d3147f6SIngo Weinhold status_t 4938474904eSIngo Weinhold Volume::CloseQuery(fs_cookie cookie) 4945d3147f6SIngo Weinhold { 4955d3147f6SIngo Weinhold return B_BAD_VALUE; 4965d3147f6SIngo Weinhold } 4975d3147f6SIngo Weinhold 4985d3147f6SIngo Weinhold // FreeQueryCookie 4995d3147f6SIngo Weinhold status_t 5008474904eSIngo Weinhold Volume::FreeQueryCookie(fs_cookie cookie) 5015d3147f6SIngo Weinhold { 5025d3147f6SIngo Weinhold return B_BAD_VALUE; 5035d3147f6SIngo Weinhold } 5045d3147f6SIngo Weinhold 5055d3147f6SIngo Weinhold // ReadQuery 5065d3147f6SIngo Weinhold status_t 5078474904eSIngo Weinhold Volume::ReadQuery(fs_cookie cookie, void* buffer, size_t bufferSize, 5088474904eSIngo Weinhold uint32 count, uint32* countRead) 5095d3147f6SIngo Weinhold { 5105d3147f6SIngo Weinhold return B_BAD_VALUE; 5115d3147f6SIngo Weinhold } 5125d3147f6SIngo Weinhold 513