4 #include "transformation.h"
10 null_initialize(Transformation
*xform
, int enc
)
19 null_shutdown(Transformation
*xform
)
28 null_startNewTape(Transformation
*xform
, struct tapebuf
*tpbin
,
29 unsigned long *destlen
)
35 * Start slave process.
38 null_startDiskIOProcess(Transformation
*xform
)
47 null_endDiskIOProcess(Transformation
*xform
)
56 null_compress(Transformation
*xform
, struct tapebuf
*tpbin
, unsigned long *destlen
,
57 const char *src
, int srclen
)
59 memcpy(tpbin
->buf
, src
, srclen
);
66 * Decompress a buffer.
69 null_decompress(Transformation
*xform
, struct tapebuf
*tpbin
, unsigned long *destlen
,
70 const char *src
, int srclen
, char **reason
)
72 memcpy(tpbin
->buf
, src
, srclen
);
81 Transformation transformation_null
=
90 &null_startDiskIOProcess
,
91 &null_endDiskIOProcess
,