From 2c4ddb6620101ebad2bff0c007a99aea97a15de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 19 Aug 2010 13:40:31 +0300 Subject: filter: properly filter ipv4 address form urls properly match them against db data. --- blob.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'blob.h') 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); -- cgit v1.2.3