Files
Project_CTR/makerom/exheader_build.h
T
applestash 9c548197c1 big update
lots cleaned, added cia to cci conv, it
's called a block, separated reading from building, improved ncch keyx
stuff, and basic verbose for keys, elf checking and romfs
2014-08-26 00:34:28 +10:00

23 lines
458 B
C

#pragma once
#include "exheader.h"
typedef enum
{
COMMON_HEADER_KEY_NOT_FOUND = -10,
EXHDR_BAD_YAML_OPT = -11,
CANNOT_SIGN_ACCESSDESC = -12
} exheader_errors;
typedef struct
{
keys_struct *keys;
rsf_settings *rsf;
bool useAccessDescPreset;
/* Output, these ptrs where created originally in ncchset */
extended_hdr *exHdr;
access_descriptor *acexDesc;
} exheader_settings;
/* ExHeader Build Functions */
int BuildExHeader(ncch_settings *ncchset);