blob: d93656554b067c177f320109c7b4a9b68622408c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
Vita Development Suite Libraries
*/
#ifndef _VDSUITE_USER_SBLUPDATEMGR_H
#define _VDSUITE_USER_SBLUPDATEMGR_H
typedef char SceUpdateMode;
#define SCE_UPDATE_MODE_SWU_GUI 0x10
#define SCE_UPDATE_MODE_SWU_CUI 0x30
/**
* Getting system update mode on boot
*
* @param[out] mode - The pointer of SceUpdateMode variable
*
* @return 0 on success, < 0 on error.
*/
int sceSblUsGetUpdateModeForUser(SceUpdateMode *mode);
/**
* Setting system update mode on boot
*
* @param[in] mode - The update mode
*
* @return 0 on success, < 0 on error.
*/
int sceSblUsSetUpdateModeForUser(SceUpdateMode mode);
/**
* Verify PUP
*
* @param[in] path - The PUP path
*
* @return 0 on success, < 0 on error.
*
* note - If verify CEX PUP on Devkit system, got error.
*/
int sceSblUsVerifyPupForUser(const char *path);
#endif /* _VDSUITE_USER_SBLUPDATEMGR_H */
|