2005-03-19 23:16:49 +01:00
|
|
|
/* -*-mode: C; fill-column: 78; c-basic-offset: 4; -*- */
|
|
|
|
|
|
|
|
#ifndef _XWRELAY_PRIV_H_
|
|
|
|
#define _XWRELAY_PRIV_H_
|
|
|
|
|
2005-07-05 23:57:00 +02:00
|
|
|
#include <time.h>
|
|
|
|
|
2005-03-19 23:16:49 +01:00
|
|
|
typedef unsigned short HostID;
|
2005-07-06 01:02:15 +02:00
|
|
|
typedef unsigned long CookieID; /* stands in for string after connection established */
|
2005-03-19 23:16:49 +01:00
|
|
|
|
|
|
|
void logf( const char* format, ... );
|
|
|
|
|
2005-03-30 03:32:02 +02:00
|
|
|
void killSocket( int socket, char* why );
|
2005-03-19 23:16:49 +01:00
|
|
|
|
2005-06-23 06:26:44 +02:00
|
|
|
time_t now();
|
|
|
|
|
2005-03-19 23:16:49 +01:00
|
|
|
#endif
|