From b75f15aaf1587594cd398b192cdc40aa83ba8e23 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Wed, 18 Feb 2015 09:25:32 -0500 Subject: git_writestream: from git_filter_stream --- include/git2/sys/filter.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include/git2/sys') diff --git a/include/git2/sys/filter.h b/include/git2/sys/filter.h index cc06c54ad..9b560fa75 100644 --- a/include/git2/sys/filter.h +++ b/include/git2/sys/filter.h @@ -208,18 +208,12 @@ typedef int (*git_filter_apply_fn)( const git_buf *from, const git_filter_source *src); -struct git_filter_stream { - int (*write)(git_filter_stream *stream, const char *buffer, size_t len); - int (*close)(git_filter_stream *stream); - void (*free)(git_filter_stream *stream); -}; - typedef int (*git_filter_stream_fn)( - git_filter_stream **out, + git_writestream **out, git_filter *self, void **payload, const git_filter_source *src, - git_filter_stream *next); + git_writestream *next); /** * Callback to clean up after filtering has been applied -- cgit v1.2.1