Merge branch 'jc/grep-header-all-match-fix'
[git/kirr.git] / vcs-svn / string_pool.h
blob222fb66e6832ac480ce42c0c65923ac9d9761085
1 #ifndef STRING_POOL_H_
2 #define STRING_POOL_H_
4 uint32_t pool_intern(const char *key);
5 const char *pool_fetch(uint32_t entry);
6 uint32_t pool_tok_r(char *str, const char *delim, char **saveptr);
7 void pool_print_seq(uint32_t len, uint32_t *seq, char delim, FILE *stream);
8 uint32_t pool_tok_seq(uint32_t sz, uint32_t *seq, const char *delim, char *str);
9 void pool_reset(void);
11 #endif