aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2009-08-20 00:43:47 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2009-08-24 17:22:57 (JST)
commit523a2161b9a21f5fa8526280bb914d7affb185b1 (patch)
tree8ce3030050b45692eb44b24f67103eaa17f5fc04
parent6f3bf1ae1eb1d4114a1df0194b2236665a13bdac (diff)
downloadcgit-523a2161b9a21f5fa8526280bb914d7affb185b1.zip
cgit-523a2161b9a21f5fa8526280bb914d7affb185b1.tar.gz
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>
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 66cc41f..ac9276b 100644
--- a/cache.h
+++ b/cache.h
@@ -32,4 +32,6 @@ extern int cache_ls(const char *path);
32/* Print a message to stdout */ 32/* Print a message to stdout */
33extern void cache_log(const char *format, ...); 33extern void cache_log(const char *format, ...);
34 34
35extern unsigned long hash_str(const char *str);
36
35#endif /* CGIT_CACHE_H */ 37#endif /* CGIT_CACHE_H */