diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-20 14:43:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-20 14:43:28 +0100 |
commit | 00916c1794e6e07483d5875dbe143693a84f5bf6 (patch) | |
tree | a3c653f89b2dec52ca1096c004764e899fdf77c3 /src/libutil/map.h | |
parent | 5ac509220ed1874a7dd2fe244d1b8e6f39febf06 (diff) | |
download | rspamd-00916c1794e6e07483d5875dbe143693a84f5bf6.tar.gz rspamd-00916c1794e6e07483d5875dbe143693a84f5bf6.zip |
Rework maps to work with http client.
Diffstat (limited to 'src/libutil/map.h')
-rw-r--r-- | src/libutil/map.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/libutil/map.h b/src/libutil/map.h index 1b5c01f1e..c0f1adc2d 100644 --- a/src/libutil/map.h +++ b/src/libutil/map.h @@ -15,31 +15,6 @@ enum fetch_proto { MAP_PROTO_FILE, MAP_PROTO_HTTP, }; - -/** - * Data specific to file maps - */ -struct file_map_data { - const gchar *filename; - struct stat st; -}; - -/** - * Data specific to HTTP maps - */ -struct http_map_data { - struct addrinfo *addr; - guint16 port; - gchar *path; - gchar *host; - time_t last_checked; - gshort chunked; - gchar read_buf[BUFSIZ]; - guint32 rlen; - guint32 chunk; - guint32 chunk_remain; -}; - struct map_cb_data; /** |