30 lines
934 B
C
30 lines
934 B
C
#ifndef _XSERVER_OS_AUTH_H
|
|
#define _XSERVER_OS_AUTH_H
|
|
|
|
#include <X11/X.h>
|
|
|
|
#include "dix.h"
|
|
|
|
#define AuthInitArgs void
|
|
typedef void (*AuthInitFunc) (AuthInitArgs);
|
|
|
|
#define AuthAddCArgs unsigned short data_length, const char *data, XID id
|
|
typedef int (*AuthAddCFunc) (AuthAddCArgs);
|
|
|
|
#define AuthCheckArgs unsigned short data_length, const char *data, ClientPtr client, const char **reason
|
|
typedef XID (*AuthCheckFunc) (AuthCheckArgs);
|
|
|
|
#define AuthFromIDArgs XID id, unsigned short *data_lenp, char **datap
|
|
typedef int (*AuthFromIDFunc) (AuthFromIDArgs);
|
|
|
|
#define AuthGenCArgs unsigned data_length, const char *data, XID id, unsigned *data_length_return, char **data_return
|
|
typedef XID (*AuthGenCFunc) (AuthGenCArgs);
|
|
|
|
#define AuthRemCArgs unsigned short data_length, const char *data
|
|
typedef int (*AuthRemCFunc) (AuthRemCArgs);
|
|
|
|
#define AuthRstCArgs void
|
|
typedef int (*AuthRstCFunc) (AuthRstCArgs);
|
|
|
|
#endif /* _XSERVER_OS_AUTH_H */
|