diff options
Diffstat (limited to 'include/rfs.h')
-rw-r--r-- | include/rfs.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/rfs.h b/include/rfs.h index 523fb23..7523ee1 100644 --- a/include/rfs.h +++ b/include/rfs.h @@ -34,16 +34,17 @@ * Values */ -#define NV_DATA_PATH_DEFAULT "/efs/nv_data.bin" -#define NV_DATA_MD5_PATH_DEFAULT "/efs/nv_data.bin.md5" -#define NV_DATA_BAK_PATH_DEFAULT "/efs/.nv_data.bak" -#define NV_DATA_MD5_BAK_PATH_DEFAULT "/efs/.nv_data.bak.md5" -#define NV_STATE_PATH_DEFAULT "/efs/.nv_state" -#define NV_DATA_SECRET_DEFAULT "Samsung_Android_RIL" #define NV_DATA_SIZE_DEFAULT 0x200000 #define NV_DATA_CHUNK_SIZE_DEFAULT 0x1000 -#define MD5_STRING_SIZE MD5_DIGEST_LENGTH * 2 + 1 +#define NV_DATA_PATH_DEFAULT "/efs/nv_data.bin" +#define NV_DATA_MD5_PATH_DEFAULT "/efs/nv_data.bin.md5" +#define NV_DATA_BAK_PATH_DEFAULT "/efs/.nv_data.bak" +#define NV_DATA_MD5_BAK_PATH_DEFAULT "/efs/.nv_data.bak.md5" +#define NV_STATE_PATH_DEFAULT "/efs/.nv_state" +#define NV_DATA_SECRET_DEFAULT "Samsung_Android_RIL" + +#define MD5_STRING_SIZE MD5_DIGEST_LENGTH * 2 + 1 /* * Structures @@ -64,7 +65,7 @@ struct ipc_rfs_io_confirm { * Helpers */ -void md5hash2string(char *out, uint8_t *in); +void md5hash2string(char *out, unsigned char* in); char *nv_data_path(struct ipc_client *client); char *nv_data_md5_path(struct ipc_client *client); char *nv_data_bak_path(struct ipc_client *client); |