diff options
Diffstat (limited to 'courgette/simple_delta.h')
-rw-r--r-- | courgette/simple_delta.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/courgette/simple_delta.h b/courgette/simple_delta.h new file mode 100644 index 0000000..d35333a --- /dev/null +++ b/courgette/simple_delta.h @@ -0,0 +1,23 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Byte level differential compression algorithm used by Courgette. + +#ifndef COURGETTE_SIMPLE_DELTA_H_ +#define COURGETTE_SIMPLE_DELTA_H_ + +#include "courgette/courgette.h" +#include "courgette/streams.h" + +namespace courgette { + +Status ApplySimpleDelta(SourceStream* old, SourceStream* delta, + SinkStream* target); + +Status GenerateSimpleDelta(SourceStream* old, SourceStream* target, + SinkStream* delta); + +} // namespace courgette + +#endif // COURGETTE_SIMPLE_DELTA_H_ |