Subversion Repositories Games.Carmageddon

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef _REGISTER_H_
  2. #define _REGISTER_H_
  3.  
  4. #include "brender/br_types.h"
  5.  
  6. void* BrRegistryNew(br_registry* reg);
  7.  
  8. void* BrRegistryClear(br_registry* reg);
  9.  
  10. void* BrRegistryAdd(br_registry* reg, void* item);
  11.  
  12. int BrRegistryAddMany(br_registry* reg, void** items, int n);
  13.  
  14. void* BrRegistryRemove(br_registry* reg, void* item);
  15.  
  16. int BrRegistryRemoveMany(br_registry* reg, void** items, int n);
  17.  
  18. void* BrRegistryFind(br_registry* reg, char* pattern);
  19.  
  20. int BrRegistryFindMany(br_registry* reg, char* pattern, void** items, int max);
  21.  
  22. int BrRegistryCount(br_registry* reg, char* pattern);
  23.  
  24. int BrRegistryEnum(br_registry* reg, char* pattern, br_enum_cbfn* callback, void* arg);
  25.  
  26. void* BrRegistryNewStatic(br_registry* reg, br_registry_entry* base, int limit);
  27.  
  28. void* BrRegistryAddStatic(br_registry* reg, br_registry_entry* base, void* item);
  29.  
  30. void* BrRegistryRemoveStatic(br_registry* reg, void* item);
  31.  
  32. #endif
  33.