mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 20:57:39 +00:00
20 lines
431 B
C
20 lines
431 B
C
#ifndef IMG_H
|
|
#define IMG_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int create_img(const char *img, int size);
|
|
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);
|
|
int trim_img(const char *img, const char *mount, char *loop);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif //IMG_H
|