xwords/xwords4/relay/xwrelay_priv.h
ehouse 77319b570d make transmitted vars smaller where possible; new relay identifying
scheme where cookie is used only to connect, and is replaced for
reconnects by a relay-generated name that's supposed to be unique
across all games on all relays and includes a hostname read in from
config file; relay assign non-servers' hostIDs.
2005-10-01 16:33:45 +00:00

18 lines
340 B
C

/* -*-mode: C; fill-column: 78; c-basic-offset: 4; -*- */
#ifndef _XWRELAY_PRIV_H_
#define _XWRELAY_PRIV_H_
#include <time.h>
typedef unsigned char HostID;
void logf( const char* format, ... );
void killSocket( int socket, char* why );
int send_with_length_unsafe( int socket, unsigned char* buf, int bufLen );
time_t now();
#endif