summaryrefslogtreecommitdiffstatshomepage
path: root/ui-ssdiff.h
blob: 88627e297c8b2091919e6274010d2bb7812ca067 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef UI_SSDIFF_H
#define UI_SSDIFF_H

/*
 * ssdiff line limits
 */
#ifndef MAX_SSDIFF_M
#define MAX_SSDIFF_M 128
#endif

#ifndef MAX_SSDIFF_N
#define MAX_SSDIFF_N 128
#endif
#define MAX_SSDIFF_SIZE ((MAX_SSDIFF_M) * (MAX_SSDIFF_N))

extern void cgit_ssdiff_print_deferred_lines();

extern void cgit_ssdiff_line_cb(char *line, int len);

extern void cgit_ssdiff_header_begin();
extern void cgit_ssdiff_header_end();

extern void cgit_ssdiff_footer();

#endif /* UI_SSDIFF_H */