Back to index

avfs  1.0.1
archint.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 #include "archive.h"
00010 
00011 #define ARCHF_READY  (1 << 0)
00012 
00013 struct archive {
00014     int flags;
00015     avmutex lock;
00016     struct namespace *ns;
00017     struct avstat st;
00018     unsigned int numread;
00019     vfile *basefile;
00020     struct avfs *avfs;
00021 };
00022 
00023 struct archent {
00024     struct archive *arch;
00025     struct entry *ent;
00026 };
00027 
00028 struct archnode *av_arch_default_dir(struct archive *arch, struct entry *ent);