From 42eddac0e9f0216175fef223fd9b1023ed502a6e Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Tue, 12 Apr 2011 10:54:29 +0000 Subject: some quite significant changes to only receive/update recently-active torrents, if enabled. also use a hash table and tree row references for lookup. hopefully performance will be much better for people with large number of torrents. --- src/torrent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/torrent.h') diff --git a/src/torrent.h b/src/torrent.h index 248e0d4..3376dd2 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -74,5 +74,6 @@ gint64 torrent_get_peer_limit(JsonObject * t); gboolean torrent_has_tracker(JsonObject * t, GRegex * rx, gchar * search); JsonArray *get_torrents(JsonObject * response); +JsonArray *get_torrents_removed(JsonObject *response); #endif /* TORRENT_H_ */ -- cgit v1.2.3