From 82662d4e16937997c36d2090a17c3b2389fa4ad5 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Mon, 5 Feb 2018 21:07:26 +0100 Subject: Make outgoing Filetransfers round-robin. Instead of 1 FT blocking all others. --- toxcore/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toxcore/util.h') diff --git a/toxcore/util.h b/toxcore/util.h index 8c86158b..a9faa863 100644 --- a/toxcore/util.h +++ b/toxcore/util.h @@ -65,6 +65,9 @@ int load_state(load_state_callback_func load_state_callback, Logger *log, void * /* Returns -1 if failed or 0 if success */ int create_recursive_mutex(pthread_mutex_t *mutex); +int32_t max_s32(int32_t a, int32_t b); +uint64_t min_u64(uint64_t a, uint64_t b); + #ifdef __cplusplus } // extern "C" #endif -- cgit v1.2.3