summaryrefslogtreecommitdiff
path: root/dm_auth.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-26 22:49:11 +0000
commit90bb927330a88d3ae026b10ec5419cd3348b4f81 (patch)
treef3632f73afb5aba51d9d7168eae10a9bab6344d0 /dm_auth.h
parent5ff0e2bd4b76abb1cd1827c8294843ab0c4fe686 (diff)
merge latest (4.3.99.16) from XFree86 (vendor) branch
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_ */