diff options
author | Eniz Vukovic <eniz_vukovic@hotmail.com> | 2015-10-10 23:54:23 +0200 |
---|---|---|
committer | Eniz Vukovic <eniz_vukovic@hotmail.com> | 2015-10-10 23:54:23 +0200 |
commit | d6fdf16520b6f242935ca95eeb739ec9a8eaa14c (patch) | |
tree | 069f3355835aa0497fe494c36554ea24d0b222f1 /toxcore/util.h | |
parent | bf5e9b89d2a67c293aae503c03e193307ea7990b (diff) |
New Adaptive BR algorithm, cleanups and fixes
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toxcore/util.h b/toxcore/util.h index 7670a80f..7cf63178 100644 --- a/toxcore/util.h +++ b/toxcore/util.h | |||
@@ -64,7 +64,9 @@ bool rb_full(const RingBuffer *b); | |||
64 | bool rb_empty(const RingBuffer *b); | 64 | bool rb_empty(const RingBuffer *b); |
65 | void* rb_write(RingBuffer* b, void* p); | 65 | void* rb_write(RingBuffer* b, void* p); |
66 | bool rb_read(RingBuffer* b, void** p); | 66 | bool rb_read(RingBuffer* b, void** p); |
67 | void rb_clear(RingBuffer *b); | ||
68 | RingBuffer *rb_new(int size); | 67 | RingBuffer *rb_new(int size); |
69 | void rb_free(RingBuffer *b); | 68 | void rb_kill(RingBuffer *b); |
69 | uint16_t rb_size(const RingBuffer *b); | ||
70 | uint16_t rb_data(const RingBuffer* b, void** dest); | ||
71 | |||
70 | #endif /* __UTIL_H__ */ | 72 | #endif /* __UTIL_H__ */ |