From d59dfe91f729c5e90206283cd56e87f06c815ef2 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 17 Oct 2011 11:12:12 +0800 Subject: [PATCH] Modules/SunRPC - Stubbed --- Modules/Libraries/SunRPC/proto.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Modules/Libraries/SunRPC/proto.h diff --git a/Modules/Libraries/SunRPC/proto.h b/Modules/Libraries/SunRPC/proto.h new file mode 100644 index 00000000..150fc426 --- /dev/null +++ b/Modules/Libraries/SunRPC/proto.h @@ -0,0 +1,28 @@ +/* + * Acess2 Kernel + * - Sun RPC (RFC 1057) implementation + * proto.h + * - Protocol definition + */ +#ifndef _SUNRPC_PROTO_H_ +#define _SUNRPC_PROTO_H_ + +struct sRPC_CallBody +{ + Uint32 RPCVers; //!< Version (2) + Uint32 Program; //!< Program Identifier + Uint32 Version; //!< Program Version + +}; + +struct sRPC_Message +{ + tNet32 XID; //!< Transaction Identifier + union + { + struct sRPC_CallBody Call; + }; +}; + +#endif + -- 2.20.1