diff options
author | erdgeist <> | 2007-02-01 13:51:40 +0000 |
---|---|---|
committer | erdgeist <> | 2007-02-01 13:51:40 +0000 |
commit | f9c49e9759e279408b1928dc681cc9d6a91778e5 (patch) | |
tree | ddb056a84456600e7a2e8b330f0c1c98eb2d7aa3 /trackerlogic.h | |
parent | 62c59983cb3122ec20183efb27b1a9e9e454971d (diff) |
el cheapo vector debugging
Diffstat (limited to 'trackerlogic.h')
-rw-r--r-- | trackerlogic.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 9a6f33c..c85c520 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
@@ -88,7 +88,7 @@ extern int g_closedtracker; | |||
88 | extern int g_check_blacklist; | 88 | extern int g_check_blacklist; |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | enum { STATS_MRTG, STATS_TOP5 }; | 91 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM }; |
92 | 92 | ||
93 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 93 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); |
94 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply ); | 94 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply ); |
@@ -96,6 +96,7 @@ size_t return_fullscrape_for_tracker( char **reply ); | |||
96 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); | 96 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); |
97 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); | 97 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); |
98 | size_t return_stats_for_tracker( char *reply, int mode ); | 98 | size_t return_stats_for_tracker( char *reply, int mode ); |
99 | size_t return_memstat_for_tracker( char **reply ); | ||
99 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); | 100 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); |
100 | 101 | ||
101 | #endif | 102 | #endif |