Home | History | Annotate | Download | only in courgette
      1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Byte level differential compression algorithm used by Courgette.
      6 
      7 #ifndef COURGETTE_SIMPLE_DELTA_H_
      8 #define COURGETTE_SIMPLE_DELTA_H_
      9 
     10 #include "courgette/courgette.h"
     11 #include "courgette/streams.h"
     12 
     13 namespace courgette {
     14 
     15 Status ApplySimpleDelta(SourceStream* old, SourceStream* delta,
     16                         SinkStream* target);
     17 
     18 Status GenerateSimpleDelta(SourceStream* old, SourceStream* target,
     19                            SinkStream* delta);
     20 
     21 }  // namespace courgette
     22 
     23 #endif  // COURGETTE_SIMPLE_DELTA_H_
     24