toxcore/testing
iphydf 8739f7fccb
Make tox.c unambiguously parseable.
Rules:
1. Constants are uppercase names: THE_CONSTANT.
2. SUE[1] types start with an uppercase letter and have at least one
   lowercase letter in it: The_Type, THE_Type.
3. Function types end in "_cb": tox_friend_connection_cb.
4. Variable and function names are all lowercase: the_function.

This makes it easier for humans reading the code to determine what an
identifier means. I'm not convinced by the enum type name change, but I
don't know a better rule. Currently, a lot of enum types are spelled like
constants, which is confusing.

[1] struct/union/enum
2018-07-05 23:09:28 +00:00
..
av_test.c Improve network error reporting on Windows 2018-04-17 19:07:50 -04:00
BUILD.bazel Remove broken conference tests. 2018-06-29 18:25:44 +00:00
DHT_test.c Make tox.c unambiguously parseable. 2018-07-05 23:09:28 +00:00
Makefile.inc Move tox_shell program to the toxins repository. 2018-02-06 13:06:22 +00:00
Messenger_test.c Make tox.c unambiguously parseable. 2018-07-05 23:09:28 +00:00
misc_tools.c Remove the use of the 'hh' format specifier. 2018-03-16 01:57:26 +00:00
random_testing.cc Add #include <cstdio> for std::printf. 2018-07-04 14:21:12 +00:00