aboutsummaryrefslogtreecommitdiff
path: root/depends/libxcb/depends/libxdmcp/Wrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'depends/libxcb/depends/libxdmcp/Wrap.h')
-rw-r--r--depends/libxcb/depends/libxdmcp/Wrap.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/depends/libxcb/depends/libxdmcp/Wrap.h b/depends/libxcb/depends/libxdmcp/Wrap.h
new file mode 100644
index 0000000..479da5f
--- /dev/null
+++ b/depends/libxcb/depends/libxdmcp/Wrap.h
@@ -0,0 +1,15 @@
+/*
+ * header file for compatibility with something useful
+ */
+
+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