summaryrefslogtreecommitdiffstats
path: root/blob.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-19 14:25:00 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-19 14:25:00 +0300
commitd4c65ad0235bc8c964d9376410e517c748add147 (patch)
tree2c68b5ec1fe298a776ce32bfbb6702ed8a73c41b /blob.h
parent2c4ddb6620101ebad2bff0c007a99aea97a15de1 (diff)
downloadsquark-d4c65ad0235bc8c964d9376410e517c748add147.tar.bz2
squark-d4c65ad0235bc8c964d9376410e517c748add147.tar.xz
filter: url encoding of block script parameters
and pass the denied url too.
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blob.h b/blob.h
index d1ef577..f5c57eb 100644
--- a/blob.h
+++ b/blob.h
@@ -42,9 +42,11 @@ unsigned long blob_inet_addr(blob_t buf);
blob_t blob_pushed(blob_t buffer, blob_t left);
void blob_push(blob_t *b, blob_t d);
+void blob_push_byte(blob_t *b, unsigned char byte);
void blob_push_uint(blob_t *to, unsigned int value, int radix);
void blob_push_hexdump(blob_t *to, blob_t binary);
void blob_push_urldecode(blob_t *to, blob_t url);
+void blob_push_urlencode(blob_t *to, blob_t url);
blob_t blob_pull(blob_t *b, int len);
void blob_pull_skip(blob_t *b, int len);
int blob_pull_matching(blob_t *b, blob_t e);