diff options
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -190,7 +190,7 @@ struct cgit_config { | |||
190 | char *script_name; | 190 | char *script_name; |
191 | char *section; | 191 | char *section; |
192 | char *repository_sort; | 192 | char *repository_sort; |
193 | char *virtual_root; | 193 | char *virtual_root; /* Always ends with '/'. */ |
194 | char *strict_export; | 194 | char *strict_export; |
195 | int cache_size; | 195 | int cache_size; |
196 | int cache_dynamic_ttl; | 196 | int cache_dynamic_ttl; |
@@ -300,6 +300,7 @@ extern int chk_positive(int result, char *msg); | |||
300 | extern int chk_non_negative(int result, char *msg); | 300 | extern int chk_non_negative(int result, char *msg); |
301 | 301 | ||
302 | extern char *trim_end(const char *str, char c); | 302 | extern char *trim_end(const char *str, char c); |
303 | extern char *ensure_end(const char *str, char c); | ||
303 | extern char *strlpart(char *txt, int maxlen); | 304 | extern char *strlpart(char *txt, int maxlen); |
304 | extern char *strrpart(char *txt, int maxlen); | 305 | extern char *strrpart(char *txt, int maxlen); |
305 | 306 | ||