- Changed the {read,write}_longint() functions into separate
authorWayne Davison <wayned@samba.org>
Fri, 20 Apr 2007 08:16:53 +0000 (08:16 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 20 Apr 2007 08:16:53 +0000 (08:16 +0000)
commit351e23ad8e1b2b077bec77d6250d1c82fb04dd1f
treebe1c80953c72d1a2404fd6acad112d791e9f7c01
parentf31514adb780899d886df63edd79ac3d48363f2f
- Changed the {read,write}_longint() functions into separate
  {read,write}_varlong() and {read,write}_longint() functions:
  the former handles variable-length transmissions, and the
  latter is backward-compatible with older rsync versions.
- Improved the {read,write}_var{int,long}() functions to be
  simpler and to use a different byte order.
- The {read_write}_varlong() functions also allow the caller
  to specify the minimum number of bytes to send.  This allows
  time values to be sent efficiently with a 4-byte minimum,
  while length values continue to be sent with a (more optimal
  for them) 3-byte minimum.
io.c