summaryrefslogtreecommitdiff
path: root/include/proto.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-20 20:22:41 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-20 20:22:41 +0000
commit1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa (patch)
tree1c6720eb14074cd0be263a75f1c547b83bfaa420 /include/proto.h
parentdbf67486087dea9c501014247a82244a44213582 (diff)
- uprava sietoveho protokola
- novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient <max clients> - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/proto.h b/include/proto.h
index 37595fe..f91b60b 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -41,8 +41,10 @@
#include "publicServer.h"
#endif
-extern void proto_send_hello_client();
+extern void proto_send_hello_client(char *name);
extern void proto_recv_hello_server(client_t *client, char *msg);
+extern void proto_send_status_server(int type, client_t *client);
+extern void proto_recv_status_server(client_t *client, char *msg);
extern void proto_send_init_server(int type, client_t *client, client_t *client2);
extern void proto_recv_init_client(char *msg);
extern void proto_send_event_server(int type, client_t *client, tux_t *tux, int action);