Files
haiku-beta6/src/kernel/boot/loader/file_systems/bfs/Directory.cpp
T
Axel Dörfler aec0abfd56 Add a new Stream class that handles reading bytes from an inode (retrieved
from the BFS Stream.h file) - it supports all data stream ranges (direct,
indirect, & double indirect).
Moved bfs_inode::InitCheck() to the new Stream class.
The Directory class now has a Stream object instead of a bfs_inode directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-12 02:28:14 +00:00

67 lines
763 B
C++

/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#include "Directory.h"
#include "Volume.h"
namespace BFS {
Directory::Directory(Volume &volume, block_run run)
:
fStream(volume, run)
{
}
Directory::~Directory()
{
}
status_t
Directory::InitCheck()
{
return B_ERROR;
}
status_t
Directory::Open(void **_cookie, int mode)
{
return B_ERROR;
}
status_t
Directory::Close(void *cookie)
{
return B_ERROR;
}
Node *
Directory::Lookup(const char *name, bool traverseLinks)
{
return NULL;
}
status_t
Directory::GetNextNode(void *cookie, Node **_node)
{
return B_ERROR;
}
status_t
Directory::Rewind(void *cookie)
{
return B_ERROR;
}
} // namespace BFS