summaryrefslogtreecommitdiff
path: root/include/common/kernel/iofilemgr_dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/kernel/iofilemgr_dirent.h')
-rw-r--r--include/common/kernel/iofilemgr_dirent.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/common/kernel/iofilemgr_dirent.h b/include/common/kernel/iofilemgr_dirent.h
new file mode 100644
index 0000000..1e28c22
--- /dev/null
+++ b/include/common/kernel/iofilemgr_dirent.h
@@ -0,0 +1,23 @@
+#ifndef _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_DIRENT_H_
+#define _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_DIRENT_H_
+
+#include <psp2common/kernel/types.h>
+#include <psp2common/kernel/iofilemgr/stat.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** Describes a single directory entry */
+typedef struct SceIoDirent {
+ SceIoStat d_stat; //!< File status
+ char d_name[256]; //!< File name (not file path)
+ void *d_private; //!< Reserved (set to 0)
+ int dummy; //!< Padding
+} SceIoDirent;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_DIRENT_H_ */