Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

trf_querymaxread(3) [debian man page]

Trf_QueryMaxRead(3)					     Library Functions Manual					       Trf_QueryMaxRead(3)

NAME
Trf_QueryMaxRead - Interface for procedures to query a transformation about the max. SYNOPSIS
#include <transform.h> int Trf_QueryMaxRead ( Trf_ControlBlock ctrlBlock, ClientData clientData ); PARAMETERS
Trf_ControlBlock ctrlBlock State of encoder/decoder. ClientData clientData Arbitrary information, as defined in Trf_TypeDefinition.clientData. DESCRIPTION
Number of bytes to read in the next call to the down channel. This procedure will be called by the generic trf layer just before reading data from the channel below the transformation. This way a transformation is able to control its consumption of characters. An example would be 'identity with stop after n characters'. This would transfer at most n characters and then basically fake higher transformations into believing that EOF occured. Then popping it would reveal the truth. Pattern matching could be used here too (internet protocols !). SEE ALSO
Trf_Init(3), Trf_SafeInit(3), Trf_IsInitialized(3), Trf_CreateOptions(3), Trf_DeleteOptions(3), Trf_CheckOptions(3), Trf_SetOption(3), Trf_SetObjOption(3), Trf_QueryOptions(3), Trf_SeekQueryOptions(3), Trf_WriteProc(3), Trf_CreateCtrlBlock(3), Trf_DeleteCtrlBlock(3), Trf_TransformCharacter(3), Trf_TransformBuffer(3), Trf_FlushTransformation(3), Trf_ClearCtrlBlock(3), Trf_Register(3), Trf_ConverterOp- tions(3), Trf_MDStart(3), Trf_MDUpdate(3), Trf_MDUpdateBuf(3), Trf_MDFinal(3), Trf_MDCheck(3), Trf_RegisterMessageDigest(3), Trf_LoadLi- brary(3), Trf_XorBuffer(3), Trf_ShiftRegister(3), Trf_FlipRegisterShort(3), Trf_FlipRegisterLong(3), Trf_InitStubs(3) c2man transform.h 27 August 2002 Trf_QueryMaxRead(3)

Check Out this Related Man Page

Tcl_CreateCloseHandler(3TCL)				      Tcl Library Procedures				      Tcl_CreateCloseHandler(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_CreateCloseHandler, Tcl_DeleteCloseHandler - arrange for callbacks when channels are closed SYNOPSIS
#include <tcl.h> void Tcl_CreateCloseHandler(channel, proc, clientData) void Tcl_DeleteCloseHandler(channel, proc, clientData) ARGUMENTS
Tcl_Channel channel (in) The channel for which to create or delete a close callback. Tcl_CloseProc *proc (in) The procedure to call as the callback. ClientData clientData (in) Arbitrary one-word value to pass to proc. _________________________________________________________________ DESCRIPTION
Tcl_CreateCloseHandler arranges for proc to be called when channel is closed with Tcl_Close or Tcl_UnregisterChannel, or using the Tcl close command. Proc should match the following prototype: typedef void Tcl_CloseProc( ClientData clientData); The clientData is the same as the value provided in the call to Tcl_CreateCloseHandler. Tcl_DeleteCloseHandler removes a close callback for channel. The proc and clientData identify which close callback to remove; Tcl_Delete- CloseHandler does nothing if its proc and clientData arguments do not match the proc and clientData for a close handler for channel. SEE ALSO
close(1T), Tcl_Close(3TCL), Tcl_UnregisterChannel(3TCL) KEYWORDS
callback, channel closing ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_CreateCloseHandler(3TCL)
Man Page