1                        DYNAMIC ADAPTIVE COMPRESSION TOOL
2                                 DACT 0.8.42
3
4Release information:
5  pkg:  DACT version 0.8.42
6  url:  http://www.rkeene.org/files/oss/dact/dact-0.8.42.tar.gz
7  web:  http://www.rkeene.org/oss/dact/
8  date: Mon May 31 23:32:43 CDT 2010
9--------------------------------------------------------------------------
10
111. EXPLANATION:
12
13	Take file, compress each block with 1 of 256 algorithms (including
14no compression) and use algorithm on a per block basis.
15
16
172. WARNING!  You should never use an algorithm listed in algorithms.h under DEBUG for real data, they are subject to reordering, recoding, and removal.
18
19
203. FEEDBACK would be appreciated.  Email me, dact@rkeene.org,
21	if you find a flaw in the code, or if you have a suggestion.
22
23
244. WRITING A COMPRESSION ALGORITHM FOR DACT:
25
26	a. You can use comp_plain.[ch] as an example for the interface.
27	b. Your function must take 5 parameters:
28	        mode            - DACT_MODE_COMPR or DACT_MODE_DECMP
29                	            Determine whether to compress or decompress.
30        	prev_block      - Previous (uncompressed) block.
31	        curr_block      - The data to be compressed.
32	        out_block       - Where to put data after compression.
33	        blk_size        - Size of prev_block and curr_block.
34	c. Add your function's header file to algorithms.h:
35		#include "comp_youralgorithm.h"
36	d. Add your function's call to algorithms[] in algorithms.h, before
37	     the NULL:
38		comp_yourfunction_algo,
39	e. Add your function's code to the Makefile.in (if it has no depencies):
40		ALGO+=comp_yourfunction.o
41
425. Horror Stories:
43
44	a. Submit yours today!
45
466. Bugs:
47
48	a. Please submit all bugs to dact@rkeene.org
49