BTRFS: Node now holding Volume instead of cache to retrieve more values
[haiku.git] / src / add-ons / kernel / file_systems / btrfs / AttributeIterator.h
blobb9491f429c4f4bb9bcc9c6b4d80d4bc9454fee14
1 /*
2 * Copyright 2011, Jérôme Duval, korli@users.berlios.de.
3 * This file may be used under the terms of the MIT License.
4 */
5 #ifndef ATTRIBUTEITERATOR_H
6 #define ATTRIBUTEITERATOR_H
9 #include "BTree.h"
10 #include "Inode.h"
13 class AttributeIterator {
14 public:
15 AttributeIterator(Inode* inode);
16 ~AttributeIterator();
18 status_t InitCheck();
20 status_t GetNext(char* name, size_t* _nameLength);
21 status_t Rewind();
22 private:
23 uint64 fOffset;
24 Inode* fInode;
25 TreeIterator* fIterator;
29 #endif // ATTRIBUTEITERATOR_H