1 #ifndef _RAZOR_TYPES_H_
2 #define _RAZOR_TYPES_H_
11 void array_init(struct array *array);
12 void array_release(struct array *array);
13 void *array_add(struct array *array, int size);
21 void hashtable_init(struct hashtable *table, struct array *pool);
22 void hashtable_release(struct hashtable *table);
23 uint32_t hashtable_insert(struct hashtable *table, const char *key);
24 uint32_t hashtable_lookup(struct hashtable *table, const char *key);
25 uint32_t hashtable_tokenize(struct hashtable *table, const char *string);
27 #endif /* _RAZOR_TYPES_H_ */