summaryrefslogtreecommitdiff
path: root/dm_auth.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:12 +0000
commitca56bbdb0d398371332467534deaefdb77883bd7 (patch)
treec2d0009eccfd0d8d2e7cae9932885a7a0a6699bc /dm_auth.h
parent19bd1c5e3910088ac0e92ca005427192a223c8a0 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'dm_auth.h')
-rw-r--r--dm_auth.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/dm_auth.h b/dm_auth.h
index 8f606ea..abbe93d 100644
--- a/dm_auth.h
+++ b/dm_auth.h
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/programs/xdm/dm_auth.h,v 1.2 2000/05/31 07:15:11 eich Exp $
+ * $XFree86: xc/programs/xdm/dm_auth.h,v 1.4 2003/10/27 21:39:06 herrb Exp $
*/
/************************************************************
@@ -50,6 +50,9 @@ extern void XdmGetXdmcpAuth (
struct protoDisplay *pdpy,
unsigned short authorizationNameLen,
char *authorizationName);
+extern int XdmCheckAuthentication (struct protoDisplay *pdpy,
+ ARRAY8Ptr displayID, ARRAY8Ptr authenticationName,
+ ARRAY8Ptr authenticationData);
#else
#define XdmGetXdmcpAuth NULL
#endif
@@ -87,6 +90,14 @@ extern void SetLocalAuthorization (struct display *d);
extern void SetUserAuthorization (struct display *d, struct verify_info *verify);
/* genauth.c */
-extern void GenerateAuthData (char *auth, int len);
+extern int GenerateAuthData (char *auth, int len);
+#if !defined(ARC4_RANDOM)
+extern void AddPreGetEntropy (void);
+extern void AddOtherEntropy (void);
+extern void AddTimerEntropy (void);
+#endif
+
+/* prngc.c */
+extern int get_prngd_bytes(char *, int, unsigned short, char *);
#endif /* _DM_AUTH_H_ */