1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*
AVFS: A Virtual File System Library
Copyright (C) 1998-1999 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#include "avfs.h"
#include "state.h"
#define AVFS_SEP_CHAR '#'
#define AVFS_SEP_STR "#"
#define AVFS_LOCK(avfs) if(!(avfs->flags & AVF_NOLOCK)) AV_LOCK(avfs->lock)
#define AVFS_UNLOCK(avfs) if(!(avfs->flags & AVF_NOLOCK)) AV_UNLOCK(avfs->lock)
int av_get_ventry(const char *path, int resolvelast, ventry **retp);
int av_copy_vmount(struct avmount *mnt, struct avmount **retp);
void av_free_vmount(struct avmount *mnt);
void av_default_avfs(struct avfs *avfs);
void av_init_dynamic_modules();
void av_close_all_files();
void av_delete_tmpdir();
void av_init_avfsstat();
void av_init_logstat();
void av_init_cache();
void av_check_malloc();
void av_init_filecache();
void av_do_exit();
void av_avfsstat_register(const char *path, struct statefile *func);
int av_get_symlink_rewrite();
int av_avfs_implements_readdir( const struct avfs *avfs );
|