1/* 2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef SYM_LINK_H 6#define SYM_LINK_H 7 8 9#include "Node.h" 10 11 12class SymLink : public Node { 13public: 14 SymLink(Volume* volume, uint64 blockIndex, 15 const checksumfs_node& nodeData); 16 SymLink(Volume* volume, mode_t mode); 17 virtual ~SymLink(); 18 19 status_t ReadSymLink(char* buffer, size_t toRead, 20 size_t& _bytesRead); 21 status_t WriteSymLink(const char* buffer, size_t toWrite, 22 Transaction& transaction); 23}; 24 25 26#endif // SYM_LINK_H 27