diff options
author | lookshe <github@lookshe.org> | 2016-02-27 00:12:25 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-02-27 00:20:13 +0100 |
commit | 2209fe5157b431cf57898deb889acdcc704dda64 (patch) | |
tree | f2007f959fb927d72825655d2fe74646a90144cb /ui-shared.h | |
parent | 98c3bb0e3b2953abffbe2ba43e782550be006a37 (diff) |
highlight flyspray-links in log and refs (FS#144)flyspray_integration
plus a bit more cleaner code
Diffstat (limited to 'ui-shared.h')
-rw-r--r-- | ui-shared.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h index 9b972b5..6b4f9aa 100644 --- a/ui-shared.h +++ b/ui-shared.h @@ -1,6 +1,9 @@ #ifndef UI_SHARED_H #define UI_SHARED_H +#define ISSUE_MARKER "FS#" +#define STRLEN_ISSUE_MARKER 3 + extern const char *cgit_httpscheme(void); extern char *cgit_hosturl(void); extern const char *cgit_rooturl(void); @@ -83,5 +86,5 @@ extern void cgit_add_hidden_formfields(int incl_head, int incl_search, const char *page); extern void cgit_author_link(const char *author, const char *head); extern void cgit_check_text_for_issue_link(const char* text); -extern void cgit_issue_link(const char* issue); +extern void cgit_issue_link(const char* issue, const char* class); #endif /* UI_SHARED_H */ |