Dr Andrew Scott G7VAV

My photo
 
March 2024
Mo Tu We Th Fr Sa Su
26 27 28 29 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
1 2 3 4 5 6 7


librsync

Section: C Library Functions (3)
Updated: $Date: 2003/06/12 06:03:32 $
Index Return to Main Contents
 

NAME

librsync - library for delta compression of streams  

SYNOPSYS


 #include <stdio.h>

 #include <stdlib.h>

 #include <librsync.h>


 cc ... -lrsync

 

DESCRIPTION

The librsync library implements network delta-compression of streams and files. The algorithm is similar to that used in the rsync(1) and xdelta(2) programs, but specialized for transfer of arbitrary-length octet streams. Unlike most diff programs, librsync does not require access to both of the files on the same machine, but rather only a short ``signature'' of the old file 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 to HTTP. It may be useful to other programs which wish to do delta-compression in HTTP, or within their own protocol. There are HTTP-specific utility functions within librsync, but they need not be used.

A number of tools such as rdiff(1) provide command-line and scriptable access to rsync functions.  

SEE ALSO

rdiff(1)

rdiff and librsync Manual

http://rproxy.sourceforge.net/.

draft-pool-rsync  

BUGS

The rsync protocol is still evolving. There may be bugs in the implementation. The interface may change in the future, but it is becoming more stable.

Many routines will panic in case of error rather than returning an error code to the caller. Patches to fix this are welcome, but at the current state of development aborting seems as useful as trusting to possibly-incomplete checking in the client.  

AUTHOR

Martin Pool <mbp@samba.org>, with Andrew Tridgell <tridge@samba.org>.

rdiff development has been supported by Linuxcare, Inc and VA Linux Systems.


 

Index

NAME
SYNOPSYS
DESCRIPTION
SEE ALSO
BUGS
AUTHOR


for client 52.91.54.203
© Andrew Scott 2006 - 2024,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/