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 | 5e5858f114918aa684fff6256c4c949e822635dd (patch) | |
tree | 5970bcf1f02569b4b5efc0f61c7acfeb1a6968aa /navit/file.h | |
parent | 72822d63ff76a24a026d7e49a1852a2a950c4f4a (diff) | |
download | navit-5e5858f114918aa684fff6256c4c949e822635dd.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 00533add8..fde1aba34 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); |