49 #if defined(_WIN32) || defined(__CEGCC__)
unsigned char * file_data_read(struct file *file, long long offset, int size)
Definition: file.c:319
void file_destroy(struct file *f)
Definition: file.c:662
int file_set_cache_size(int cache_size)
Definition: file.c:753
struct file * file_create(char *name, struct attr **options)
Definition: file.c:182
unsigned char * file_data_read_special(struct file *file, int size, int *size_ret)
Definition: file.c:380
void file_closedir(void *hnd)
Definition: file.c:611
int file_is_reg(const char *name)
Check if a given path corresponds to a regular file.
Definition: file.c:254
void file_fsync(struct file *f)
Definition: file.c:656
struct file * file_create_caseinsensitive(char *name, struct attr **options)
Definition: file.c:621
int file_wordexp_get_count(struct file_wordexp *wexp)
Definition: file.c:698
int file_get_contents(char *name, unsigned char **buffer, int *size)
Definition: file.c:449
int file_data_write(struct file *file, long long offset, int size, const void *data)
Definition: file.c:439
int file_get_param(struct file *file, struct param_list *param, int count)
int file_exists(char const *name)
Definition: file.c:547
void * file_opendir(char *dir)
Definition: file.c:574
struct file_wordexp * file_wordexp_new(const char *pattern)
Definition: file.c:688
int file_version(struct file *file, int byname)
Definition: file.c:718
int file_mmap(struct file *file)
Definition: file.c:296
void file_data_flush(struct file *file, long long offset, int size)
Definition: file.c:431
char * file_http_header(struct file *f, char *header)
Definition: file.c:175
void file_data_remove(struct file *file, unsigned char *data)
Definition: file.c:534
void * file_get_os_handle(struct file *file)
Definition: file.c:749
int file_request(struct file *f, struct attr **options)
Definition: file.c:167
void file_wordexp_destroy(struct file_wordexp *wexp)
Definition: file.c:710
long long file_size(struct file *file)
Definition: file.c:262
char * file_readdir(void *hnd)
Definition: file.c:590
char ** file_wordexp_get_array(struct file_wordexp *wexp)
Definition: file.c:704
void file_init(void)
Definition: file.c:762
int file_is_dir(const char *name)
Check if a given path corresponds to a directory.
Definition: file.c:239
int file_mkdir(char *name, int pflag)
Definition: file.c:266
unsigned char * file_data_read_all(struct file *file)
Definition: file.c:427
void file_remap_readonly(struct file *f)
Definition: file.c:554
unsigned char * file_data_read_compressed(struct file *file, long long offset, int size, int size_uncomp)
Definition: file.c:490
void file_unmap(struct file *f)
Definition: file.c:565
void file_data_free(struct file *file, unsigned char *data)
Definition: file.c:521
char data
Definition: garmin_img.c:2
int size
Definition: garmin_img.c:3
int offset
Definition: garmin_img.c:0
char name[0]
Definition: street.c:3
Definition: maptool.h:169
char * pattern
Definition: file.c:683
int buffer_len
Definition: file.h:58
int cache
Definition: file.h:55
unsigned char * end
Definition: file.h:39
int name_id
Definition: file.h:42
struct file * next
Definition: file.h:37
unsigned char * mmap_end
Definition: file.h:40
time_t mtime
Definition: file.h:45
int special
Definition: file.h:54
unsigned char * begin
Definition: file.h:38
GHashTable * headers
Definition: file.h:59
char * name
Definition: file.h:53
long long size
Definition: file.h:41
int fd
Definition: file.h:43
int version
Definition: file.h:47
unsigned char * buffer
Definition: file.h:57
time_t ctime
Definition: file.h:46
FILE * f
Definition: garmin_img.c:40
int requests
Definition: file.h:56