summaryrefslogtreecommitdiff
path: root/toxcore/list.h
AgeCommit message (Collapse)Author
2020-05-02Add a check that we don't have any unused functions.iphydf
This check puts all of our code in a C++ anonymous namespace, which is effectively making all functions `static`. This allows the compiler to determine that a function is unused, so we can delete it.
2020-03-14Use spdx license identifier instead of GPL blurb.iphydf
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-08-26Update copyright to 2018.iphydf
2018-07-12Fix style in some header files.iphydf
* Enums must by typedef'd. * Comments at end of `#define` must be `//` comments. * Typedef structs must not be anonymous. * `;` at the end of a `#define` is invalid. * Callback typedefs must list their parameter names. * No nested structs. * No inline use of function pointer types. Only typedef'd callback types are allowed. * Enum types are spelled in Camelsnake_Case. * The argument to `#error` must be a string literal.
2018-07-08Rename `BS_LIST` to `BS_List` to follow the naming conventions.iphydf
`BS_LIST` would be a constant. `BS_List` is a type name.
2018-05-20Move system header includes from network.h to network.ciphydf
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2016-09-01Sort #includes in all source files.iphydf
2015-05-01Fixed some non standard C.irungentoo
Replaced void * with uint8_t * in list.c
2014-06-20Reduced number of realloc calls bs_list doesMaxim Biro
2014-06-10Astyle and fixes.irungentoo
2014-06-10Const correctness in toxcore/list.cMarc Schütz
2014-06-06Renamed list functions to fix conflict issue on certain machines.irungentoo
2014-05-20use LIST in TCP_servernotsecure
2014-05-20list takes data to remove fasternotsecure
2014-05-19style, failure check on reallocnotsecure
2014-05-19listnotsecure
Simple struct with functions to create a list which associates ids with data