about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-08-19 17:43:47 +0200
committerLars Hjemli <hjemli@gmail.com>2009-08-24 10:22:57 +0200
commit523a2161b9a21f5fa8526280bb914d7affb185b1 (patch)
tree8ce3030050b45692eb44b24f67103eaa17f5fc04
parentcgit.c: add support for cgitrc option 'repo.scan' (diff)
downloadcgit-pink-523a2161b9a21f5fa8526280bb914d7affb185b1.tar.gz
cgit-pink-523a2161b9a21f5fa8526280bb914d7affb185b1.zip
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>
Diffstat (limited to '')
-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);
 /* Print a message to stdout */
 extern void cache_log(const char *format, ...);
 
+extern unsigned long hash_str(const char *str);
+
 #endif /* CGIT_CACHE_H */
a href='/src/commit/bin/mtags.c?id=3e4cbcf40a45dfe50b6ffc107307ec28ad6eb7e0&follow=1'>Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe