summaryrefslogtreecommitdiff
path: root/include/common/kernel/iofilemgr/async.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/kernel/iofilemgr/async.h')
-rw-r--r--include/common/kernel/iofilemgr/async.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/common/kernel/iofilemgr/async.h b/include/common/kernel/iofilemgr/async.h
new file mode 100644
index 0000000..b0c0feb
--- /dev/null
+++ b/include/common/kernel/iofilemgr/async.h
@@ -0,0 +1,21 @@
+#ifndef _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_ASYNC_H_
+#define _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_ASYNC_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct SceIoAsyncParam {
+ int result; // [out] result of the IO operation (e.g. UID, read/wrote size, error code)
+ int unk_04; // [out]
+ int unk_08; // [in]
+ int unk_0C; // [out]
+ int unk_10; // [out]
+ int unk_14; // [out]
+} SceIoAsyncParam;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _DOLCESDK_PSP2COMMON_KERNEL_IOFILEMGR_ASYNC_H_ */