1 #ifndef CONFIG_H 2 #define CONFIG_H 3 4 #include <stdio.h> 5 6 struct config_s { 7 char *fontname; 8 char *hsfile; 9 int fontsize; 10 int showmoves; 11 }; 12 typedef struct config_s *config_ptr; 13 typedef struct config_s config_t[1]; 14 15 void config_load(config_ptr config); 16 FILE *config_get_fp(); 17 18 #endif //CONFIG_H 19