6 * This file is part of the ReactOS Operating System.
9 * Created by KJK::Hyperion <noog@libero.it>
11 * THIS SOFTWARE IS NOT COPYRIGHTED
13 * This source code is offered for use in the public domain. You may
14 * use, modify or distribute it freely.
16 * This code is distributed in the hope that it will be useful but
17 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
18 * DISCLAMED. This includes but is not limited to warranties of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22 #ifndef __PSX_DIRENT_H_INCLUDED__
23 #define __PSX_DIRENT_H_INCLUDED__
26 #include <ddk/ntddk.h>
28 #include <psx/safeobj.h>
35 __magic_t signature
; /* signature to verify object's validity across calls */
37 struct dirent de_ansi
;
38 struct _Wdirent de_unicode
;
39 } ent
; /* storage for return buffer of readdir() */
40 int fildes
; /* file descriptor of the directory */
41 FILE_DIRECTORY_INFORMATION info
; /* directory entry information */
42 WCHAR name
[MAX_PATH
]; /* filename buffer */
46 #define __IDIR_MAGIC MAGIC('I', 'D', 'I', 'R')
52 #endif /* __PSX_DIRENT_H_INCLUDED__ */