store messenger when friends are added
fix memory leak
Merge commit 'a8d1f86f8ba9b39c8f913bce99a2282d81235cc9'
populate friends in toxic on startup
fixed calculation of messenger size (no spam was not accounted for)
C99 fix
Added logo in readme to repo.
Logo is now hosted on the repo.
Fix for another segfault/leak case when using -f arg
Merge pull request #466 from naxuroqa/master

Fix for another segfault/leak case when using -f arg
small bug fixes
Merge pull request #467 from JFreegman/master

small bug fixes for toxic
Metadata collection prevention part 1 of ???.

Crypto requests packets are packets that can be routed by nodes in the
DHT. In this pull request I have merged both Natping requests and friend
requests into one common packet (Crypto request packets). Both these
packets should now only be distinguishable by the size of the data in
them to an outside observer for an example on how to send and recieve
data with these packets see: friend_requests.c

Note that these packets are prefixed with id 32 (friend request packets)
which means this change is compatible with the currently running DHT
bootstrap servers.

Also changed small thing in DHT_test.c
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
refresh windows after resize
move client data struct to header file
provide access to the close client list
add dhtstatus file
add dhtstatus window
core,nTox,toxic - Fix for Issue #453. Refactoring w/astyle.

This commit introduces a few things. Basically I didn't like the fact that
although we had a coding style document, no one was following it. See
https://github.com/irungentoo/ProjectTox-Core/issues/453 for more info regarding
that. This commit just marks the first of my efforts to refactor the code base
according to the posted coding style document by introducing an astylerc and a
optional git pre-commit hook.

I propose that users can add this functionality as a  pre-commit hook. More
info is in the README file.

However, this has only been tested on Linux and I imagine should work on OSX as
well. I don't think pre-commit hooks work on Windows, but I may be mistaken.

The future commits I plan are refactoring the source files for other offending
items such as using typedefs. See http://wiki.tox.im/index.php/Coding_Style.