VitaShell/functions.h
2016-09-23 16:13:41 +02:00

43 lines
1.1 KiB
C

/*
VitaShell
Copyright (C) 2015-2016, TheFloW
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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __FUNCTIONS_H__
#define __FUNCTIONS_H__
#define SCE_ERROR_ERRNO_EEXIST 0x80010011
#define SCE_ERROR_ERRNO_ENODEV 0x80010013
typedef struct {
uint64_t max_size;
uint64_t free_size;
uint32_t cluster_size;
void *unk;
} SceIoDevInfo;
typedef struct {
SceUInt size;
SceChar8 version_string[28];
SceUInt version_value;
SceUInt unk;
} SceSystemSwVersionParam;
int sceKernelGetSystemSwVersion(SceSystemSwVersionParam *param);
int sceKernelGetModelForCDialog();
#endif