summaryrefslogtreecommitdiff
path: root/vcs-svn/string_pool.h
blob: 3720cf81642596a05dbbafe4d37a79e4e5c9995b (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef STRING_POOL_H_
#define STRING_POOL_H_
 
uint32_t pool_intern(const char *key);
const char *pool_fetch(uint32_t entry);
uint32_t pool_tok_r(char *str, const char *delim, char **saveptr);
void pool_print_seq(uint32_t len, const uint32_t *seq, char delim, FILE *stream);
uint32_t pool_tok_seq(uint32_t sz, uint32_t *seq, const char *delim, char *str);
void pool_reset(void);
 
#endif