From b84b59153c587248ca8a6a94a6d93977e851233f Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 15 Mar 2008 18:35:48 +0000 Subject: - moznost skompilovat public server bez GUI ( pomocou Makefile-publicServer ) port sa nastavuje ako ./publicserver --port - jeto iba prvotna verzia treba to este odladit a zostabilnit git-svn-id: http://opensvn.csie.org/tuxanci_ng@18 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/server.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/server.h') diff --git a/include/server.h b/include/server.h index c44b86b..531afd0 100644 --- a/include/server.h +++ b/include/server.h @@ -6,21 +6,25 @@ #include "list.h" #include "tux.h" #include "buffer.h" +#include "myTimer.h" #include "tcp.h" #include "udp.h" +#ifndef BUBLIC_SERVER +#include "interface.h" +#endif + #define SERVER_TIMEOUT 5000 #define SERVER_TIME_SYNC 5000 #define SERVER_INDEX_ROOT_TUX 0 - typedef struct client_struct { sock_tcp_t *socket_tcp; sock_udp_t *socket_udp; int status; - Uint32 lastPing; + my_time_t lastPing; tux_t *tux; buffer_t *buffer; } client_t; -- cgit v1.2.3