summaryrefslogtreecommitdiff
path: root/include/user/kernel/iofilemgr/dirent.h
diff options
context:
space:
mode:
authorReiko Asakura2021-01-20 14:11:05 -0500
committerReiko Asakura2021-01-20 14:11:05 -0500
commit648ee989cc6ac04ba07f5a8942f6ab711f62d6b4 (patch)
treee3d475d4f6f22d4e0488cbe4e3d78f5146a54f70 /include/user/kernel/iofilemgr/dirent.h
parentAdd scejpegenc.h for kernel (diff)
downloadvds-libraries-648ee989cc6ac04ba07f5a8942f6ab711f62d6b4.tar.gz
Rename iofilemgr headers
Diffstat (limited to 'include/user/kernel/iofilemgr/dirent.h')
-rw-r--r--include/user/kernel/iofilemgr/dirent.h82
1 files changed, 0 insertions, 82 deletions
diff --git a/include/user/kernel/iofilemgr/dirent.h b/include/user/kernel/iofilemgr/dirent.h
deleted file mode 100644
index c518a08..0000000
--- a/include/user/kernel/iofilemgr/dirent.h
+++ /dev/null
@@ -1,82 +0,0 @@
-#ifndef _DOLCESDK_PSP2_KERNEL_IOFILEMGR_DIRENT_H_
-#define _DOLCESDK_PSP2_KERNEL_IOFILEMGR_DIRENT_H_
-
-#include <psp2common/kernel/iofilemgr/dirent.h>
-#include <psp2/kernel/iofilemgr/async.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Open a directory
- *
- * @par Example:
- * @code
- * int dfd;
- * dfd = sceIoDopen("device:/");
- * if(dfd >= 0)
- * { Do something with the file descriptor }
- * @endcode
- * @param dirname - The directory to open for reading.
- * @return If >= 0 then a valid file descriptor, otherwise a Sony error code.
- */
-SceUID sceIoDopen(const char *dirname);
-
-/**
- * Close an opened directory file descriptor
- *
- * @param fd - Already opened file descriptor (using ::sceIoDopen)
- * @return < 0 on error
- */
-int sceIoDclose(SceUID fd);
-
-/**
- * Reads an entry from an opened file descriptor.
- *
- * @param fd - Already opened file descriptor (using ::sceIoDopen)
- * @param buf - Pointer to a ::SceIoDirent structure to hold the file information
- *
- * @return Read status
- * - 0 - No more directory entries left
- * - > 0 - More directory entries to go
- * - < 0 - Error
- */
-int sceIoDread(SceUID fd, SceIoDirent *buf);
-
-/**
- * Open a directory (asynchronous)
- *
- * @param dirname - The directory to open for reading.
- * @param asyncParam - parameters related to async operation.
- *
- * @return If >= 0 then a valid op handle, otherwise a Sony error code.
- */
-SceUID sceIoDopenAsync(const char *dirname, SceIoAsyncParam* asyncParam);
-
-/**
- * Reads an entry from an opened file descriptor (asynchronous)
- *
- * @param fd - Already opened file descriptor (using ::sceIoDopen or ::sceIoDopenAsync)
- * @param dir - Pointer to a ::SceIoDirent structure to hold the file information
- * @param asyncParam - parameters related to async operation.
- *
- * @return If >= 0 then a valid op handle, otherwise a Sony error code.
- */
-SceUID sceIoDreadAsync(SceUID fd, SceIoDirent *dir, SceIoAsyncParam* asyncParam);
-
-/**
- * Close an opened directory file descriptor (asynchronous)
- *
- * @param fd - Already opened file descriptor (using ::sceIoDopen or ::sceIoDopenAsync)
- * @param asyncParam - parameters related to async operation.
- *
- * @return If >= 0 then a valid op handle, otherwise a Sony error code.
- */
-SceUID sceIoDcloseAsync(SceUID fd, SceIoAsyncParam* asyncParam);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _DOLCESDK_PSP2_KERNEL_IOFILEMGR_DIRENT_H_ */