Back to index

avfs  1.0.1
internal.h
Go to the documentation of this file.
00001 /*  
00002     AVFS: A Virtual File System Library
00003     Copyright (C) 1998-1999  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 "avfs.h"
00010 #include "state.h"
00011 
00012 #define AVFS_SEP_CHAR    '#'
00013 #define AVFS_SEP_STR     "#"
00014 
00015 #define AVFS_LOCK(avfs)   if(!(avfs->flags & AVF_NOLOCK)) AV_LOCK(avfs->lock)
00016 #define AVFS_UNLOCK(avfs) if(!(avfs->flags & AVF_NOLOCK)) AV_UNLOCK(avfs->lock)
00017 
00018 int av_get_ventry(const char *path, int resolvelast, ventry **retp);
00019 int av_copy_vmount(struct avmount *mnt, struct avmount **retp);
00020 void av_free_vmount(struct avmount *mnt);
00021 void av_default_avfs(struct avfs *avfs);
00022 void av_init_dynamic_modules();
00023 void av_close_all_files();
00024 void av_delete_tmpdir();
00025 void av_init_avfsstat();
00026 void av_init_logstat();
00027 void av_init_cache();
00028 void av_check_malloc();
00029 void av_init_filecache();
00030 void av_do_exit();
00031 
00032 void av_avfsstat_register(const char *path, struct statefile *func);
00033 int av_get_symlink_rewrite();