diff options
author | Yifan Lu | 2016-11-21 17:19:35 -0600 |
---|---|---|
committer | Yifan Lu | 2016-11-21 17:19:35 -0600 |
commit | 143aa8241b91020d8109421648c277ec15431a6d (patch) | |
tree | cb360cc57b844dfce8595a171dcdebbf0b0d9532 /include/user/promoterutil.h | |
parent | Merge pull request #89 from devnoname120/doxygen (diff) | |
download | vds-libraries-143aa8241b91020d8109421648c277ec15431a6d.tar.gz |
Added promoterutil
Diffstat (limited to 'include/user/promoterutil.h')
-rw-r--r-- | include/user/promoterutil.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/user/promoterutil.h b/include/user/promoterutil.h new file mode 100644 index 0000000..374141f --- /dev/null +++ b/include/user/promoterutil.h @@ -0,0 +1,28 @@ +#ifndef _PSP2_PROMOTERUTIL_H_ +#define _PSP2_PROMOTERUTIL_H_ + +#include <psp2/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct ScePromoterUtilityLAUpdate { + char titleid[12]; // target app + char path[128]; // directory of extracted LA update data +} ScePromoterUtilityLAUpdate; + +int scePromoterUtilityInit(void); +int scePromoterUtilityExit(void); +int scePromoterUtilityDeletePkg(void *unk); +int scePromoterUtilityUpdateLiveArea(ScePromoterUtilityLAUpdate *args); +int scePromoterUtilityPromotePkg(char *path, int unk); +int scePromoterUtilityPromotePkgWithRif(const char *path, int unk); +int scePromoterUtilityGetState(int *state); +int scePromoterUtilityGetResult(int *res); + +#ifdef __cplusplus +} +#endif + +#endif /* _PSP2_PROMOTERUTIL_H_ */ |