diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-02-06 22:43:48 +0100 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-02-06 22:43:48 +0100 |
| commit | 89a95cbdf5b4b0b8c82ca937156ba0db1205f73a (patch) | |
| tree | 7269fcc21cdbc79a23cb607a000ec428a5a60c8e /cli | |
| parent | a32db85e5921e7c5176d0e6ef8fa09f6843b95be (diff) | |
| download | btpd-89a95cbdf5b4b0b8c82ca937156ba0db1205f73a.tar.gz btpd-89a95cbdf5b4b0b8c82ca937156ba0db1205f73a.zip | |
Split peer information. Make id hash functions available.
struct peer is now peer and meta_peer. meta_peer can be used as a handle that won't be affected if a peer vanishes. The meta_peers are kept in a hash table to enable fast lookup by peer id.
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions