mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 14:03:17 +00:00
Generate the auth object XIDs inside the proto funcs and only on success, so we don't unnecessarily allocate XIDs. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
14 lines
350 B
C
14 lines
350 B
C
#ifndef _XSERVER_OS_XDMAUTH_H
|
|
#define _XSERVER_OS_XDMAUTH_H
|
|
|
|
#include "auth.h"
|
|
|
|
XID XdmCheckCookie(AuthCheckArgs);
|
|
XID XdmAddCookie(AuthAddCArgs);
|
|
int XdmFromID(AuthFromIDArgs);
|
|
int XdmRemoveCookie(AuthRemCArgs);
|
|
int XdmResetCookie(AuthRstCArgs);
|
|
void XdmAuthenticationInit(const char *cookie, int cookie_length);
|
|
|
|
#endif /* _XSERVER_OS_XDMAUTH_H */
|