toxcore/toxav
iphydf 475f01bc1a
Fix style in toxav.c.
* Use Camel_Snake_Case for type names.
* Use at least 4 characters for constant names. I.e. `END` is a type
  name, but `RETURN` is a constant name. This is because `DHT` is a type
  name (yay consistency).
* Using `min_*` functions instead of MIN, we can avoid a cast.
* Use `for`-loops for for-each-frame semantics instead of `while`.
* Don't use assignments as expressions.
* `++i` instead of `i++`.
* Function pointers are dereferenced automatically, so no need to
  manually do so.
* Avoid void pointers that lie about not being spaghetti code. Toxcore
  and toxav are both spaghetti and shouldn't pretend anything else.
* Don't use empty statements (e.g. no `;;` anywhere in the code).
2018-08-14 21:59:27 +00:00
..
audio.c Fix enumerator names to comply with toxcore naming standards. 2018-08-12 20:07:18 +00:00
audio.h Avoid forward declaration of rtp structs. 2018-08-12 19:54:27 +00:00
BUILD.bazel Fix ToxAv's use of struct Tox. 2018-08-13 22:11:48 +00:00
bwcontroller.c Fix style in bwcontroller module. 2018-08-12 18:26:31 +00:00
bwcontroller.h Fix style in bwcontroller module. 2018-08-12 18:26:31 +00:00
groupav.c Fix ToxAv's use of struct Tox. 2018-08-13 22:11:48 +00:00
groupav.h Fix ToxAv's use of struct Tox. 2018-08-13 22:11:48 +00:00
Makefile.inc Remove all uses of the PAIR macro in toxav. 2018-08-12 11:38:23 +00:00
msi.c Fix style in msi.c. 2018-08-12 21:27:53 +00:00
msi.h Fix style in msi.c. 2018-08-12 21:27:53 +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 Fix coding style in rtp module. 2018-08-12 23:32:59 +00:00
rtp.h Fix coding style in rtp module. 2018-08-12 23:32:59 +00:00
toxav_old.c Fix ToxAv's use of struct Tox. 2018-08-13 22:11:48 +00:00
toxav.api.h Fix style in toxav.c. 2018-08-14 21:59:27 +00:00
toxav.c Fix style in toxav.c. 2018-08-14 21:59:27 +00:00
toxav.h Fix style in toxav.c. 2018-08-14 21:59:27 +00:00
video.c Fix style in video.c. 2018-08-13 21:40:05 +00:00
video.h Avoid forward declaration of rtp structs. 2018-08-12 19:54:27 +00:00