summaryrefslogtreecommitdiff
path: root/stalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'stalloc.h')
-rw-r--r--stalloc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/stalloc.h b/stalloc.h
index 4d5cbce..892767e 100644
--- a/stalloc.h
+++ b/stalloc.h
@@ -1,8 +1,11 @@
#ifndef __STALLOC_H__
#define __STALLOC_H__
-void * st_alloc(size_t s);
-char * st_strdup(const char * src);
-void st_shutdown();
+struct st_alloc_t;
+
+struct st_alloc_t * st_init();
+void * st_alloc(struct st_alloc_t * s, size_t siz);
+char * st_strdup(struct st_alloc_t * s, const char * src);
+void st_destroy(struct st_alloc_t * s);
#endif