00001 /*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*- 00002 * 00003 * librsync -- library for network deltas 00004 * $Id: protocol.h,v 1.1.1.1 2002/01/25 22:15:09 kergoth Exp $ 00005 * 00006 * Copyright (C) 1999, 2000, 2001 by Martin Pool <mbp@samba.org> 00007 * Copyright (C) 1999 by Andrew Tridgell 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public License 00011 * as published by the Free Software Foundation; either version 2.1 of 00012 * the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 00022 00023 00024 /* 00025 * TODO: Have a way to copy from the old signature into the new 00026 * one. This will be useful for the case where the files are in fact 00027 * identical, which will be significantly common. 00028 */ 00029 00030 00031 /* 00032 | "The IETF already has more than enough 00033 | RFCs that codify the obvious, make 00034 | stupidity illegal, support truth, 00035 | justice, and the IETF way, and generally 00036 | demonstrate the author is a brilliant and 00037 | valuable Contributor to The Standards 00038 | Process." 00039 | -- Vernon Schryver 00040 */ 00041 00042 00043 00044 #define RS_DELTA_MAGIC 0x72730236 /* r s \2 6 */ 00045 #define RS_SIG_MAGIC 0x72730136 /* r s \1 6 */
1.4.2