diff options
Diffstat (limited to 'cgit.h')
| -rw-r--r-- | cgit.h | 9 |
1 files changed, 3 insertions, 6 deletions
| @@ -62,6 +62,7 @@ struct cgit_repo { | |||
| 62 | int enable_log_filecount; | 62 | int enable_log_filecount; |
| 63 | int enable_log_linecount; | 63 | int enable_log_linecount; |
| 64 | int max_stats; | 64 | int max_stats; |
| 65 | time_t mtime; | ||
| 65 | }; | 66 | }; |
| 66 | 67 | ||
| 67 | struct cgit_repolist { | 68 | struct cgit_repolist { |
| @@ -123,6 +124,8 @@ struct cgit_query { | |||
| 123 | char *period; | 124 | char *period; |
| 124 | int ofs; | 125 | int ofs; |
| 125 | int nohead; | 126 | int nohead; |
| 127 | char *sort; | ||
| 128 | int showmsg; | ||
| 126 | }; | 129 | }; |
| 127 | 130 | ||
| 128 | struct cgit_config { | 131 | struct cgit_config { |
| @@ -236,11 +239,5 @@ extern const char *cgit_repobasename(const char *reponame); | |||
| 236 | 239 | ||
| 237 | extern int cgit_parse_snapshots_mask(const char *str); | 240 | extern int cgit_parse_snapshots_mask(const char *str); |
| 238 | 241 | ||
| 239 | /* libgit.a either links against or compiles its own implementation of | ||
| 240 | * strcasestr(), and we'd like to reuse it. Simply re-declaring it | ||
| 241 | * seems to do the trick. | ||
| 242 | */ | ||
| 243 | extern char *strcasestr(const char *haystack, const char *needle); | ||
| 244 | |||
| 245 | 242 | ||
| 246 | #endif /* CGIT_H */ | 243 | #endif /* CGIT_H */ |
