1 2 3 4 5 6 7 8 9 10 11
#ifndef CONFIG_H #define CONFIG_H typedef struct { char host[256]; int port; } Config; int load_config(const char *filename, Config *config); #endif