zori_registry.h 744 B

12345678910111213141516
  1. #ifndef zori_registry_H_INCLUDED
  2. #define zori_registry_H_INCLUDED
  3. int zori_registry_entry_compare(const void *v1, const void *v2);
  4. zori_id zori_registry_init(struct zori_registry *registry);
  5. void zori_registry_destroy(struct zori_registry *registry);
  6. zori_id zori_registry_add(struct zori_registry *registry, zori_id id, struct zori_widget *widget);
  7. struct zori_registry_entry *zori_registry_lookup_entry(struct zori_registry *registry, zori_id id);
  8. struct zori_widget *zori_registry_lookup(struct zori_registry *registry, zori_id id);
  9. zori_id zori_registry_remove(struct zori_registry *registry, zori_id id);
  10. zori_id zori_initialize_registry(void);
  11. zori_id zori_destroy_registry(void);
  12. struct zori_registry *zori_get_registry(void);
  13. #endif