summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/user/appmgr.h89
-rw-r--r--include/user/kernel/iofilemgr_syscall.h83
-rw-r--r--include/user/net/net_syscalls.h20
3 files changed, 0 insertions, 192 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h
index a3ee1fd..8fa22f3 100644
--- a/include/user/appmgr.h
+++ b/include/user/appmgr.h
@@ -13,41 +13,6 @@
extern "C" {
#endif
-typedef struct SceAppMgrSaveDataData {
- int size; //!< Must be 0x4C
- unsigned int slotId; //!< Save slot to use
- SceAppMgrSaveDataSlotParam* slotParam; //!< Save slot params
- uint8_t reserved[32]; //!< Reserved data
- SceAppMgrSaveDataDataSaveItem* files; //!< Pointer to an array of files
- int fileNum; //!< Number of files to save
- SceAppMgrMountPoint mountPoint; //!< Savedata mountpoint
- unsigned int* requiredSizeKB; //!< Required size in KBs
-} SceAppMgrSaveDataData;
-
-typedef struct SceAppMgrSaveDataDataDelete {
- int size; //!< Must be 0x44
- unsigned int slotId; //!< Save slot to use
- SceAppMgrSaveDataSlotParam* slotParam; //!< Save slot params
- uint8_t reserved[32]; //!< Reserved data
- SceAppMgrSaveDataDataSaveItem* files; //!< Pointer to an array of files
- int fileNum; //!< Number of files to delete
- SceAppMgrMountPoint mountPoint; //!< Savedata mountpoint
-} SceAppMgrSaveDataDataDelete;
-
-typedef struct SceAppMgrSaveDataSlot {
- int size; //!< Must be 0x418
- unsigned int slotId; //!< Save slot to use
- SceAppMgrSaveDataSlotParam slotParam; //!< Save slot params
- uint8_t reserved[116]; //!< Reserved data
- SceAppMgrMountPoint mountPoint; //!< Savedata mountpoint
-} SceAppMgrSaveDataSlot;
-
-typedef struct SceAppMgrSaveDataSlotDelete {
- int size; //!< Must be 0x18
- unsigned int slotId; //!< Save slot to use
- SceAppMgrMountPoint mountPoint; //!< Savedata mountpoint
-} SceAppMgrSaveDataSlotDelete;
-
typedef struct SceAppMgrExecOptParam SceAppMgrExecOptParam; // Missing struct
typedef struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam; // Missing struct
@@ -89,60 +54,6 @@ typedef struct SceAppMgrTrcNotification {
} SceAppMgrTrcNotification;
/**
- * Save data on savedata0: partition
- *
- * @param[in] data - Data to save
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataDataSave(SceAppMgrSaveDataData* data);
-
-/**
- * Remove data on savedata0: partition
- *
- * @param[in] data - Data to remove
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataDataRemove(SceAppMgrSaveDataDataDelete* data);
-
-/**
- * Create a savedata slot
- *
- * @param[in] data - Slot data
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataSlotCreate(SceAppMgrSaveDataSlot* data);
-
-/**
- * Get current param of a savedata slot
- *
- * @param[out] data - Slot data
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataSlotGetParam(SceAppMgrSaveDataSlot* data);
-
-/**
- * Set current param of a savedata slot
- *
- * @param[in] data - Slot data
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataSlotSetParam(SceAppMgrSaveDataSlot* data);
-
-/**
- * Delete a savedata slot
- *
- * @param[in] data - Slot data
- *
- * @return 0 on success, < 0 on error.
- */
-int _sceAppMgrSaveDataSlotDelete(SceAppMgrSaveDataSlotDelete* data);
-
-/**
* Get Process ID by Title ID
*
* @param[out] pid - Process ID
diff --git a/include/user/kernel/iofilemgr_syscall.h b/include/user/kernel/iofilemgr_syscall.h
deleted file mode 100644
index a1d4fb8..0000000
--- a/include/user/kernel/iofilemgr_syscall.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- Vita Development Suite Libraries
-*/
-
-#ifndef _VDSUITE_USER_KERNEL_IOFILEMGR_SYSCALL_H
-#define _VDSUITE_USER_KERNEL_IOFILEMGR_SYSCALL_H
-
-#include <kernel/types.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Struct definitions */
-
-typedef struct SceIoUnusedSyscallParam0x8 {
- char unused[0x8];
-} SceIoUnusedSyscallParam0x8;
-
-typedef struct SceIoUnusedSyscallParam0x10 {
- char unused[0x10];
-} SceIoUnusedSyscallParam0x10;
-
-typedef struct SceIoDevctlSyscallParam {
- SceSize arglen;
- void *bufp;
- SceSize buflen;
- char unused[0xC];
- // size 0x18
-} SceIoDevctlSyscallParam;
-
-typedef struct SceIoIoctlSyscallParam {
- SceSize arglen;
- void *bufp;
- SceSize buflen;
- char unused[0x4];
- // size 0x10
-} SceIoIoctlSyscallParam;
-
-typedef struct SceIoLseekSyscallParam {
- SceOff offset;
- int whence;
- char unused[0x4];
- // size 0x10
-} SceIoLseekSyscallParam;
-
-typedef struct SceIoPreadSyscallParam {
- SceOff offset;
- char unused[0x8];
- // size 0x10
-} SceIoPreadSyscallParam;
-
-typedef SceIoPreadSyscallParam SceIoPwriteSyscallParam;
-
-/* Function declarations */
-
-SceUID _sceIoRemove(const char *filename, SceIoUnusedSyscallParam0x8* param);
-
-int _sceIoMkdir(const char *dirname, SceIoMode mode, SceIoUnusedSyscallParam0x8* param);
-
-int _sceIoRmdir(const char *dirname, SceIoUnusedSyscallParam0x8* param);
-
-int _sceIoRename(const char *oldname, const char *newname, SceIoUnusedSyscallParam0x10* param);
-
-int _sceIoDevctl(const char *devname, int cmd, const void *arg, SceIoDevctlSyscallParam* param);
-
-int _sceIoSync(const char *devname, int flag, SceIoUnusedSyscallParam0x8* param);
-
-SceUID _sceIoOpen(const char *filename, int flag, SceIoMode mode, SceIoUnusedSyscallParam0x8* param);
-
-int _sceIoIoctl(SceUID fd, int cmd, const void *argp, SceIoIoctlSyscallParam* param);
-
-SceOff _sceIoLseek(SceUID fd, SceIoLseekSyscallParam* param);
-
-SceSSize _sceIoPread(SceUID fd, void *buf, SceSize nbyte, SceIoPreadSyscallParam* param);
-
-SceSSize _sceIoPwrite(SceUID fd, const void *buf, SceSize nbyte, SceIoPwriteSyscallParam* param);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _VDSUITE_USER_KERNEL_IOFILEMGR_SYSCALL_H */
diff --git a/include/user/net/net_syscalls.h b/include/user/net/net_syscalls.h
deleted file mode 100644
index a1441cb..0000000
--- a/include/user/net/net_syscalls.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- Vita Development Suite Libraries
-*/
-
-#ifndef _VDSUITE_USER_NET_NET_SYSCALLS_H
-#define _VDSUITE_USER_NET_NET_SYSCALLS_H
-
-#include <net.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int sceNetSyscallConnect(int s, const SceNetSockaddr *name, unsigned int namelen);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _VDSUITE_USER_NET_NET_SYSCALLS_H */