diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-21 19:29:39 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-21 19:29:39 (GMT) |
commit | b6afbe8c699ae76443628badae33beee9934c6bc (patch) | |
tree | 69878624d3ae529314a9824f0c0ceca8bca617b7 /src/common/net.h | |
parent | 291968f4f4a5e85f6963813a43f2176320fb8d49 (diff) |
Provided a real welcome panel at startup, with tricks and actions.
Diffstat (limited to 'src/common/net.h')
-rw-r--r-- | src/common/net.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/net.h b/src/common/net.h index 80f7496..d9ec6f9 100644 --- a/src/common/net.h +++ b/src/common/net.h @@ -26,12 +26,16 @@ #include <netdb.h> +#include <stdbool.h> /* Ouvre une connexion TCP à un serveur quelconque. */ int connect_via_tcp(const char *, const char *, struct sockaddr_in *); +/* Reçoit du réseau autant de données que possible. */ +bool recv_all(int, char *, size_t, size_t *); + #endif /* _COMMON_NET_H */ |