From 1e1d106a545a9cadc517de1a0ad931f1a8fcc2fa Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 20 Mar 2008 20:22:41 +0000 Subject: - uprava sietoveho protokola - novy prikaz to prtokolu "status" - moznost nastavit maximalny pocet clientov pri serverti ./publicserver --maxclient - drobne upravy v kode git-svn-id: http://opensvn.csie.org/tuxanci_ng@30 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/proto.h') 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); -- cgit v1.2.3