summaryrefslogtreecommitdiffstats
path: root/blob.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-19 13:40:31 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-19 13:40:31 +0300
commit2c4ddb6620101ebad2bff0c007a99aea97a15de1 (patch)
tree7c91a5a2eb874edddc26fdc468d5706789c2f831 /blob.h
parent2e58fc0a7a69ecbe4a48b296bcf6313825fcfa7c (diff)
downloadsquark-2c4ddb6620101ebad2bff0c007a99aea97a15de1.tar.bz2
squark-2c4ddb6620101ebad2bff0c007a99aea97a15de1.tar.xz
filter: properly filter ipv4 address form urls
properly match them against db data.
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 cfd8cd5..d1ef577 100644
--- a/blob.h
+++ b/blob.h
@@ -38,6 +38,8 @@ static inline int blob_is_null(blob_t b)
char *blob_cstr_dup(blob_t b);
blob_t blob_dup(blob_t b);
int blob_cmp(blob_t a, blob_t b);
+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_uint(blob_t *to, unsigned int value, int radix);