aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-02-26 10:35:57 +0100
committerlookshe <github@lookshe.org>2016-02-26 10:35:57 +0100
commit1c1f2a00d290598f050cb77ad4c846902a135f5b (patch)
treeeade990c622ab4992f2ab49d6a70ce71e1a4d63e /cgit.h
parent335423fb9ded67f3820f34793a7774d9f35d7c09 (diff)
implementation to link FS#[0-9]+ to flyspray (FS#141)
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index de5c94a..567bfec 100644
--- a/cgit.h
+++ b/cgit.h
@@ -270,6 +270,7 @@ struct cgit_config {
struct cgit_filter *email_filter;
struct cgit_filter *owner_filter;
struct cgit_filter *auth_filter;
+ char* issue_link;
};
struct cgit_page {
@@ -394,4 +395,6 @@ extern char *expand_macros(const char *txt);
extern char *get_mimetype_for_filename(const char *filename);
+extern char *sub_str(const char* text, int begin, int end);
+
#endif /* CGIT_H */