From a399263875dca5b0f3dcb3fc5a36d838304d0358 Mon Sep 17 00:00:00 2001 From: martin-s Date: Thu, 6 Jan 2011 10:57:30 +0000 Subject: Add:map_binfile:Redirects for map download git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3870 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/file.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'navit/file.h') diff --git a/navit/file.h b/navit/file.h index be5278a91..6a037fa5a 100644 --- a/navit/file.h +++ b/navit/file.h @@ -56,9 +56,12 @@ struct file { int requests; unsigned char *buffer; int buffer_len; + GHashTable *headers; }; /* prototypes */ +int file_request(struct file *f, struct attr **options); +char *file_http_header(struct file *f, char *header); struct file *file_create(char *name, struct attr **options); int file_is_dir(char *name); long long file_size(struct file *file); -- cgit v1.2.1