diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-03-10 14:57:38 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-03-10 14:57:38 +0000 |
commit | a1433a45c470950b3f03541257ef54c4bb48d449 (patch) | |
tree | 9e285c6bf2d0508f10b0ada60761f1bee2eb98f8 /src/torrent.h | |
parent | ce795861eeb1893e40e4476fea71986450658948 (diff) |
Korean support, thanks Youn! Also filter by tracker. Adding/removing trackers from the state selector every update seems like a waste of cycles, so only refresh when a torrent is added.
Diffstat (limited to 'src/torrent.h')
-rw-r--r-- | src/torrent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/torrent.h b/src/torrent.h index 16102e4..226cd4e 100644 --- a/src/torrent.h +++ b/src/torrent.h @@ -68,6 +68,7 @@ gboolean torrent_get_download_limited(JsonObject * t); gdouble torrent_get_seed_ratio_limit(JsonObject * t); gint64 torrent_get_seed_ratio_mode(JsonObject * t); gint64 torrent_get_peer_limit(JsonObject * t); +gboolean torrent_has_tracker(JsonObject *t, GRegex *rx, gchar *search); JsonArray *get_torrents(JsonObject * response); |