Lines Matching defs:open_file
39 struct open_file {
64 static int bzf_open(const char *path, struct open_file *f);
65 static int bzf_close(struct open_file *f);
66 static int bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid);
67 static off_t bzf_seek(struct open_file *f, off_t offset, int where);
68 static int bzf_stat(struct open_file *f, struct stat *sb);
149 bzf_open(const char *fname, struct open_file *f)
218 bzf_close(struct open_file *f)
229 bzf_read(struct open_file *f, void *buf, size_t size, size_t *resid)
265 bzf_rewind(struct open_file *f)
309 bzf_seek(struct open_file *f, off_t offset, int where)
348 bzf_stat(struct open_file *f, struct stat *sb)
369 struct open_file f;