mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 00:18:41 +00:00
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:
parent
6f3bf1ae1e
commit
523a2161b9
2
cache.h
2
cache.h
@ -32,4 +32,6 @@ extern int cache_ls(const char *path);
|
|||||||
/* Print a message to stdout */
|
/* Print a message to stdout */
|
||||||
extern void cache_log(const char *format, ...);
|
extern void cache_log(const char *format, ...);
|
||||||
|
|
||||||
|
extern unsigned long hash_str(const char *str);
|
||||||
|
|
||||||
#endif /* CGIT_CACHE_H */
|
#endif /* CGIT_CACHE_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user