1 /*-----------------------------------------------------------------------
\r
3 ; XRLETOOL - header file
\r
7 ; ****** XLIB - Mode X graphics library ****************
\r
8 ; ****** ****************
\r
9 ; ****** Written By Themie Gouthas ****************
\r
11 ; egg@dstos3.dsto.gov.au
\r
12 ; teg@bart.dsto.gov.au
\r
14 ;-----------------------------------------------------------------------*/
\r
16 #ifndef _XRLETOOL_H_
\r
17 #define _XRLETOOL_H_
\r
19 extern unsigned int RLE_last_buff_offs;
\r
21 /* FUNCTIONS =========================================================== */
\r
23 extern unsigned int x_buff_RLEncode( /* Compress data buffer */
\r
24 char far * source_buff,
\r
25 char far * dest_buff,
\r
26 unsigned int count);
\r
28 extern unsigned int x_buff_RLE_size( /* Calculate buffer's compressed size */
\r
29 char far * source_buff,
\r
30 unsigned int count);
\r
33 extern unsigned int x_buff_RLDecode( /* Uncompress data buffer */
\r
34 char far * source_buff,
\r
35 char far * dest_buff);
\r
37 extern int x_file_RLEncode( /* Compress data buffer to file */
\r
39 char far * src_buff,
\r
40 unsigned int count);
\r
42 extern int x_file_RLDecode( /* Uncompress data file */
\r
44 char far * dest_buff);
\r