#pragma once #include "utils.h" #define CONFIGURATION_FILE "/etc/sandbox.d/config.json" /// @brief Structure used to store the program configuration. typedef struct { /// @brief The path of the directory where the containers are stored. char* container_pool; /// @brief The path of the directory where the images are stored. char* image_pool; } config_t; /// @brief Initializes the program configuration. /// @param _config The pointer to where the configuration should be stored. /// @return The result of the operation. result_t init_config(config_t** _config); /// @brief Frees the program configuration. /// @param config The configuration to free. void free_config(config_t* config);