Trf_WriteProc(3)

Trf_WriteProc3

Interface to procedures used by an encoder/decoder to write its transformation results.

Usage

#include <transform.h>

int Trf_WriteProc
(

ClientData clientData,

unsigned char *outString,

int outLen,

Tcl_Interp *interp
);

Parameters

ClientData clientData

Arbitrary information, defined during controlblock creation.

unsigned char *outString

Buffer with characters to write.

int outLen

Number of characters in buffer.

Tcl_Interp *interp

Interpreter for error messages (NULL possible).

Overview

Procedures of this type are called by an encoder/decoder to write (partial) transformation results, decoupling the final destination from result generation. Return value is a standard tcl error code. In case of failure and interp not NULL an error message should be left in the result area of the specified interpreter.

Releases

Unchanged in 9 releases since Debian 5.0 (Lenny).

  1. 5.0–13

From tcl-trf-doc 2.1.4-dfsg3-8 in Debian 13 (Trixie). Parsed by carta from the page's man source.