logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Trf_SetOption - Interface to procedures to define the value of an option.

Description

       The  procedure  takes  the specified optionname (rejecting illegal ones) and places the given optionvalue
       into the container. All necessary conversions from a string to the required type  should  be  done  here.
       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.

Name

       Trf_SetOption - Interface to procedures to define the value of an option.

Parameters

Trf_Optionsoptions
              Container to place the value into.

       Tcl_Interp*interp
              Interpreter for error messages (NULL possible).

       constchar*optname
              Name of option to define.

       constchar*optvalue
              Value to set into the container.

       ClientDataclientData
              Arbitrary information, as defined in Trf_TypeDefinition.clientData.

See Also

Trf_Init(3),    Trf_SafeInit(3),    Trf_IsInitialized(3),   Trf_CreateOptions(3),   Trf_DeleteOptions(3),
       Trf_CheckOptions(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_QueryMaxRead(3),      Trf_Register(3),
       Trf_ConverterOptions(3),    Trf_MDStart(3),    Trf_MDUpdate(3),    Trf_MDUpdateBuf(3),    Trf_MDFinal(3),
       Trf_MDCheck(3), Trf_RegisterMessageDigest(3), Trf_LoadLibrary(3), Trf_XorBuffer(3), Trf_ShiftRegister(3),
       Trf_FlipRegisterShort(3), Trf_FlipRegisterLong(3), Trf_InitStubs(3)

c2man transform.h                                27 August 2002                                 Trf_SetOption(3)

Synopsis

#include<transform.h>intTrf_SetOption(Trf_Optionsoptions,Tcl_Interp*interp,constchar*optname,constchar*optvalue,ClientDataclientData);

See Also