Added the image system

This commit is contained in:
2024-02-29 10:58:47 +01:00
parent 0373d159a2
commit b90502c4f2
10 changed files with 733 additions and 104 deletions

View File

@@ -38,12 +38,12 @@ result_t get_container_path(char** _path, const config_t* config, const char* id
/// @return The result of the operation.
result_t add_root_container(const config_t* config, const char* identifier, size_t size);
/// @brief Adds a new backed container to the pool, with the specified identifier and backing.
/// @brief Adds a new backed container to the pool, with the specified identifier and image.
/// @param config The program configuration to use.
/// @param identifier The identifier of the container to add.
/// @param backing The identifier of the backing to use.
/// @param image The identifier of the image to use.
/// @return The result of the operation.
result_t add_backed_container(const config_t* config, const char* identifier, const char* backing);
result_t add_backed_container(const config_t* config, const char* identifier, const char* image);
/// @brief Removes the specified container from the pool.
/// @param config The program configuration to use.