BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / file_systems / nfs4 / RPCAuth.h
blobd45a7cf460429b892ff2c3460913594ca326e5eb
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 RPCAUTH_H
9 #define RPCAUTH_H
12 #include "XDR.h"
15 namespace RPC {
17 class Auth {
18 public:
19 inline const XDR::WriteStream& Stream() const;
21 static const Auth* CreateNone();
22 static const Auth* CreateSys();
24 private:
25 Auth();
27 XDR::WriteStream fStream;
31 inline const XDR::WriteStream&
32 Auth::Stream() const
34 return fStream;
37 } // namespace RPC
40 #endif // RPCAUTH_H