Files
Carbon/server_config.h
2025-02-08 22:58:48 +01:00

17 lines
310 B
C

#ifndef SERVER_CONFIG_H
#define SERVER_CONFIG_H
#include <stdbool.h>
typedef struct {
int port;
bool use_https;
char log_file[256];
int max_threads;
bool running;
} ServerConfig;
int load_config(const char *filename, ServerConfig *config);
void init_config(ServerConfig *config);
#endif