00001 /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-00002 *00003 * librsync -- library for network deltas00004 *00005 * Copyright (C) 1999, 2000, 2001 by Martin Pool <mbp@sourcefrog.net>00006 * Copyright (C) 1999 by Andrew Tridgell <tridge@samba.org>00007 *00008 * This program is free software; you can redistribute it and/or modify00009 * it under the terms of the GNU Lesser General Public License as published by00010 * the Free Software Foundation; either version 2.1 of the License, or00011 * (at your option) any later version.00012 *00013 * This program is distributed in the hope that it will be useful,00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the00016 * GNU Lesser General Public License for more details.00017 *00018 * You should have received a copy of the GNU Lesser General Public License00019 * along with this program; if not, write to the Free Software00020 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.00021 */00022
00023 rs_resultrs_squirt_byte(rs_job_t *job, rs_byte_t val);
00024 rs_resultrs_squirt_netint(rs_job_t *job, rs_long_t val, int len);
00025 rs_result rs_squirt_n4(rs_job_t *job, int val);
00026
00027 rs_result rs_suck_byte(rs_job_t *job, rs_byte_t *val);
00028 rs_result rs_suck_netint(rs_job_t *job, rs_long_t *val, int len);
00029 rs_result rs_suck_n4(rs_job_t *job, int *val);
00030
00031 int rs_int_len(rs_long_t val);