/* -*- Mode: C;-*- * * This file is part of XDelta - A binary delta generator. * * Copyright (C) 1997, 1998, 2001 Josh MacDonald * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Author: Josh MacDonald * * $Id: xdelta.h 1.4.1.8.1.50.1.3 Fri, 29 Jun 2001 06:01:08 -0700 jmacd $ */ #ifndef _XDELTA_H_ #define _XDELTA_H_ #include "xd_edsio.h" typedef SerialRsyncIndex XdeltaRsync; typedef SerialRsyncIndexElt XdeltaRsyncElt; typedef SerialXdeltaChecksum XdeltaChecksum; typedef SerialXdeltaIndex XdeltaIndex; typedef SerialXdeltaSourceInfo XdeltaSourceInfo; typedef SerialXdeltaControl XdeltaControl; typedef SerialXdeltaInstruction XdeltaInstruction; typedef struct _XdeltaGenerator XdeltaGenerator; typedef struct _XdeltaSource XdeltaSource; typedef FileHandle XdeltaStream; typedef FileHandle XdeltaOutStream; /* Note: FileHandle is an opaque type, you must define it * to use this library. See how its done in xdmain.c. */ /* $Format: "#define XDELTA_VERSION \"$ReleaseVersion$\"" $ */ #define XDELTA_VERSION "1.1.4" /* $Format: "#define XDELTA_MAJOR_VERSION $ReleaseMajorVersion$" $ */ #define XDELTA_MAJOR_VERSION 1 /* $Format: "#define XDELTA_MINOR_VERSION $ReleaseMinorVersion$" $ */ #define XDELTA_MINOR_VERSION 1 /* $Format: "#define XDELTA_MICRO_VERSION $ReleaseMicroVersion$" $ */ #define XDELTA_MICRO_VERSION 4 extern const guint xdelta_major_version; extern const guint xdelta_minor_version; extern const guint xdelta_micro_version; /* copy segments are of length 1<