mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-15 18:02:20 +00:00
Update image functions
This commit is contained in:
@@ -134,12 +134,8 @@ void write_zero(int fd, size_t size);
|
||||
|
||||
// img.c
|
||||
|
||||
#define round_size(a) ((((a) / 32) + 2) * 32)
|
||||
#define SOURCE_TMP "/dev/.img_src"
|
||||
#define TARGET_TMP "/dev/.img_tgt"
|
||||
|
||||
int create_img(const char *img, int size);
|
||||
int resize_img(const char *img, int size, int enforce);
|
||||
int resize_img(const char *img, int size);
|
||||
char *mount_image(const char *img, const char *target);
|
||||
int umount_image(const char *target, const char *device);
|
||||
int merge_img(const char *source, const char *target);
|
||||
|
Reference in New Issue
Block a user