utils.h (257B)
#pragma once
#include <stdbool.h>
#include <stddef.h>
typedef struct {
const char *contents;
size_t len;
} file_t;
file_t read_file(const char *filename);
void separate_file_from_path(const char *fullpath, char **out_path, char **out_filename);