Home | History | Annotate | Download | only in C
      1 /* Delta.h -- Delta converter
      2 2009-04-15 : Igor Pavlov : Public domain */
      3 
      4 #ifndef __DELTA_H
      5 #define __DELTA_H
      6 
      7 #include "Types.h"
      8 
      9 #ifdef __cplusplus
     10 extern "C" {
     11 #endif
     12 
     13 #define DELTA_STATE_SIZE 256
     14 
     15 void Delta_Init(Byte *state);
     16 void Delta_Encode(Byte *state, unsigned delta, Byte *data, SizeT size);
     17 void Delta_Decode(Byte *state, unsigned delta, Byte *data, SizeT size);
     18 
     19 #ifdef __cplusplus
     20 }
     21 #endif
     22 
     23 #endif
     24