51#if defined(_WIN32) || defined(__CEGCC__)
void file_destroy(struct file *f)
Definition file.c:707
unsigned char * file_data_read_all(struct file *file)
Definition file.c:436
int file_set_cache_size(int cache_size)
Definition file.c:796
char * file_readdir(void *hnd)
Definition file.c:636
void file_closedir(void *hnd)
Definition file.c:657
char ** file_wordexp_get_array(struct file_wordexp *wexp)
Definition file.c:748
int file_is_reg(const char *name)
Check if a given path corresponds to a regular file.
Definition file.c:264
void file_fsync(struct file *f)
Definition file.c:701
int file_wordexp_get_count(struct file_wordexp *wexp)
Definition file.c:742
int file_get_contents(char *name, unsigned char **buffer, int *size)
Definition file.c:458
int file_data_write(struct file *file, long long offset, int size, const void *data)
Definition file.c:448
int file_get_param(struct file *file, struct param_list *param, int count)
void * file_opendir(char *dir)
Definition file.c:620
int file_exists(char const *name)
Definition file.c:593
unsigned char * file_data_read(struct file *file, long long offset, int size)
Definition file.c:329
int file_version(struct file *file, int byname)
Definition file.c:761
int file_mmap(struct file *file)
Definition file.c:306
void file_data_flush(struct file *file, long long offset, int size)
Definition file.c:440
void file_data_remove(struct file *file, unsigned char *data)
Definition file.c:580
int file_request(struct file *f, struct attr **options)
Definition file.c:177
struct file_wordexp * file_wordexp_new(const char *pattern)
Definition file.c:732
void file_wordexp_destroy(struct file_wordexp *wexp)
Definition file.c:754
struct file * file_create_caseinsensitive(char *name, struct attr **options)
Definition file.c:666
long long file_size(struct file *file)
Definition file.c:272
void file_init(void)
Definition file.c:805
void file_deinit(void)
Definition file.c:814
int file_is_dir(const char *name)
Check if a given path corresponds to a directory.
Definition file.c:250
void * file_get_os_handle(struct file *file)
Definition file.c:792
int file_mkdir(char *name, int pflag)
Definition file.c:276
void file_remap_readonly(struct file *f)
Definition file.c:600
void file_unmap(struct file *f)
Definition file.c:611
unsigned char * file_data_read_method(struct file *file, long long offset, int size, int size_uncomp, int method)
Definition file.c:515
struct file * file_create(char *name, struct attr **options)
Definition file.c:191
char * file_http_header(struct file *f, char *header)
Definition file.c:185
unsigned char * file_data_read_special(struct file *file, int size, int *size_ret)
Definition file.c:389
void file_data_free(struct file *file, unsigned char *data)
Definition file.c:567
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
char * pattern
Definition file.c:728
int buffer_len
Definition file.h:60
int cache
Definition file.h:57
unsigned char * end
Definition file.h:41
int name_id
Definition file.h:44
struct file * next
Definition file.h:39
unsigned char * mmap_end
Definition file.h:42
time_t mtime
Definition file.h:47
int special
Definition file.h:56
unsigned char * begin
Definition file.h:40
GHashTable * headers
Definition file.h:61
char * name
Definition file.h:55
long long size
Definition file.h:43
int fd
Definition file.h:45
int version
Definition file.h:49
unsigned char * buffer
Definition file.h:59
time_t ctime
Definition file.h:48
FILE * f
Definition garmin_img.c:37
int requests
Definition file.h:58