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>
Esse commit está contido em:
Lars Hjemli 2009-08-19 17:43:47 +02:00
commit 523a2161b9

Ver arquivo

@ -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 */