diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-11-03 10:42:37 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-11-03 10:42:37 +0100 |
commit | 51140311bb3b0d4d0e859d5045ffe4c74478f5fe (patch) | |
tree | 6575f174e32abd5f5d1f481e5f7f5978525ae416 /cgit.h | |
parent | Fix typo in css (diff) | |
download | cgit-pink-51140311bb3b0d4d0e859d5045ffe4c74478f5fe.tar.gz cgit-pink-51140311bb3b0d4d0e859d5045ffe4c74478f5fe.zip |
Add search parameters to cgit_log_link
This makes the [prev] and [next] links work correctly on search results. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h index 42036c3..163f355 100644 --- a/cgit.h +++ b/cgit.h @@ -238,7 +238,8 @@ extern const char *cgit_repobasename(const char *reponame); extern void cgit_tree_link(char *name, char *title, char *class, char *head, char *rev, char *path); extern void cgit_log_link(char *name, char *title, char *class, char *head, - char *rev, char *path, int ofs); + char *rev, char *path, int ofs, char *grep, + char *pattern); extern void cgit_commit_link(char *name, char *title, char *class, char *head, char *rev); extern void cgit_refs_link(char *name, char *title, char *class, char *head, |