diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-02-19 19:02:48 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-02-19 19:02:48 +0000 |
commit | 5403a5be85b5b8a207a704a5298c7f76d8312d0e (patch) | |
tree | 087ba7abbcf84ed12141b49373a56e9d253266eb /src/session-get.h | |
parent | f827028d29f6e463c8aeaa329603047d3ac80da1 (diff) |
reannounce, blocklist enable/url/update
Diffstat (limited to 'src/session-get.h')
-rw-r--r-- | src/session-get.h | 4 |
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); |