xserver/os/xdmauth.h
Enrico Weigelt, metux IT consult 6816605e22 os: move Auth* function types to separate header
The generic auth handling isn't really OS specific, and only few sites
actually need to call it, so at least it's prototypes are better off in some
separate header.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1311>
2024-02-22 23:42:53 +00:00

13 lines
350 B
C

#ifndef _XSERVER_OS_XDMAUTH_H
#define _XSERVER_OS_XDMAUTH_H
#include "auth.h"
XID XdmCheckCookie(AuthCheckArgs);
int XdmAddCookie(AuthAddCArgs);
int XdmFromID(AuthFromIDArgs);
int XdmRemoveCookie(AuthRemCArgs);
int XdmResetCookie(AuthRstCArgs);
void XdmAuthenticationInit(const char *cookie, int cookie_length);
#endif /* _XSERVER_OS_XDMAUTH_H */