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