]> git.cameronkatri.com Git - cgit.git/blob - ui-ssdiff.h
ui-blame: free read_sha1_file() buffer after use
[cgit.git] / ui-ssdiff.h
1 #ifndef UI_SSDIFF_H
2 #define UI_SSDIFF_H
3
4 /*
5 * ssdiff line limits
6 */
7 #ifndef MAX_SSDIFF_M
8 #define MAX_SSDIFF_M 128
9 #endif
10
11 #ifndef MAX_SSDIFF_N
12 #define MAX_SSDIFF_N 128
13 #endif
14 #define MAX_SSDIFF_SIZE ((MAX_SSDIFF_M) * (MAX_SSDIFF_N))
15
16 extern void cgit_ssdiff_print_deferred_lines(void);
17
18 extern void cgit_ssdiff_line_cb(char *line, int len);
19
20 extern void cgit_ssdiff_header_begin(void);
21 extern void cgit_ssdiff_header_end(void);
22
23 extern void cgit_ssdiff_footer(void);
24
25 #endif /* UI_SSDIFF_H */