mirror of
https://github.com/git/git.git
synced 2024-10-30 05:47:53 +01:00
e435811208
This bug was found while importing rev 601865 of ASF. [jn: with test] Signed-off-by: David Barr <david.barr@cordelta.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
12 lines
471 B
C
12 lines
471 B
C
#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);
|
|
void pool_print_seq_q(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
|