diff options
| author | erdgeist <> | 2007-03-06 19:43:47 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-03-06 19:43:47 +0000 |
| commit | 0a9021668658a2db0f52a3bcb062c74bd318ac8b (patch) | |
| tree | 73557a3215698d702582295ec309a434a061993b /trackerlogic.h | |
| parent | 175c37c3e89f179a3da82a66b06b931b24a52b98 (diff) | |
udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 5c83f63..360dacb 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
| @@ -94,12 +94,12 @@ extern int g_check_blacklist; | |||
| 94 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM }; | 94 | enum { STATS_MRTG, STATS_TOP5, STATS_DMEM }; |
| 95 | 95 | ||
| 96 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); | 96 | ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ); |
| 97 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply ); | 97 | size_t return_peers_for_torrent( ot_torrent *torrent, size_t amount, char *reply, int is_tcp ); |
| 98 | size_t return_fullscrape_for_tracker( char **reply ); | 98 | size_t return_fullscrape_for_tracker( char **reply ); |
| 99 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); | 99 | size_t return_scrape_for_torrent( ot_hash *hash, char *reply ); |
| 100 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); | 100 | size_t return_sync_for_torrent( ot_hash *hash, char **reply ); |
| 101 | size_t return_stats_for_tracker( char *reply, int mode ); | 101 | size_t return_stats_for_tracker( char *reply, int mode ); |
| 102 | size_t return_memstat_for_tracker( char **reply ); | 102 | size_t return_memstat_for_tracker( char **reply ); |
| 103 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); | 103 | void remove_peer_from_torrent( ot_hash *hash, ot_peer *peer ); |
| 104 | 104 | ||
| 105 | #endif | 105 | #endif |
