Back to index

avfs  1.0.1
zfile.h
Go to the documentation of this file.
00001 /*
00002     AVFS: A Virtual File System Library
00003     Copyright (C) 2000-2001  Miklos Szeredi <miklos@szeredi.hu>
00004 
00005     This program can be distributed under the terms of the GNU GPL.
00006     See the file COPYING.
00007 */
00008 
00009 
00010 #include "avfs.h"
00011 
00012 struct zfile;
00013 struct zcache;
00014 
00015 avssize_t av_zfile_pread(struct zfile *fil, struct zcache *zc, char *buf,
00016                          avsize_t nbyte, avoff_t offset);
00017 int av_zfile_size(struct zfile *fil, struct zcache *zc, avoff_t *sizep);
00018 
00019 struct zfile *av_zfile_new(vfile *vf, avoff_t dataoff, avuint crc, int calccrc);
00020 struct zcache *av_zcache_new();
00021 avoff_t av_zcache_size(struct zcache *zc);