config: make empty js= omit script tag
[cgit.git] / ui-ssdiff.h
blob11f2714407c72e3188ab1d1330cca3ad87fe1ad4
1 #ifndef UI_SSDIFF_H
2 #define UI_SSDIFF_H
4 /*
5 * ssdiff line limits
6 */
7 #ifndef MAX_SSDIFF_M
8 #define MAX_SSDIFF_M 128
9 #endif
11 #ifndef MAX_SSDIFF_N
12 #define MAX_SSDIFF_N 128
13 #endif
14 #define MAX_SSDIFF_SIZE ((MAX_SSDIFF_M) * (MAX_SSDIFF_N))
16 extern void cgit_ssdiff_print_deferred_lines(void);
18 extern void cgit_ssdiff_line_cb(char *line, int len);
20 extern void cgit_ssdiff_header_begin(void);
21 extern void cgit_ssdiff_header_end(void);
23 extern void cgit_ssdiff_footer(void);
25 #endif /* UI_SSDIFF_H */