From 831f9f01fbe4088eb6bd378c0e417d9996b676fd Mon Sep 17 00:00:00 2001 From: scratko Date: Fri, 30 Aug 2024 12:46:56 +0300 Subject: Final version v2.0 Added windows client. SIGPIPE signal was being sent to the server when the client was disconnected. Now there is handling of this signal. Added a delay when displaying some informational messages. --- linux_client/verification_client_input.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linux_client/verification_client_input.h (limited to 'linux_client/verification_client_input.h') diff --git a/linux_client/verification_client_input.h b/linux_client/verification_client_input.h new file mode 100644 index 0000000..690f36e --- /dev/null +++ b/linux_client/verification_client_input.h @@ -0,0 +1,12 @@ +#ifndef VERIFICATION_CLIENT_INPUT_H_SENTRY +#define VERIFICATION_CLIENT_INPUT_H_SENTRY + +#include "card_stack.h" +#include "client.h" + +int vci_confirmation_waiting(int fd, char *buffer); +int vci_attack_or_tossing(int fd, char *buffer, player_cards deck, + enum client_states state); +int vci_defense(int fd, char *buffer, player_cards deck); + +#endif -- cgit v1.2.3