]>
git.ipfire.org Git - thirdparty/git.git/blob - vcs-svn/sliding_window.h
1 #ifndef SLIDING_WINDOW_H
2 #define SLIDING_WINDOW_H
7 struct line_buffer
*file
;
10 off_t max_off
; /* -1 means unlimited */
14 #define SLIDING_VIEW_INIT(input, len) { (input), 0, 0, (len), STRBUF_INIT }
16 int move_window(struct sliding_view
*view
, off_t off
, size_t width
);