https://github.com/git/git
Raw File
Tip revision: 15b7898c5e9fc6fed9a6064213cfcd08cf7d7314 authored by Junio C Hamano on 14 December 2011, 05:30:40 UTC
Git 1.7.6.5
Tip revision: 15b7898
string_pool.h
#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, 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
back to top