File: internal.h

package info (click to toggle)
avfs 1.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,916 kB
  • sloc: ansic: 31,364; sh: 6,482; perl: 1,916; makefile: 351
file content (35 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download | duplicates (4)
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 );