Logo Search packages:      
Sourcecode: unfs3 version File versions  Download package

fh_cache.h

/*
 * UNFS3 filehandle cache
 * (C) 2003, Pascal Schmidt
 * see file LICENSE for license details
 */

#ifndef UNFS3_FH_CACHE_H
#define UNFS3_FH_CACHE_H

/* statistics */
extern int fh_cache_max;
extern int fh_cache_use;
extern int fh_cache_hit;

void fh_cache_init(void);

char *fh_decomp(nfs_fh3 fh);
unfs3_fh_t fh_comp(const char *path, struct svc_req *rqstp, int need_dir);
unfs3_fh_t *fh_comp_ptr(const char *path, struct svc_req *rqstp, int need_dir);

char *fh_cache_add(uint32 dev, uint32 ino, const char *path);

#endif

Generated by  Doxygen 1.6.0   Back to index