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
67 lines
763 B
C++
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
|