Files
rproxy/src/config.h
T

18 lines
416 B
C
Raw Normal View History

2025-11-29 01:49:14 +01:00
#ifndef RPROXY_CONFIG_H
#define RPROXY_CONFIG_H
#include "types.h"
2025-11-29 04:58:34 +01:00
#define CONFIG_RELOAD_INTERVAL_SECONDS 3
2025-11-29 01:49:14 +01:00
extern app_config_t config;
int config_load(const char *filename);
void config_free(void);
void config_create_default(const char *filename);
route_config_t *config_find_route(const char *hostname);
2025-11-29 04:58:34 +01:00
int config_check_file_changed(const char *filename);
int config_hot_reload(const char *filename);
2025-11-29 01:49:14 +01:00
#endif