/*
* 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
syntax highlighted by Code2HTML, v. 0.9.1