furi.h 437 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "flipper.h"
  3. /*
  4. == Flipper universal registry implementation (FURI) ==
  5. ## Requirements
  6. * start daemon app
  7. * kill app
  8. * start child thread (kill when parent app was killed)
  9. * switch between UI apps
  10. */
  11. /*
  12. Create record.
  13. creates new record in registry and store pointer into it
  14. */
  15. bool furi_create(const char* name, void* ptr);
  16. /*
  17. Open record.
  18. get stored pointer by its name
  19. */
  20. void* furi_open(const char* name);