summaryrefslogtreecommitdiff
path: root/delta.h
blob: bc3a220179cefd0af169ab4f2e6aeeb5675f900a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef DELTA_H
#define DELTA_H

/* handling of delta buffers */
extern void *diff_delta(void *from_buf, unsigned long from_size,
			void *to_buf, unsigned long to_size,
		        unsigned long *delta_size, unsigned long max_size);
extern void *patch_delta(void *src_buf, unsigned long src_size,
			 void *delta_buf, unsigned long delta_size,
			 unsigned long *dst_size);

#endif