SysCheck-ModMii-Edition/include/title.h
2013-10-12 18:38:34 +00:00

22 lines
504 B
C

#ifndef _TITLE_H_
#define _TITLE_H_
/* Constants */
#define BLOCK_SIZE 1024
/* Macros */
#define round_up(x,n) (-(-(x) & -(n)))
/* Prototypes */
s32 Title_FakesignTMD(signed_blob *);
s32 Title_GetList(u64 **, u32 *);
s32 Title_GetTicketViews(u64, tikview **, u32 *);
s32 Title_GetTMD(u64, signed_blob **, u32 *);
s32 Title_GetVersion(u64, u16 *);
s32 Title_GetSysVersion(u64, u64 *);
s32 Title_GetSize(u64, u32 *);
s32 Title_GetVersionNObuf(u64 tid);
u32 Title_GetSize_FromTMD(tmd *tmd_data);
#endif