librsync  2.0.1
emit.h
1 /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
2  *
3  * librsync -- dynamic caching and delta update in HTTP
4  *
5  * Copyright (C) 2000, 2001 by Martin Pool <[email protected]>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 
22 
23 /*
24  * emit.h -- How to emit commands to the client
25  */
26 
27 
28 void rs_emit_delta_header(rs_job_t *);
29 void rs_emit_literal_cmd(rs_job_t *, int len);
30 void rs_emit_end_cmd(rs_job_t *);
31 void rs_emit_copy_cmd(rs_job_t *job, rs_long_t where, rs_long_t len);
long long rs_long_t
A long integer type that can handle the largest file offsets.
The contents of this structure are private.
Definition: job.h:29