From a1433a45c470950b3f03541257ef54c4bb48d449 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Thu, 10 Mar 2011 14:57:38 +0000 Subject: 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. --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 3b63163..6d9e62c 100644 --- a/src/util.h +++ b/src/util.h @@ -36,6 +36,9 @@ #define MEGABYTE_FACTOR ( 1024.0 * 1024.0 ) #define GIGABYTE_FACTOR ( 1024.0 * 1024.0 * 1024.0 ) +GRegex *trg_uri_host_regex_new(void); +gchar *trg_uri_host_extract(GRegex *rx, const gchar *uri); + char *tr_strltime_long(char *buf, gint64 seconds, size_t buflen); char *tr_strltime_short(char *buf, gint64 seconds, size_t buflen); char *tr_strpercent(char *buf, double x, size_t buflen); -- cgit v1.2.3