xserver/os/xdmcp.h

30 lines
978 B
C

#ifndef _XSERVER_OS_XDMCP_H
#define _XSERVER_OS_XDMCP_H
#include "osdep.h"
#ifdef XDMCP
/* 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, int namelen);
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 /* XDMCP */
#endif /* _XSERVER_OS_XDMCP_H */