From f85db5843635d9e6479220f7dfd34bf719f15994 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 15 Jan 2011 19:10:22 +0100 Subject: added some documentation --- src/net_client.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net_client.c') diff --git a/src/net_client.c b/src/net_client.c index 92b699b..531bbd1 100644 --- a/src/net_client.c +++ b/src/net_client.c @@ -132,6 +132,12 @@ static hand* client_recv_deal_cards(int sock, uint8_t data_len) return h; } +/** + * Client side function; generic function for receiving packets + * @param[in] sock Socket on which to receive + * @param[in] wanted Desired packet type + * @return Pointer to desired data + */ void* client_recv(int sock, uint8_t wanted) { void* result = NULL; -- cgit v1.2.3