2024-02-18 18:09:53 +01:00
|
|
|
#include "utils.h"
|
2024-02-28 17:50:27 +01:00
|
|
|
|
|
|
|
#include "disk.h"
|
|
|
|
#include "config.h"
|
2024-02-19 18:18:18 +01:00
|
|
|
#include "container.h"
|
2024-02-28 17:50:27 +01:00
|
|
|
#include "backing.h"
|
2024-02-15 00:17:20 +01:00
|
|
|
|
2024-02-28 17:50:27 +01:00
|
|
|
#include <errno.h>
|
2024-02-23 18:32:03 +01:00
|
|
|
#include <string.h>
|
2024-02-28 17:50:27 +01:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
int main(int argc, char* argv[]) {
|
|
|
|
config_t* config;
|
|
|
|
result_t result = init_config(&config);
|
|
|
|
if (result != success()) {
|
|
|
|
fprintf(stderr, "Failed to initialize the configuration: %s\n", last_error());
|
|
|
|
return 1;
|
2024-02-18 15:23:01 +01:00
|
|
|
}
|
|
|
|
|
2024-02-28 17:50:27 +01:00
|
|
|
free_config(config);
|
|
|
|
}
|