summaryrefslogtreecommitdiffstats
path: root/src/blob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.h')
-rw-r--r--src/blob.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blob.h b/src/blob.h
index 1fcaec0..971ce61 100644
--- a/src/blob.h
+++ b/src/blob.h
@@ -3,6 +3,8 @@
#include <string.h>
+struct in_addr;
+
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ < 96
@@ -56,6 +58,7 @@ int blob_pull_matching(blob_t *b, blob_t e);
unsigned int blob_pull_uint(blob_t *b, int radix);
blob_t blob_pull_spn(blob_t *b, const blob_t spn);
blob_t blob_pull_cspn(blob_t *b, const blob_t cspn);
+int blob_pull_inet_addr(blob_t *b, struct in_addr *saddr);
blob_t blob_expand_head(blob_t *b, blob_t limits, unsigned char sep);
blob_t blob_expand_tail(blob_t *b, blob_t limits, unsigned char sep);