diff options
-rw-r--r-- | include/user/np.h | 12 | ||||
-rw-r--r-- | include/user/np/np_kdc.h | 60 | ||||
-rw-r--r-- | nids/360/SceNpKdc.yml | 13 |
3 files changed, 85 insertions, 0 deletions
diff --git a/include/user/np.h b/include/user/np.h new file mode 100644 index 0000000..5973539 --- /dev/null +++ b/include/user/np.h @@ -0,0 +1,12 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_NP_H +#define _VDSUITE_USER_NP_H + +#include_next <np.h> + +#include <np/np_kdc.h> + +#endif /* _VDSUITE_USER_NP_H */ diff --git a/include/user/np/np_kdc.h b/include/user/np/np_kdc.h new file mode 100644 index 0000000..29c9b53 --- /dev/null +++ b/include/user/np/np_kdc.h @@ -0,0 +1,60 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_NP_NP_KDC_H +#define _VDSUITE_USER_NP_NP_KDC_H + +#include <scetypes.h> + +#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) +extern "C" { +#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */ + +int +sceNpKdcInit( + SceSize poolSize, + void *poolBase + ); + +int +sceNpKdcTerm( + void + ); + +int +sceNpKdcAbortReq( + void + ); + +int +sceNpKdcActivateConsole( + int *maxConsole, + int *currentConsole, + const char *epassword + ); + +int +sceNpKdcDeactivateConsole( + int *maxConsole, + int *currentConsole, + const char *epassword, + SceBool forceReq + ); + +int +sceNpKdcGetProductRif( + const char *productId, + const char *epassword, + void *rifBuf, + SceSize rifBufSize, + SceSize *rifSize, + int *maxConsole, + int *currentConsole + ); + +#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) +} +#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */ + +#endif /* _VDSUITE_USER_NP_NP_KDC_H */ diff --git a/nids/360/SceNpKdc.yml b/nids/360/SceNpKdc.yml new file mode 100644 index 0000000..0ea5a62 --- /dev/null +++ b/nids/360/SceNpKdc.yml @@ -0,0 +1,13 @@ +modules: + SceNpKdc: + nid: 0x8486104C + libraries: + SceNpKdc: + nid: 0x52115CC3 + functions: + sceNpKdcAbortReq: 0xC3B78C87 + sceNpKdcActivateConsole: 0xD8903721 + sceNpKdcDeactivateConsole: 0x23521D81 + sceNpKdcGetProductRif: 0x78E56B9B + sceNpKdcInit: 0x26F8A1B9 + sceNpKdcTerm: 0x06CB1007 |