summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
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