Significantly trimmed down version of an ID<=>IP cache.
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
Assoc's array is now allocated dynamically and per default much smaller (320 entries).
id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct.
Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision.
Fleshed out test to be at least elementary useful.
Each group chat now uses an own, small assoc (80 entries).
Merge pull request #650 from FullName/ID-IP-basic

Significantly trimmed down version of an ID<=>IP cache.
Added functions tox_count_chatlist and tox_copy_chatlist.

These functions are akin to the tox_count_friendlist and tox_copy_friendlist, made available on the public API.
Fixed a few typos.
Fixed possible issue.
Fix instructions

sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf doesn't work so well... echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf should work better.
Merge pull request #657 from fr0stycl34r/patch-1

Fix instructions
Added null check to each chat before incrementing.
Fixed a cuple stylistic bugs. Behaviour should be the same but the code is now proper. Also fixed tox_copy_friendlist.
Merge pull request #656 from Jman012/master

Added functions tox_count_chatlist and tox_copy_chatlist.
No one actually gives a shit about seeing this, so lets actually be able to see useful stuff
Fixed that
Fixed "'"
echo is useless
Merge pull request #659 from stqism/master

De-clusterfucks travis logs.
Group chat peers now tell others when they quit.

Also increased ping timeout.
Speed up group chat bootstrapping by a bit.
Added function to get the number of peers and list of names for group chats.
Added callback that tells you when the peer name list of a group chat changes.