diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-06 10:57:30 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-01-06 10:57:30 +0000 |
commit | a399263875dca5b0f3dcb3fc5a36d838304d0358 (patch) | |
tree | 8c1f99afefa47811545baf77368eb0e0ad0349bb /navit/file.h | |
parent | 80ba9981103fcb0dbfd25d2f90efdae79d974ea1 (diff) | |
download | navit-a399263875dca5b0f3dcb3fc5a36d838304d0358.tar.gz |
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
Diffstat (limited to 'navit/file.h')
-rw-r--r-- | navit/file.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |