c_rle.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static COMP_METHOD rle_method={
NULL,
NULL,
NULL,
NULL,
};
COMP_METHOD *COMP_rle(void)
{
return(&rle_method);
}
{
/* int i; */
{
/* ZZZZZZZZZZZZZZZZZZZZZZ */
return(-1);
}
*(out++)=0;
return(ilen+1);
}
{
int i;
{
/* ZZZZZZZZZZZZZZZZZZZZZZ */
return(-1);
}
i= *(in++);
if (i == 0)
{
}
return(ilen-1);
}