blob: d35333a159e411358ad2bd132e5a7887d50c0416 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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_
|