diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
| commit | b84b59153c587248ca8a6a94a6d93977e851233f (patch) | |
| tree | e13b33f09ee6ac130bb6045626618b1c5fc4d787 /include/server.h | |
| parent | 6038f9434f1eb40caf7992ece9a3972e95a9fc11 (diff) | |
- moznost skompilovat public server bez GUI ( pomocou Makefile-publicServer )
port sa nastavuje ako ./publicserver --port <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
Diffstat (limited to 'include/server.h')
| -rw-r--r-- | include/server.h | 8 |
1 files changed, 6 insertions, 2 deletions
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; |