back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/server_data_processing.h
diff options
context:
space:
mode:
Diffstat (limited to 'server_data_processing.h')
-rw-r--r--server_data_processing.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/server_data_processing.h b/server_data_processing.h
index f047ada..9ebe5ad 100644
--- a/server_data_processing.h
+++ b/server_data_processing.h
@@ -5,10 +5,11 @@
int print_message_for_first_player(int fd);
int print_connected_players(int fd, int number);
-int check_readiness(const struct session *client);
+int check_readiness(struct session *client);
int print_game_part(const struct session *client, struct game_info *gi);
int get_cards_from_attacker(struct session *client, struct card_queue *cq);
-int get_card_from_defender(struct session *client, struct cards_on_table *cot);
+int get_card_from_defender(struct session *client, struct cards_on_table *cot,
+ const char *trump_suit);
int get_cards_from_tossing_player(struct session *client,
const player_cards defense_deck,
struct cards_on_table *cot,