2018-08-09 16:40:23 +00:00
|
|
|
#ifndef IMG_H
|
|
|
|
#define IMG_H
|
|
|
|
|
2018-11-04 08:38:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-08-09 16:40:23 +00:00
|
|
|
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);
|
|
|
|
|
2018-11-04 08:38:06 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2018-08-09 16:40:23 +00:00
|
|
|
#endif //IMG_H
|