summaryrefslogtreecommitdiff
path: root/ot_accesslist.h
diff options
context:
space:
mode:
authorerdgeist <>2009-03-04 14:35:21 +0000
committererdgeist <>2009-03-04 14:35:21 +0000
commit9297967f8523f1ac22bbac1823529b970a07cf56 (patch)
tree0a6bc2a2d3ac9d38e53079040c7057c779e30f15 /ot_accesslist.h
parent72a1564ca14392cc2e1d044554c6e86a0eda9409 (diff)
Add a stat option the count bucket stalls
Add an iterator for all torrents. It's slower but for stats it's okay. Move some stats collection stuff to the new iterator. More to come. Start a "report all stats" page. Start fixing the code to identify "busy" networks. Add the concept of hosts allowed to proxy. Add a parser for the X-Forwarded-For: HTTP header. Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
Diffstat (limited to 'ot_accesslist.h')
-rw-r--r--ot_accesslist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h
index 836a233..5954a4a 100644
--- a/ot_accesslist.h
+++ b/ot_accesslist.h
@@ -27,7 +27,8 @@ extern char *g_accesslist_filename;
27typedef enum { 27typedef enum {
28 OT_PERMISSION_MAY_FULLSCRAPE = 0x1, 28 OT_PERMISSION_MAY_FULLSCRAPE = 0x1,
29 OT_PERMISSION_MAY_STAT = 0x2, 29 OT_PERMISSION_MAY_STAT = 0x2,
30 OT_PERMISSION_MAY_LIVESYNC = 0x4 30 OT_PERMISSION_MAY_LIVESYNC = 0x4,
31 OT_PERMISSION_MAY_PROXY = 0x8
31} ot_permissions; 32} ot_permissions;
32 33
33int accesslist_blessip( ot_ip6 ip, ot_permissions permissions ); 34int accesslist_blessip( ot_ip6 ip, ot_permissions permissions );