diff options
Diffstat (limited to 'lib/resource.h')
-rw-r--r-- | lib/resource.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/resource.h b/lib/resource.h index 8bb264b1..5ad011ec 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -40,7 +40,12 @@ struct resclass { /* Generic resource manipulation */ -typedef struct pool pool; +typedef struct pool { + resource r; + list inside; + const char *name; +} pool; + void resource_init(void); pool *rp_new(pool *, const char *); /* Create new pool */ |