BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / nfs4 / RPCCallbackReply.h
blob485d5fa8a8c2f6f57f2fba1b1f6d41e350f0d1b3
1 /*
2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Paweł Dziepak, pdziepak@quarnos.org
7 */
8 #ifndef RPCCALLBACKREPLY_H
9 #define RPCCALLBACKREPLY_H
12 #include "RPCDefs.h"
13 #include "XDR.h"
16 namespace RPC {
18 class CallbackReply {
19 public:
20 static CallbackReply* Create(uint32 xid,
21 AcceptStat rpcError = SUCCESS);
22 ~CallbackReply();
24 inline XDR::WriteStream& Stream();
26 private:
27 CallbackReply();
29 XDR::WriteStream fStream;
33 inline XDR::WriteStream&
34 CallbackReply::Stream()
36 return fStream;
39 } // namespace RPC
42 #endif // RPCCALLBACKREPLY_H