From e53dfcbdbed04cad690823ce5def521fea7b5483 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 12 Mar 2018 15:28:33 +0100 Subject: 4s timeout when connecting to server; send error to client on failure --- client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client.h') diff --git a/client.h b/client.h index 2cc8090..cd595ce 100644 --- a/client.h +++ b/client.h @@ -9,4 +9,6 @@ void client_callback(void *data, int haveIn, int haveOut, int doCleanup); BOOL client_send(epoll_client_t *client, const char *buffer, size_t len, const BOOL cork); +BOOL client_searchResultError(epoll_client_t *client, const unsigned long messageId, const int code, const char *message); + #endif -- cgit v1.2.3-55-g7522