2
Copyright (c) 2009 Gluster, Inc. <http://www.gluster.com>
3
This file is part of GlusterFS.
5
GlusterFS is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published
7
by the Free Software Foundation; either version 3 of the License,
8
or (at your option) any later version.
10
GlusterFS is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see
17
<http://www.gnu.org/licenses/>.
20
#ifndef __CHECKSUM_H__
21
#define __CHECKSUM_H__
24
gf_rsync_weak_checksum (char *buf, int32_t len);
27
gf_rsync_strong_checksum (char *buf, int32_t len, uint8_t *sum);
29
#endif /* __CHECKSUM_H__ */