SymLink
heapSize += fSymLinkCount * sizeof(SymLink);
Directory::CreateSymLink(const char *name, const char *path, SymLink **symLink)
if (SymLink *node = new(nothrow) SymLink(GetVolume())) {
class SymLink;
SymLink **symLink);
SymLink::SymLink(Volume *volume)
SymLink::~SymLink()
SymLink::SetSize(off_t newSize)
SymLink::GetSize() const
SymLink::SetLinkedPath(const char *path)
SymLink::GetAllocationInfo(AllocationInfo &info)
class SymLink : public Node {
SymLink(Volume *volume);
virtual ~SymLink();
if (SymLink *symLink = dynamic_cast<SymLink*>(node)) {
SymLink *symLink = NULL;
SymLink::SymLink(Volume* volume, uint64 blockIndex,
SymLink::SymLink(Volume* volume, mode_t mode)
SymLink::~SymLink()
SymLink::ReadSymLink(char* buffer, size_t toRead, size_t& _bytesRead)
SymLink::WriteSymLink(const char* buffer, size_t toWrite,
class SymLink : public Node {
SymLink(Volume* volume, uint64 blockIndex,
SymLink(Volume* volume, mode_t mode);
virtual ~SymLink();
node = new(std::nothrow) SymLink(this, blockIndex, *nodeData);
Volume::CreateSymLink(mode_t mode, Transaction& transaction, SymLink*& _symLink)
SymLink* symLink = new(std::nothrow) SymLink(this,
class SymLink;
SymLink*& _symLink);
SymLink* symLink = dynamic_cast<SymLink*>((Node*)vnode->private_node);
SymLink* newSymLink;
virtual SymLink *ToSymLink() { return this; }
SymLink *sourceLink = sourceNode->ToSymLink();
SymLink *link;
const struct fssh_stat &st, SymLink *&link) = 0;
class HostSymLink : public SymLink, public HostNode {
: SymLink(),
const struct fssh_stat &st, SymLink *&_link)
class SymLink;
class GuestSymLink : public SymLink, public GuestNode {
: SymLink(),
virtual SymLink *ToSymLink() { return NULL; }
const struct fssh_stat &st, SymLink *&_link)