penguin/tinyproxy

An L4 proxy designed to act as a tiny transparent shim

src/file_conf.h

raw ยท 242 bytes

#ifndef FILE_CONF_H
#define FILE_CONF_H

#include <stddef.h>
#include <stdbool.h>

#include "route.h"

int load_routes_from_file(const char *path, struct route **routes_out, size_t *count_out);
void free_routes(struct route *routes);

#endif