author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 10 Apr 2008 11:58:35 +0000 (13:58 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 10 Apr 2008 11:58:35 +0000 (13:58 +0200) | ||
commit | 416e3311ea598cfc5f6506ac4e0c99aaae8b63fa | |
tree | b5bb21e63db977ee99137a6141dcdec8ac56c0e2 | tree | snapshot |
parent | e354a34c815a942b5c65cbd4844b6255a74b6323 | commit | diff |
teamspeak2 plugin: Code cleanup.
The changes include:
- Use the ``tss2_'' prefix for all functions.
- Manage the global connection in two central functions rather than distribute
connection handling all over the place.
- Handle ``global'' and ``per server'' statistics in one function.
- Using `getaddrinfo' rather than `inet_addr' to allow for IPv6 connections.
- Some formatting.
The changes include:
- Use the ``tss2_'' prefix for all functions.
- Manage the global connection in two central functions rather than distribute
connection handling all over the place.
- Handle ``global'' and ``per server'' statistics in one function.
- Using `getaddrinfo' rather than `inet_addr' to allow for IPv6 connections.
- Some formatting.
src/teamspeak2.c | diff | blob | history |