toxcore/toxav
iphydf beeb9b4335
Style fixes in TCP code; remove MIN and PAIR from util.h.
* Moved PAIR to toxav, where it's used (but really this should die).
* Replace most MIN calls with typed `min_*` calls. Didn't replace the
  ones where the desired semantics are unclear. Moved the MIN macro to
  the one place where it's still used.
* Avoid assignments in `while` loops. Instead, factored out the loop body
  into a separate `bool`-returning function.
* Use named types for callbacks (`_cb` types).
* Avoid assignments in `if` conditions.
* Removed `MAKE_REALLOC` and expanded its two calls. We can't have
  templates in C, and this fake templating is ugly and hard to analyse
  and debug (it expands on a single line).
* Moved epoll system include to the .c file, out of the .h file.
* Avoid assignments in expressions (`a = b = c;`).
* Avoid multiple declarators per struct member declaration.
* Fix naming inconsistencies.
* Replace `net_to_host` macro with function.
2018-07-12 20:21:42 +00:00
..
audio.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
audio.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
BUILD.bazel Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
bwcontroller.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
bwcontroller.h Improve video key frame sending. 2018-02-11 23:31:46 +00:00
groupav.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
groupav.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
Makefile.inc Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
msi.c Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
msi.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
pair.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
ring_buffer_test.cc Add some tests for our ring_buffer implementation. 2018-07-04 10:37:46 +00:00
ring_buffer.c Use nullptr as NULL pointer constant instead of NULL or 0. 2018-01-30 23:35:50 +00:00
ring_buffer.h Add some tests for our ring_buffer implementation. 2018-07-04 10:37:46 +00:00
rtp_test.cc Use clang-format for C++ code. 2018-06-24 20:17:53 +00:00
rtp.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
rtp.h Add Logger to various net_crypto functions. 2018-06-24 19:17:32 +00:00
toxav_old.c make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
toxav.api.h make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
toxav.c Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00
toxav.h make groupnumber uint32_t 2018-02-20 20:58:54 +01:00
video.c Factor out time keeping code into its own module: mono_time.c. 2018-07-09 21:04:50 +00:00
video.h Style fixes in TCP code; remove MIN and PAIR from util.h. 2018-07-12 20:21:42 +00:00