#ifndef disk_image_h_
#define disk_image_h_
#include <stdbool.h>
#include <TargetConditionals.h>
__BEGIN_DECLS
#define GB * (1024 * 1024 * 1024ULL)
#define TB * (1024 * 1024 * 1024 * 1024ULL)
#define SHARED_PATH "/tmp/shared.sparseimage"
#define SHARED_MOUNT "/tmp/mnt/shared"
typedef struct disk_image {
const char *mount_point;
const char *disk;
const char *path;
} disk_image_t;
typedef struct disk_image_opts {
const char *partition_type;
bool enable_owners;
const char *mount_point;
unsigned long long size; } disk_image_opts_t;
disk_image_t *disk_image_create(const char *path, disk_image_opts_t *opts);
disk_image_t *disk_image_get(void);
bool disk_image_cleanup(disk_image_t *di);
__END_DECLS
#endif