summaryrefslogtreecommitdiff
path: root/src/session-get.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-19 19:02:48 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-19 19:02:48 +0000
commit5403a5be85b5b8a207a704a5298c7f76d8312d0e (patch)
tree087ba7abbcf84ed12141b49373a56e9d253266eb /src/session-get.h
parentf827028d29f6e463c8aeaa329603047d3ac80da1 (diff)
reannounce, blocklist enable/url/update
Diffstat (limited to 'src/session-get.h')
-rw-r--r--src/session-get.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session-get.h b/src/session-get.h
index eefaa48..c49cadd 100644
--- a/src/session-get.h
+++ b/src/session-get.h
@@ -58,6 +58,9 @@
#define SGET_CACHE_SIZE_MB "cache-size-mb"
#define SGET_SCRIPT_TORRENT_DONE_FILENAME "script-torrent-done-filename"
#define SGET_SCRIPT_TORRENT_DONE_ENABLED "script-torrent-done-enabled"
+#define SGET_BLOCKLIST_URL "blocklist-url"
+#define SGET_BLOCKLIST_ENABLED "blocklist-enabled"
+#define SGET_BLOCKLIST_SIZE "blocklist-size"
const gchar *session_get_torrent_done_filename(JsonObject * s);
gboolean session_get_torrent_done_enabled(JsonObject * s);
@@ -73,6 +76,7 @@ gint64 session_get_peer_limit_per_torrent(JsonObject * s);
gboolean session_get_port_forwarding_enabled(JsonObject * s);
const gchar *session_get_blocklist_url(JsonObject * s);
gboolean session_get_blocklist_enabled(JsonObject * s);
+gint64 session_get_blocklist_size(JsonObject * s);
gboolean session_get_rename_partial_files(JsonObject * s);
const gchar *session_get_encryption(JsonObject * s);
const gchar *session_get_incomplete_dir(JsonObject * s);