summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2007-02-01 13:51:40 +0000
committererdgeist <>2007-02-01 13:51:40 +0000
commitf9c49e9759e279408b1928dc681cc9d6a91778e5 (patch)
treeddb056a84456600e7a2e8b330f0c1c98eb2d7aa3 /trackerlogic.h
parent62c59983cb3122ec20183efb27b1a9e9e454971d (diff)
el cheapo vector debugging
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h3
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;
88extern int g_check_blacklist; 88extern int g_check_blacklist;
89#endif 89#endif
90 90
91enum { STATS_MRTG, STATS_TOP5 }; 91enum { STATS_MRTG, STATS_TOP5, STATS_DMEM };
92 92
93ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); 93ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer );
94size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply ); 94size_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 );
96size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); 96size_t return_scrape_for_torrent( ot_hash *hash, char *reply );
97size_t return_sync_for_torrent( ot_hash *hash, char **reply ); 97size_t return_sync_for_torrent( ot_hash *hash, char **reply );
98size_t return_stats_for_tracker( char *reply, int mode ); 98size_t return_stats_for_tracker( char *reply, int mode );
99size_t return_memstat_for_tracker( char **reply );
99void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); 100void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer );
100 101
101#endif 102#endif