2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * Paweł Dziepak, pdziepak@quarnos.org
13 #include <SupportDefs.h>
15 #include "NFS4Object.h"
20 class Delegation
: public NFS4Object
,
21 public DoublyLinkedListLinkImpl
<Delegation
> {
23 Delegation(const OpenDelegationData
& data
, Inode
* inode
,
24 uint64 clientID
, bool attr
= false);
26 status_t
GiveUp(bool truncate
= false);
28 inline void SetData(const OpenDelegationData
& data
);
29 inline Inode
* GetInode();
30 inline OpenDelegation
Type();
33 status_t
ReturnDelegation();
37 OpenDelegationData fData
;
44 Delegation::SetData(const OpenDelegationData
& data
)
51 Delegation::GetInode()
64 #endif // DELEGATION_H