some slab cleanups, split the C interface to another file.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Hugo Santos
2007-04-28 09:37:38 +00:00
parent 4e8a1b331f
commit 8a96ba39e3
4 changed files with 143 additions and 135 deletions
+1 -5
View File
@@ -51,15 +51,11 @@ typedef struct base_cache {
void *cookie;
} base_cache;
typedef struct cache_object_link {
struct cache_object_link *next;
} cache_object_link;
typedef struct cache_slab {
void *pages;
size_t count, size;
size_t offset;
cache_object_link *free;
struct cache_object_link *free;
struct list_link link;
} cache_slab;