summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:54:35 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:54:35 +0000
commit8ecf5d371806b603b64f257e4caa1d9cbc19556d (patch)
tree668e34fcc640ecf898cade6b0f525c79effcfd30
parent9cfba0fa56ff1ebae9aaccf1e63049759dbd37f5 (diff)
-rw-r--r--Wrap.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Wrap.h b/Wrap.h
index b9ec1cf..a5e7553 100644
--- a/Wrap.h
+++ b/Wrap.h
@@ -3,10 +3,18 @@
* header file for compatibility with something useful
*/
-/* $XFree86: xc/lib/Xdmcp/Wrap.h,v 1.3 2001/01/17 19:42:44 dawes Exp $ */
+/* $XFree86: xc/lib/Xdmcp/Wrap.h,v 1.4 2003/12/19 02:05:38 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
+/* They're really void but that would mean changing Wraphelp.c as well
+ which isnt in version control. */
+extern int _XdmcpAuthSetup (auth_cblock key, auth_wrapper_schedule schedule);
+extern int _XdmcpAuthDoIt (auth_cblock input, auth_cblock output,
+ auth_wrapper_schedule schedule, int edflag);
+#endif