mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
xdmcp.h is using types from <X11/Xdmcp.h>, but forgot to include it. This just popped up with building w/ -Dxdmcp=false, because that file was included in the wrong place (osdep.h) and only conditionally. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
#ifndef _XSERVER_OS_XDMCP_H
|
|
#define _XSERVER_OS_XDMCP_H
|
|
|
|
#include <X11/Xdmcp.h>
|
|
|
|
#include "osdep.h"
|
|
|
|
typedef Bool (*ValidatorFunc) (ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);
|
|
typedef Bool (*GeneratorFunc) (ARRAY8Ptr Auth, ARRAY8Ptr Data, int packet_type);
|
|
typedef Bool (*AddAuthorFunc) (unsigned name_length, const char *name,
|
|
unsigned data_length, char *data);
|
|
|
|
/* in xdmcp.c */
|
|
void XdmcpUseMsg(void);
|
|
int XdmcpOptions(int argc, char **argv, int i);
|
|
void XdmcpRegisterConnection(int type, const char *address, int addrlen);
|
|
void XdmcpRegisterAuthorizations(void);
|
|
void XdmcpRegisterAuthorization(const char *name);
|
|
void XdmcpInit(void);
|
|
void XdmcpReset(void);
|
|
void XdmcpOpenDisplay(int sock);
|
|
void XdmcpCloseDisplay(int sock);
|
|
void XdmcpRegisterAuthentication(const char *name,
|
|
int namelen,
|
|
const char *data,
|
|
int datalen,
|
|
ValidatorFunc Validator,
|
|
GeneratorFunc Generator,
|
|
AddAuthorFunc AddAuth);
|
|
|
|
struct sockaddr_in;
|
|
void XdmcpRegisterBroadcastAddress(const struct sockaddr_in *addr);
|
|
|
|
#endif /* _XSERVER_OS_XDMCP_H */
|