xwords/xwords4/relay/xwrelay_priv.h
ehouse 3b53363e16 Pass protocol version code with connect request, and return error if
it isn't what relay can handle.  Report error to user.
2005-07-06 01:36:52 +00:00

19 lines
429 B
C

/* -*-mode: C; fill-column: 78; c-basic-offset: 4; -*- */
#ifndef _XWRELAY_PRIV_H_
#define _XWRELAY_PRIV_H_
#include <time.h>
typedef unsigned short HostID;
typedef unsigned long CookieID; /* stands in for string after connection established */
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