cache.h: export hash_str()

This function will be reused to cache the result of tree scanning.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2009-08-19 17:43:47 +02:00
parent 6f3bf1ae1e
commit 523a2161b9
1 changed files with 2 additions and 0 deletions

View File

@ -32,4 +32,6 @@ extern int cache_ls(const char *path);
/* Print a message to stdout */
extern void cache_log(const char *format, ...);
extern unsigned long hash_str(const char *str);
#endif /* CGIT_CACHE_H */