Trf_ClearCtrlBlock(3) Interface for procedures to reset the internal state of an encoder/decoder.


#include <transform.h>

void Trf_ClearCtrlBlock
       Trf_ControlBlock ctrlBlock,

       ClientData clientData



Trf_ControlBlock ctrlBlock
State of encoder/decoder.
ClientData clientData
Arbitrary information, as defined in Trf_TypeDefinition.clientData.


The generic io layer of tcl sometimes discards its input buffer. A procedure of this type will be called in such a case to reset the internal state of the control structure and to discard buffered characters.