hactool/extkeys.h
Lioncash 0318763fe8
general: Silence -Wnewline-eof warnings
These warnings occur when building with the default template on macOS.
2019-05-05 00:27:37 -04:00

18 lines
674 B
C

#ifndef HACTOOL_EXTKEYS_H
#define HACTOOL_EXTKEYS_H
#include <string.h>
#include "types.h"
#include "utils.h"
#include "settings.h"
void parse_hex_key(unsigned char *key, const char *hex, unsigned int len);
void extkeys_initialize_settings(hactool_settings_t *settings, FILE *f);
void extkeys_parse_titlekeys(hactool_settings_t *settings, FILE *f);
int settings_has_titlekey(hactool_settings_t *settings, const unsigned char *rights_id);
void settings_add_titlekey(hactool_settings_t *settings, const unsigned char *rights_id, const unsigned char *titlekey);
titlekey_entry_t *settings_get_titlekey(hactool_settings_t *settings, const unsigned char *rights_id);
#endif