Re: XML-outputting editor questions
From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-09-30 14:37:56 CEST
Greg Hudson <ghudson@mit.edu> writes:
> * The envisioned interface svn_txdelta_to_vcdiff() doesn't
Greg, maybe this document will help. I believe it's under
---------------------------------------------------------------------
(Yes, the interfaces are a bit simplified. :) )
To SEND textdeltas
2. (If using an "editor" to transmit information -- PUSH Interface:)
window_consumer_func = editor->apply_textdelta (file_baton);
Loop:
--- OR ---
(If you want raw vcdiff data for embedding in XML or HTTP
vcdiff_read_fn = svn_txdelta_to_vcdiff (txdelta_stream);
Loop:
3. svn_txdelta_free (txdelta_stream);
To RECEIVE textdeltas
write a window_consumer_func() which parses the ops within each
--- AND OPTIONALLY ---
(If you want to receive raw vcdiff data from XML or HTTP transactions:)
vcdiff_parser = svn_make_vcdiff_parser (window_consumer_func);
Loop over vcdiff data:
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.