2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
16 class File
: public Node
{
18 File(Volume
&volume
, int32 block
);
23 virtual status_t
Open(void **_cookie
, int mode
);
24 virtual status_t
Close(void *cookie
);
26 virtual ssize_t
ReadAt(void *cookie
, off_t pos
, void *buffer
, size_t bufferSize
);
27 virtual ssize_t
WriteAt(void *cookie
, off_t pos
, const void *buffer
, size_t bufferSize
);
29 virtual status_t
GetName(char *nameBuffer
, size_t bufferSize
) const;
30 virtual int32
Type() const;
31 virtual off_t
Size() const;
32 virtual ino_t
Inode() const;