[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] v2. char_filter_callback for streams (or line_transformer)

From: Daniel Näslund <daniel_at_longitudo.com>
Date: Thu, 27 Aug 2009 13:59:53 +0200

Fixed some formatting issues.

 [[[
 Creata a new callback for svn_stream_readline() that can replace, add or
 delete characters from a line.
 
 * subversion/include/svn_io.h
  (svn_stream_set_line_transformer_callback): Declare
 
 * subversion/libsvn_subr/stream.c
   (svn_stream_set_line_transformer_callback): Sets the new callback
 
 * subversion/tests/libsvn_subr/stream-tests.c
   (line_transformer): A callback of the new function. Removes leading
     '!' characters. Does not allocate a new line.
   (test_stream_line_transformer): tests the above callback.
 ]]]
 
 Mvh
Daniel

Received on 2009-08-27 14:01:16 CEST

This is an archived mail posted to the Subversion Dev mailing list.