summaryrefslogtreecommitdiff
path: root/src/net/client.h
diff options
context:
space:
mode:
authorMario Kilies <MarioKilies@GMX.net>2011-01-24 14:41:52 +0100
committerMario Kilies <MarioKilies@GMX.net>2011-01-24 14:41:52 +0100
commit5ab5af3b1472fe93eb164f5bbece798a402eea65 (patch)
treec544c9ce0392093890dbddc71606b75a1e6173d8 /src/net/client.h
parent1999007d45ba68626134b078f0b8a09430c58f5d (diff)
Second part of huge refactoring of networking related code.
Diffstat (limited to 'src/net/client.h')
-rw-r--r--src/net/client.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/net/client.h b/src/net/client.h
index deda2c0..29f9720 100644
--- a/src/net/client.h
+++ b/src/net/client.h
@@ -6,11 +6,13 @@
#include "comm.h"
int client_connect_server(const char* host, const char* port);
+
void client_prep_hello(msg_t *m);
void client_prep_selected_card(msg_t *m);
void client_prep_selected_stack(msg_t *m);
-bool client_parse_player_list(const uint8_t* payload, const uint8_t data_len);
-bool client_parse_deal_hand(const uint8_t* payload, const uint8_t payload_len);
-bool client_parse_selected_stack(const uint8_t* payload, const uint8_t payload_len);
+
+bool client_parse_player_list(const msg_t *m);
+bool client_parse_deal_hand(const msg_t *m);
+bool client_parse_selected_stack(const msg_t *m);
#endif // OXEN_CLIENT_H