librsync  2.0.1
search.h
1 /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
2  *
3  * librsync -- the library for network deltas
4  *
5  * Copyright (C) 1999, 2000, 2014 by Martin Pool <[email protected]>
6  * Copyright (C) 1999 by Andrew Tridgell
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 int
24 rs_search_for_block(rs_weak_sum_t weak_sum,
25  const rs_byte_t *inbuf,
26  size_t block_len,
27  rs_signature_t const *sums, rs_stats_t * stats,
28  rs_long_t * match_where);
29 
long long rs_long_t
A long integer type that can handle the largest file offsets.
Performance statistics from a librsync encoding or decoding operation.
Definition: librsync.h:235