config.h 367 B

12345678910111213141516171819
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #include "compiler.h"
  4. #include "common.h"
  5. #include "sysvars.h"
  6. #include "confenum.h"
  7. #define CONFIG_BUFSIZE 16384
  8. extern char config_buf[CONFIG_BUFSIZE];
  9. extern volatile bool do_update_config;
  10. extern bool _configured;
  11. static inline bool configured(void)
  12. {
  13. return _configured;
  14. }
  15. void update_config(void);
  16. #endif /* CONFIG_H */