14 lines
904 B
C
14 lines
904 B
C
#include "crypto.h"
|
|
|
|
#define BLOCK_DEVICE_GC "sdstor0:gcd-lp-ign-entire"
|
|
#define BLOCK_DEVICE_MEDIAID "sdstor0:gcd-lp-act-mediaid"
|
|
#define BLOCK_DEVICE_GRW0 "sdstor0:gcd-lp-ign-gamerw"
|
|
#define BLOCK_DEVICE_GRO0 "sdstor0:gcd-lp-ign-gamero"
|
|
|
|
char* mmc_vendor_id_to_manufacturer(uint8_t vendorId);
|
|
uint64_t device_size(char* block_device);
|
|
int dump_device_network(char* ip_address, unsigned short port, char* block_device, char* output_path, GcKEYS* keys, void (*progress_callback)(char*, char*, uint64_t, uint64_t));
|
|
int dump_device(char* block_device, char* output_path, GcKEYS* keys, void (*progress_callback)(char*, char*, uint64_t, uint64_t));
|
|
int wipe_device(char* block_device, void (*progress_callback)(char*, char*, uint64_t, uint64_t));
|
|
int restore_device(char* block_device, char* input_path, void (*progress_callback)(char*, char*, uint64_t, uint64_t));
|
|
uint8_t device_exist(char* block_device); |