Trf_MDStart(3)
β¨ Trf_MDStart β¨
okay bestie, so we're in the Library Functions Manual today and this one is literally a tiny little function pointer type, but it's giving very important, iykyk π
π NAME π
Trf_MDStart β it's the interface to procedures for initialization of a MD context, no cap π
πΈ SYNOPSIS πΈ
#include <transform.h>
void Trf_MDStart(void *context);
π¦ PARAMETERS π¦
void *contextβ the state you're gonna initialize, babe. that's the whole job β¨
π DESCRIPTION π
so here's the tea π: a procedure of this type is the one that gets called to initialize the structure that holds the state of a special message digest algorithm.
the memory block? already allocated by the caller, bestie, not your problem π β and its size is exactly whatever the Trf_MessageDigestDescription structure of the algorithm says it should be. so you just roll up, initialize the state, and slay π
lowkey important: the memory is not yours to allocate here. it shows up ready to go, sized to spec, and you just fill it in.
π SEE ALSO π
your whole little friend group is here, periodt π:
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_QueryMaxRead(3)Trf_Register(3)Trf_ConverterOptions(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)
and that's the whole page, bestie π«Ά this lil' cutie was generated by c2man from transform.h, and the original was dated 27 August 2002 β yes, she's an elder icon and she still ate πβ¨
π¦ where this page comes from
- debian bookworm: tcl-trf-doc 2.1.4-dfsg3-2.1
- debian trixie: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu jammy: tcl-trf-doc 2.1.4-dfsg3-2.1build1
- ubuntu noble: tcl-trf-doc 2.1.4-dfsg3-3
- ubuntu questing: tcl-trf-doc 2.1.4-dfsg3-8
- ubuntu resolute: tcl-trf-doc 2.1.4-dfsg3-8build1
- ubuntu stonking: tcl-trf-doc 2.1.4-dfsg3-9build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms