FDManager
if (FDManager::SetEntry(&entry, &ref) != B_OK || !entry.Exists())
result = FDManager::Open(path.GetPath(),
error = FDManager::OpenDir(path.GetPath(), fDirHandle);
return (FDManager::SetEntry(&bEntry, &entryRef) == B_OK && bEntry.Exists());
FDManager::SetEntry(BEntry* entry, const entry_ref* ref)
FDManager::SetEntry(BEntry* entry, const char* path)
FDManager::SetFile(BFile* file, const char* path, uint32 openMode)
FDManager::SetNode(BNode* node, const entry_ref* ref)
FDManager::Open(const char* path, uint32 openMode, mode_t mode, int& fd)
FDManager::OpenDir(const char* path, DIR*& dir)
FDManager::OpenAttrDir(const char* path, DIR*& dir)
FDManager::_IncreaseLimit()
FDManager::FDManager()
FDManager* FDManager::sManager = NULL;
FDManager::~FDManager()
FDManager::Init()
FDManager::CreateDefault()
FDManager* manager = new(std::nothrow) FDManager;
FDManager::DeleteDefault()
FDManager*
FDManager::GetDefault()
FDManager::SetDirectory(BDirectory* directory, const node_ref* ref)
class FDManager {
FDManager();
~FDManager();
static FDManager* GetDefault();
static FDManager* sManager;
error = FDManager::SetFile(&file, filePath.Path(),
&& (FDManager::SetEntry(&bEntry, settingsDir.Path()) != B_OK
FDManager::DeleteDefault();
error = FDManager::CreateDefault();
if (FDManager::SetEntry(&bEntry, filePath.Path()) != B_OK
error = FDManager::SetFile(&file, filePath.Path(), B_READ_ONLY);
return FDManager::SetNode(&node, &entryRef);
error = FDManager::Open(path.GetPath(), openMode | O_NOTRAVERSE, 0, fFD);
error = FDManager::OpenAttrDir(path.GetPath(), fDir);
error = FDManager::SetDirectory(&rootDir, &rootRef);
if (FDManager::SetEntry(&entry, &ref) == B_OK
status_t error = FDManager::SetEntry(&bEntry, &entryRef);
status_t error = FDManager::SetEntry(&bEntry, &entryRef);