22 lines
487 B
C
22 lines
487 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
#include "host/libs/config/cuttlefish_config.h"
|
||
|
|
|
||
|
|
namespace cuttlefish {
|
||
|
|
|
||
|
|
enum class DataImageResult {
|
||
|
|
Error,
|
||
|
|
NoChange,
|
||
|
|
FileUpdated,
|
||
|
|
};
|
||
|
|
|
||
|
|
DataImageResult ApplyDataImagePolicy(const CuttlefishConfig& config,
|
||
|
|
const std::string& path);
|
||
|
|
bool InitializeMiscImage(const std::string& misc_image);
|
||
|
|
void CreateBlankImage(
|
||
|
|
const std::string& image, int num_mb, const std::string& image_fmt);
|
||
|
|
|
||
|
|
} // namespace cuttlefish
|