xlibre-xserver/os/mitauth.h
Enrico Weigelt, metux IT consult a68f5c125c os: auth: generate XIDs in proto funcs only on success
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>
2025-06-12 16:52:56 +02:00

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 */