aboutsummaryrefslogtreecommitdiff
path: root/libXdmcp/Wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'libXdmcp/Wrap.h')
-rw-r--r--libXdmcp/Wrap.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libXdmcp/Wrap.h b/libXdmcp/Wrap.h
new file mode 100644
index 000000000..9c57e1df7
--- /dev/null
+++ b/libXdmcp/Wrap.h
@@ -0,0 +1,19 @@
+/* $XdotOrg: xc/lib/Xdmcp/Wrap.h,v 1.5 2004/08/22 01:02:25 jg Exp $ */
+/* $Xorg: Wrap.h,v 1.3 2000/08/17 19:45:50 cpqbld Exp $ */
+/*
+ * header file for compatibility with something useful
+ */
+
+/* $XFree86: xc/lib/Xdmcp/Wrap.h,v 1.3 2001/01/17 19:42:44 dawes Exp $ */
+
+typedef unsigned char auth_cblock[8]; /* block size */
+
+typedef struct auth_ks_struct { auth_cblock _; } auth_wrapper_schedule[16];
+
+extern void _XdmcpWrapperToOddParity (unsigned char *in, unsigned char *out);
+
+#ifdef HASXDMAUTH
+extern void _XdmcpAuthSetup (auth_cblock key, auth_wrapper_schedule schedule);
+extern void _XdmcpAuthDoIt (auth_cblock input, auth_cblock output,
+ auth_wrapper_schedule schedule, int edflag);
+#endif