#ifndef STRING_TABLE_H_ #define STRING_TABLE_H_ #include struct string_table { b_btree s_hash_tree; b_btree s_offset_tree; size_t s_next_offset; }; extern void string_table_init(struct string_table *out); extern void string_table_finish(struct string_table *tab); extern size_t string_table_get(struct string_table *tab, const char *s); #endif