2012-11-01 15:19:01 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// 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
|
2012-11-04 22:01:49 +00:00
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
// 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 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
2013-01-01 23:36:34 +00:00
|
|
|
|
2014-03-15 17:48:30 +00:00
|
|
|
class PointerWrap;
|
|
|
|
class KernelObject;
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
void __IoInit();
|
2012-12-28 07:08:38 +00:00
|
|
|
void __IoDoState(PointerWrap &p);
|
2012-11-01 15:19:01 +00:00
|
|
|
void __IoShutdown();
|
2013-09-10 09:09:18 +00:00
|
|
|
|
|
|
|
struct ScePspDateTime;
|
|
|
|
|
2014-12-08 09:40:08 +00:00
|
|
|
u32 sceIoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen);
|
|
|
|
|
2013-01-02 11:35:37 +00:00
|
|
|
u32 __IoGetFileHandleFromId(u32 id, u32 &outError);
|
2013-09-10 09:09:18 +00:00
|
|
|
void __IoCopyDate(ScePspDateTime& date_out, const tm& date_in);
|
|
|
|
|
2012-12-27 06:45:19 +00:00
|
|
|
KernelObject *__KernelFileNodeObject();
|
|
|
|
KernelObject *__KernelDirListingObject();
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
void Register_IoFileMgrForUser();
|
|
|
|
void Register_StdioForUser();
|