delta.hon commit Keep the parents in order when parsing commits (6c88be1)
   1#ifndef DELTA_H
   2#define DELTA_H
   3
   4/* handling of delta buffers */
   5extern void *diff_delta(void *from_buf, unsigned long from_size,
   6                        void *to_buf, unsigned long to_size,
   7                        unsigned long *delta_size);
   8extern void *patch_delta(void *src_buf, unsigned long src_size,
   9                         void *delta_buf, unsigned long delta_size,
  10                         unsigned long *dst_size);
  11
  12/* handling of delta objects */
  13struct delta;
  14struct object_list;
  15extern struct delta *lookup_delta(const unsigned char *sha1);
  16extern int parse_delta_buffer(struct delta *item, void *buffer, unsigned long size);
  17extern int parse_delta(struct delta *item, unsigned char sha1);
  18extern int process_deltas(void *src, unsigned long src_size,
  19                          const char *src_type, struct object_list *delta);
  20
  21#endif