mirror of
https://github.com/Vita3K/Vita3K.git
synced 2025-04-02 11:02:10 -04:00
92 lines
3 KiB
C++
92 lines
3 KiB
C++
// Vita3K emulator project
|
|
// Copyright (C) 2021 Vita3K team
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation; either version 2 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License along
|
|
// with this program; if not, write to the Free Software Foundation, Inc.,
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#pragma once
|
|
|
|
#include <module/module.h>
|
|
|
|
typedef struct _sceIoLseekOpt {
|
|
SceOff offset;
|
|
SceIoSeekMode whence;
|
|
uint32_t unk;
|
|
} _sceIoLseekOpt;
|
|
|
|
EXPORT(int, _sceIoDopen, const char *dir);
|
|
EXPORT(int, _sceIoDread, const SceUID fd, SceIoDirent *dir);
|
|
EXPORT(int, _sceIoMkdir, const char *dir, const SceMode mode);
|
|
EXPORT(SceOff, _sceIoLseek, const SceUID fd, Ptr<_sceIoLseekOpt> opt);
|
|
EXPORT(int, _sceIoGetstat, const char *file, SceIoStat *stat);
|
|
|
|
BRIDGE_DECL(_sceIoChstat)
|
|
BRIDGE_DECL(_sceIoChstatAsync)
|
|
BRIDGE_DECL(_sceIoChstatByFd)
|
|
BRIDGE_DECL(_sceIoCompleteMultiple)
|
|
BRIDGE_DECL(_sceIoDevctl)
|
|
BRIDGE_DECL(_sceIoDevctlAsync)
|
|
BRIDGE_DECL(_sceIoDopen)
|
|
BRIDGE_DECL(_sceIoDread)
|
|
BRIDGE_DECL(_sceIoGetstat)
|
|
BRIDGE_DECL(_sceIoGetstatAsync)
|
|
BRIDGE_DECL(_sceIoGetstatByFd)
|
|
BRIDGE_DECL(_sceIoIoctl)
|
|
BRIDGE_DECL(_sceIoIoctlAsync)
|
|
BRIDGE_DECL(_sceIoLseek)
|
|
BRIDGE_DECL(_sceIoLseekAsync)
|
|
BRIDGE_DECL(_sceIoMkdir)
|
|
BRIDGE_DECL(_sceIoMkdirAsync)
|
|
BRIDGE_DECL(_sceIoOpen)
|
|
BRIDGE_DECL(_sceIoOpenAsync)
|
|
BRIDGE_DECL(_sceIoPread)
|
|
BRIDGE_DECL(_sceIoPreadAsync)
|
|
BRIDGE_DECL(_sceIoPwrite)
|
|
BRIDGE_DECL(_sceIoPwriteAsync)
|
|
BRIDGE_DECL(_sceIoRemove)
|
|
BRIDGE_DECL(_sceIoRemoveAsync)
|
|
BRIDGE_DECL(_sceIoRename)
|
|
BRIDGE_DECL(_sceIoRenameAsync)
|
|
BRIDGE_DECL(_sceIoRmdir)
|
|
BRIDGE_DECL(_sceIoRmdirAsync)
|
|
BRIDGE_DECL(_sceIoSync)
|
|
BRIDGE_DECL(_sceIoSyncAsync)
|
|
BRIDGE_DECL(sceIoCancel)
|
|
BRIDGE_DECL(sceIoChstatByFdAsync)
|
|
BRIDGE_DECL(sceIoClose)
|
|
BRIDGE_DECL(sceIoCloseAsync)
|
|
BRIDGE_DECL(sceIoComplete)
|
|
BRIDGE_DECL(sceIoDclose)
|
|
BRIDGE_DECL(sceIoDcloseAsync)
|
|
BRIDGE_DECL(sceIoDopenAsync)
|
|
BRIDGE_DECL(sceIoDreadAsync)
|
|
BRIDGE_DECL(sceIoFlockForSystem)
|
|
BRIDGE_DECL(sceIoGetPriority)
|
|
BRIDGE_DECL(sceIoGetPriorityForSystem)
|
|
BRIDGE_DECL(sceIoGetProcessDefaultPriority)
|
|
BRIDGE_DECL(sceIoGetThreadDefaultPriority)
|
|
BRIDGE_DECL(sceIoGetThreadDefaultPriorityForSystem)
|
|
BRIDGE_DECL(sceIoGetstatByFdAsync)
|
|
BRIDGE_DECL(sceIoLseek32)
|
|
BRIDGE_DECL(sceIoRead)
|
|
BRIDGE_DECL(sceIoReadAsync)
|
|
BRIDGE_DECL(sceIoSetPriority)
|
|
BRIDGE_DECL(sceIoSetPriorityForSystem)
|
|
BRIDGE_DECL(sceIoSetProcessDefaultPriority)
|
|
BRIDGE_DECL(sceIoSetThreadDefaultPriority)
|
|
BRIDGE_DECL(sceIoSetThreadDefaultPriorityForSystem)
|
|
BRIDGE_DECL(sceIoSyncByFd)
|
|
BRIDGE_DECL(sceIoSyncByFdAsync)
|
|
BRIDGE_DECL(sceIoWrite)
|
|
BRIDGE_DECL(sceIoWriteAsync)
|