/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: xpg3:dirent.h
*/

#ifndef __TDF_XPG3_DIRENT_H
#define __TDF_XPG3_DIRENT_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__xpg3__dirent begin

#ifndef __TDF_POSIX_DIRENT_H
#pragma extend interface "../posix.api/dirent.h"
#endif /* __TDF_POSIX_DIRENT_H */
#ifndef __TDF_POSIX_SYS_TYPES_H_INO_T
#pragma extend interface "../shared/posix.api/ino_t.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_INO_T */
/* This type is abstracted */
#if __STRICT_XPG3
typedef ino_t __local_dirent_ino_t;
#else /* __STRICT_XPG3 */
#pragma token ARITHMETIC __local_dirent_ino_t # xpg3.dirent.__local_dirent_ino_t
#pragma token PROC (EXP rvalue : __local_dirent_ino_t : ) EXP rvalue : ino_t : __dirent_ino2ino # xpg3.dirent.__dirent_ino2ino
#pragma token PROC (EXP rvalue : ino_t : ) EXP rvalue : __local_dirent_ino_t : __ino2dirent_ino # xpg3.dirent.__ino2dirent_ino
#ifndef __BUILDING_LIBS
#pragma accept conversion __dirent_ino2ino
#pragma accept conversion __ino2dirent_ino
#endif /* __BUILDING_LIBS */
#endif /* __STRICT_XPG3 */
#pragma token MEMBER __local_dirent_ino_t : struct dirent : d_ino # xpg3.dirent.dirent.d_ino
#pragma token FUNC void (DIR *, long) : seekdir # xpg3.dirent.seekdir
#pragma token FUNC long (DIR *) : telldir # xpg3.dirent.telldir

#if __STRICT_XPG3
#else /* __STRICT_XPG3 */
#pragma interface __local_dirent_ino_t __dirent_ino2ino __ino2dirent_ino
#endif /* __STRICT_XPG3 */
#pragma interface TAG dirent.d_ino seekdir telldir

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_XPG3_DIRENT_H */
