2 #ifndef FASTQ_TOOLS_HASH_H
3 #define FASTQ_TOOLS_HASH_H
9 typedef struct hashed_value_
14 struct hashed_value_* next;
20 hashed_value** A; /* table proper */
21 size_t n; /* table size */
22 size_t m; /* hashed items */
23 size_t max_m; /* max hashed items before rehash */
27 hash_table* create_hash_table();
29 void destroy_hash_table(hash_table*);
31 void inc_hash_table(hash_table*, const char* value, size_t len);
33 hashed_value** dump_hash_table(hash_table*);