Greg Stein <firstname.lastname@example.org> writes:
> Even easier:
> *stream = svn_stream_create(pool, rs, read_string_fn, NULL /* write */,
> NULL /* seek */);
> One simple entry point which takes the appropriate functions and the baton.
+1 (C + a crowbar == an object-oriented language).
Go for it. Ben and I are still AWOL on this other (non-Subversion
work), as mentioned in previous mail. We should be done by the end of
> It would also be simple to have utility functions:
> svn_stream_create_ro(pool, rs, read_string_fn);
> svn_stream_create_wo(pool, rs, write_string_fn);
> (seekable or read/write streams would use the full create() function; or we
> could create _ros(...) and _wos(...) for seekable forms)
> Note that it remains quite easy for the creator of the stream. The user of
> the stream would no longer call the read/write functions directly, but would
> go through svn_stream_read() type functions.
> Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:17 2006