Added a linked list implementation.
Added ERROR() and WARNING() for debugging.
Merge pull request #362 from KostyaKow/master

Added linked list and stuff for debugging.
Small bug fixed.
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
code format/clean up
Merge pull request #363 from JFreegman/master

code format/clean up
Added a linked list implementation.
Added ERROR() and WARNING() for debugging.
Fix bug where we could run past the end of the friends list
Fix segfault when no broadcast device is found
Fix bug where file handle wasn't closed on success
Merge remote-tracking branch 'upstream/master'
Merge pull request #366 from nickodell/master

Misc bugfixes