summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2012-01-23 11:17:46 -0600
committerSimo Sorce <simo@redhat.com>2012-01-23 12:37:58 -0500
commit06b8b7f989c6955a26f457f89ac22ef9c05bf746 (patch)
treef1e0462f3d4f28fc99a4b290d55becc3eee3f109
parent8e4d1ddfcd496a38aa5ea07b2d0d60f2833a98fa (diff)
downloadgss-proxy-06b8b7f989c6955a26f457f89ac22ef9c05bf746.tar.gz
gss-proxy-06b8b7f989c6955a26f457f89ac22ef9c05bf746.tar.xz
gss-proxy-06b8b7f989c6955a26f457f89ac22ef9c05bf746.zip
Add comment to gp_rpc.x explaining its origin and purpose
-rw-r--r--x-files/gp_rpc.x11
1 files changed, 11 insertions, 0 deletions
diff --git a/x-files/gp_rpc.x b/x-files/gp_rpc.x
index bed5cfe..ec95f5a 100644
--- a/x-files/gp_rpc.x
+++ b/x-files/gp_rpc.x
@@ -1,3 +1,14 @@
+/*
+ * ONC RPC request/reply header XDR.
+ *
+ * Note that this XDR is extracted from RFC1831 and massaged so that
+ * rpcgen(1) accepts it, but it is intended to be wire-compatible with
+ * RFC1831.
+ *
+ * Also, in order to avoid symbol naming conflicts, we prefix "gp_" and
+ * "GP_" to all symbols from RFC1831. "GP" stands for "GSS proxy".
+ */
+
enum gp_rpc_auth_flavor {
GP_RPC_AUTH_NONE = 0,
GP_RPC_AUTH_SYS = 1,