diff options
author | Martin Pool <mbp@sourcefrog.net> | 2001-02-07 23:24:41 +0000 |
---|---|---|
committer | Martin Pool <mbp@sourcefrog.net> | 2001-02-07 23:24:41 +0000 |
commit | 51114f4d0169297d540373705f6f3d014bc4b2a3 (patch) | |
tree | ef423d9c280f7e77cf6a3e46b35598674d0842b6 /netint.h | |
parent | 819e089b8437e909f5362230057914ecbc672c6d (diff) | |
download | librsync-51114f4d0169297d540373705f6f3d014bc4b2a3.tar.gz |
Change to a generic hs_job_t class so we can share the iterator code.
Drop HSFILE interface; not very useful at the moment. Therefore we
could drop streamfile and other over-complex code as well.
Doc.
Generate strong checksums as well as weak; update the test case to reflect this.
Drop leading underscores on function names; they're not proving very useful.
rdiff/rsum are currently broken, but I wanted to commit the new
library interface anyhow.
Started changing towards libpopt.
Diffstat (limited to 'netint.h')
-rw-r--r-- | netint.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -21,14 +21,14 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -void _hs_squirt_n32(hs_stream_t *stream, int d); -void _hs_squirt_n8(hs_stream_t *stream, int d); +void hs_squirt_n32(hs_stream_t *stream, int d); +void hs_squirt_n8(hs_stream_t *stream, int d); -enum hs_result _hs_suck_n32(hs_stream_t *stream, int *v); -enum hs_result _hs_suck_n8(hs_stream_t *stream, int *v); -enum hs_result _hs_suck_netint(hs_stream_t *stream, int len, int *v); +enum hs_result hs_suck_n32(hs_stream_t *stream, int *v); +enum hs_result hs_suck_n8(hs_stream_t *stream, int *v); +enum hs_result hs_suck_netint(hs_stream_t *stream, int len, int *v); -int _hs_fits_in_n8(size_t val); -int _hs_fits_in_n16(size_t val); -int _hs_fits_in_n32(size_t val); -int _hs_int_len(off_t val); +int hs_fits_in_n8(size_t val); +int hs_fits_in_n16(size_t val); +int hs_fits_in_n32(size_t val); +int hs_int_len(off_t val); |