/* UNFSD - copyright Mark A Shand, May 1988.
 * This software maybe be used for any purpose provided
 * the above copyright notice is retained.  It is supplied
 * as is, with no warranty expressed or implied.
 */

/* compatibility between mount and nfs_prot */
#ifndef NFS_FHSIZE
#define NFS_FHSIZE	FHSIZE
#endif

#define	HP_LEN	(NFS_FHSIZE - sizeof(u_long))

typedef struct
{
	u_long	psi;
	u_char	hash_path[HP_LEN];
	/* Hashed search path to this file.
	 * path is: hash_path[1] ... hash_path[hash_path[0]]
	 *
	 * hash_path[hash_path[0]+1] ... hash_path[HP_LEN-1] == 0
	 */
}
	svc_fh;

extern void fh_init();
extern int fh_fd();
extern char *fh_path();
extern nfsstat fh_compose();
extern char *fh_pr();
extern int fh_psi();
