diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-22 12:31:19 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-22 12:31:19 +0000 |
commit | de64370f37fec746d007990036b99f5cd1ef2b86 (patch) | |
tree | 5970bcf1f02569b4b5efc0f61c7acfeb1a6968aa /navit/file.h | |
parent | 39f48e22b4bf5a9167dc9aafbf263ef86a293adc (diff) | |
download | navit-svn-de64370f37fec746d007990036b99f5cd1ef2b86.tar.gz |
Add:Core:Map encryption support
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3188 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.h')
-rw-r--r-- | navit/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/file.h b/navit/file.h index 00533add..fde1aba3 100644 --- a/navit/file.h +++ b/navit/file.h @@ -68,6 +68,7 @@ unsigned char *file_data_read_all(struct file *file); int file_data_write(struct file *file, long long offset, int size, unsigned char *data); int file_get_contents(char *name, unsigned char **buffer, int *size); unsigned char *file_data_read_compressed(struct file *file, long long offset, int size, int size_uncomp); +unsigned char *file_data_read_encrypted(struct file *file, long long offset, int size, int size_uncomp, int compressed, char *passwd); void file_data_free(struct file *file, unsigned char *data); int file_exists(char *name); void file_remap_readonly(struct file *f); |