mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-16 09:36:34 +01:00
add file sender timeouts
This commit is contained in:
@@ -19,3 +19,6 @@ uint8_t *wcs_to_char(wchar_t *string);
|
||||
|
||||
/* convert a wide char to null terminated string */
|
||||
char *wc_to_char(wchar_t ch);
|
||||
|
||||
/* Returns true if connection has timed out, false otherwise */
|
||||
bool timed_out(uint64_t timestamp, uint64_t timeout, uint64_t curtime);
|
||||
Reference in New Issue
Block a user