/*
Copyright (c) 1993 Xerox Corporation.  All rights reserved.
*/
/*
*/

#ifndef	←←XR←sys←dirent←h
#define	←←XR←sys←dirent←h

#include <config/PCR←OS.h>

#include <xr/XR←sys←types.h>

#include <sys/dirent.h>

struct	XR←dirent {
	XR←off←t	d←off;		/* offset of next disk dir entry */
	unsigned long	d←fileno;	/* file number of entry */
	unsigned short	d←reclen;	/* length of this record */
	unsigned short	d←namlen;	/* length of string in d←name */
	char		d←name[255+1];	/* name (up to MAXNAMLEN + 1) */
};

#if defined(PCR←OS←SUNOS4)

extern int
XR←sys←dirent←DirentFromHost(
    struct XR←dirent *xdp, int xnb,
    struct dirent *hdp, int hnb
);

#elif defined(PCR←OS←SUNOS5)

extern int
XR←sys←dirent←DirentFromHost(
    struct XR←dirent *xdp, int xnb,
    struct dirent *hdp, int hnb
);

#else
#   error os ?
#endif


#endif	/* !←←XR←sys←dirent←h */