From 070688006ac7cea1639f38c0bb270c191f7dc38f Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 8 Apr 2011 14:24:25 +0000 Subject: a torrent add dialog based off Transmission GTK (different bencode+action implementation) which allows you to set file priorities, torrent priority, directory in advance. probably needs a little more work. --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index a3b2053..73938b5 100644 --- a/src/util.h +++ b/src/util.h @@ -37,6 +37,8 @@ #define MEGABYTE_FACTOR ( 1024.0 * 1024.0 ) #define GIGABYTE_FACTOR ( 1024.0 * 1024.0 * 1024.0 ) +void add_file_id_to_array(JsonObject * args, gchar * key, gint index); +void g_str_slist_free(GSList * list); GRegex *trg_uri_host_regex_new(void); gchar *trg_gregex_get_first(GRegex * rx, const gchar * uri); gboolean gconf_client_get_bool_or_true(GConfClient * gconf, gchar * key); -- cgit v1.2.3