config.h 345 B

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