diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add stable markup hooks for site themes
Diffstat (limited to 'source/ui-ssdiff.h')
-rw-r--r--source/ui-ssdiff.h7
1 file changed, 5 insertions, 2 deletions
diff --git a/source/ui-ssdiff.h b/source/ui-ssdiff.h
index f6489c8..9417277 100644
--- a/source/ui-ssdiff.h
+++ b/source/ui-ssdiff.h
@@ -22,9 +22,12 @@
extern void cgit_ssdiff_line_cb(char *line, int len);
-extern void cgit_ssdiff_header_begin(void);
+/*
+ * Open the group of rows one file's diff occupies, header row included, and
+ * close it again after the last line. path lands on the group as data-path.
+ */
+extern void cgit_ssdiff_header_begin(const char *path);
extern void cgit_ssdiff_header_end(void);
-
extern void cgit_ssdiff_footer(void);
#endif // CGIT_UI_SSDIFF_H