34 lines
640 B
C++
34 lines
640 B
C++
/*
|
|
* Copyright 2012 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Paweł Dziepak, [email protected]
|
|
*/
|
|
#ifndef NFS4OBJECT_H
|
|
#define NFS4OBJECT_H
|
|
|
|
#include "FileInfo.h"
|
|
#include "NFS4Defs.h"
|
|
#include "RPCServer.h"
|
|
|
|
|
|
class OpenStateCookie;
|
|
class OpenState;
|
|
|
|
class NFS4Object {
|
|
public:
|
|
bool HandleErrors(uint32 nfs4Error, RPC::Server* serv,
|
|
OpenStateCookie* cookie = NULL, OpenState* state = NULL,
|
|
uint32* sequence = NULL);
|
|
|
|
status_t ConfirmOpen(const FileHandle& fileHandle, OpenState* state);
|
|
|
|
FileInfo fInfo;
|
|
FileSystem* fFileSystem;
|
|
};
|
|
|
|
|
|
#endif // NFS4OBJECT_H
|
|
|