MAN page from Fedora 8 librsync-devel-2.3.0-1.epel8.playground.x86_64.rpm
Section: C Library Functions (3)
librsync - library for delta compression of streams
cc ... -lrsync
library implements network delta-compression ofstreams and files. The algorithm is similar to that used in thersync(1)
programs, but specialized fortransfer of arbitrary-length octet streams. Unlike most diffprograms, librsync
does not require access to both of the fileson the same machine, but rather only a short ``signature'' of the oldfile and the complete contents of the new file.
The canonical use of librsync is in the rproxy(8)reference implementation of the rsync proposed extension toHTTP. It may be useful to other programs which wish to dodelta-compression in HTTP, or within their own protocol. There areHTTP-specific utility functions within librsync, but they neednot be used.
A number of tools such as rdiff(1) provide command-line andscriptable access to rsync functions.
rdiff and librsync Manual
http://rproxy.sourceforge.net/ or http://linuxcare.com.au/rproxy/.
The rsync protocol is still evolving. There may be bugs in theimplementation. The interface may change in the future, but it isbecoming more stable.
Many routines will panic in case of error rather than returning anerror code to the caller. Patches to fix this are welcome, but at thecurrent state of development aborting seems as useful as trusting topossibly-incomplete checking in the client.
Martin Pool <email@example.com
>, with Andrew Tridgell <tridgeAATTsamba.org>.
rdiff development has been supported by Linuxcare, Inc and VA LinuxSystems.
- SEE ALSO
This document was created byman2html,using the manual pages.