2018-12-28 22:06:18 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <switch/types.h>
|
|
|
|
#include <switch/services/ncm.h>
|
|
|
|
|
2020-03-16 00:25:15 +01:00
|
|
|
typedef struct {
|
|
|
|
u8 c[0x10];
|
|
|
|
} RightsId;
|
|
|
|
|
2018-12-28 22:06:18 +01:00
|
|
|
Result esInitialize();
|
|
|
|
void esExit();
|
|
|
|
|
|
|
|
Result esCountCommonTicket(u32 *num_tickets); //9
|
|
|
|
Result esCountPersonalizedTicket(u32 *num_tickets); // 10
|
2020-03-16 00:25:15 +01:00
|
|
|
Result esListCommonTicket(u32 *numRightsIdsWritten, RightsId *outBuf, size_t bufSize);
|
|
|
|
Result esListPersonalizedTicket(u32 *numRightsIdsWritten, RightsId *outBuf, size_t bufSize);
|