2 * Copyright 2004-2008, Axel Dörfler, axeld@pinc-software.de.
3 * This file may be used under the terms of the MIT License.
13 char name
[B_ATTR_NAME_LENGTH
];
22 Attribute(Inode
* inode
);
23 Attribute(Inode
* inode
, attr_cookie
* cookie
);
27 status_t
CheckAccess(const char* name
, int openMode
);
29 status_t
Get(const char* name
);
32 status_t
Create(const char* name
, type_code type
,
33 int openMode
, attr_cookie
** _cookie
);
34 status_t
Open(const char* name
, int openMode
,
35 attr_cookie
** _cookie
);
37 status_t
Stat(struct stat
& stat
);
39 status_t
Read(attr_cookie
* cookie
, off_t pos
, uint8
* buffer
,
41 status_t
Write(Transaction
& transaction
, attr_cookie
* cookie
,
42 off_t pos
, const uint8
* buffer
, size_t* _length
,
48 NodeGetter fNodeGetter
;