TT_MESSAGE_XCONTEXT_SET(3)
πΈ NAME πΈ
okay so this is tt_message_xcontext_set from the library call manual β the function that sets the XDR-interpreted byte-array value of a message's context. periodt π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_status tt_message_xcontext_set(
Tt_message m,
const char *slotname,
xdrproc_t xdr_proc,
void *value);
π DESCRIPTION π
Bestie, tt_message_xcontext_set sets the XDR-interpreted byte-array value of a message's context. That's the whole main-character move β¨.
mβ the opaque handle for the message involved in this operation π«Ά.slotnameβ describes the slotname in this message.valueβ the byte string with the contents for the message argument.xdr_procβ points to the XDR procedure to be used to serialize the data pointed to byvalue.valueβ also, literally the data to be serialized. no cap.
π₯ RETURN VALUE π₯
Upon successful completion, tt_message_xcontext_set returns the status of the operation as one of these Tt_status values:
TT_OKβ The operation completed successfully. slay πTT_ERR_NOMPβ Thettsession(1)process is not running and the ToolTalk service cannot restart it. πTT_ERR_POINTERβ The pointer does not point at an object of the correct type for this operation. πTT_ERR_SLOTNAMEβ The specifiedslotnameis syntactically invalid. πTT_ERR_XDRβ The XDR procedure failed on the given data, or evaluated to a zero-length expression. π΅βπ«
π¦ SEE ALSO π¦
Tt/tt_c.h - Tttt_c(5)
Cute sign-off from the footer: this page lives in the library call manual under tt_message_xcontext_set, and the source/version/date situation is just that library-call tag β no extra date or version text on this one, bestie ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms