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
320 B
C
14 lines
320 B
C
#ifndef _XSERVER_OS_MITAUTH_H
|
|
#define _XSERVER_OS_MITAUTH_H
|
|
|
|
#include "auth.h"
|
|
|
|
XID MitCheckCookie(AuthCheckArgs);
|
|
XID MitGenerateCookie(AuthGenCArgs);
|
|
XID MitAddCookie(AuthAddCArgs);
|
|
int MitFromID(AuthFromIDArgs);
|
|
int MitRemoveCookie(AuthRemCArgs);
|
|
int MitResetCookie(AuthRstCArgs);
|
|
|
|
#endif /* _XSERVER_OS_MITAUTH_H */
|