1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
// // main.h // mcc@exe // // Created by Finn Behrens on 19.02.21. // #ifndef main_h #define main_h #include <cNBT/nbt.h> #include "config.h" typedef struct mc_config { uint16_t port; int max_user; char *motd; nbt_node *root; } mc_config_t; extern mc_config_t *config; #endif /* main_h */