librsync  2.0.1
netint.h
1 /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
2  *
3  * librsync -- library for network deltas
4  *
5  * Copyright (C) 1999, 2000, 2001 by Martin Pool <[email protected]>
6  * Copyright (C) 1999 by Andrew Tridgell <[email protected]>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22 
23 rs_result rs_squirt_byte(rs_job_t *, unsigned char d);
24 rs_result rs_squirt_netint(rs_job_t *, rs_long_t d, int len);
25 rs_result rs_squirt_n4(rs_job_t *, int val);
26 
27 rs_result rs_suck_netint(rs_job_t *, rs_long_t *v, int len);
28 rs_result rs_suck_byte(rs_job_t *, unsigned char *);
29 rs_result rs_suck_n4(rs_job_t *, int *);
30 
31 int rs_int_len(rs_long_t val);
long long rs_long_t
A long integer type that can handle the largest file offsets.
rs_result
Return codes from nonblocking rsync operations.
Definition: librsync.h:192
The contents of this structure are private.
Definition: job.h:29