Diff options
Diffstat (limited to '')
| -rw-r--r-- | source/ui-shared.h | 7 |
1 file changed, 7 insertions, 0 deletions
diff --git a/source/ui-shared.h b/source/ui-shared.h index ee350f0..32337d9 100644 --- a/source/ui-shared.h +++ b/source/ui-shared.h @@ -115,6 +115,13 @@ extern void cgit_print_age(time_t t, int tz, time_t max_relative); extern void cgit_print_date(timestamp_t date, int tz); /* + * Print the anchor of every line from first to last, each linking to itself. + * The anchors are handed over in batches rather than a write per line, and + * never built whole, which would come to several times the blob's size. + */ +extern void cgit_print_line_anchors(size_t first, size_t last); + +/* * Print name through the email filter, followed by the address when * show_email is set and enable-plain-email is on. A missing address reaches * the filter as an empty string, since a filter must not be handed NULL. |
