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