TT_MESSAGE_STATE(3)
πΈ NAME πΈ
tt_message_state β retrieve the state attribute from a message
okay bestie, this is the library call page for tt_message_state, and it's literally here to pull the state attribute out of a message. π
β¨ SYNOPSIS β¨
#include &<Tt/tt_c.h>
Tt_state tt_message_state(
Tt_message m);
π¦ DESCRIPTION π¦
The tt_message_state function retrieves the state attribute from the specified message. That's the whole vibe. π«Ά
The m argument is the opaque handle for the message involved in this operation. Opaque handle means you don't peek inside it β you just pass it along, no cap.
π RETURN VALUE π
Upon successful completion, the tt_message_state function returns a value that indicates the current delivery state of the message. It returns one of these Tt_status values:
TT_CREATEDβ the message has been created, but not yet sent.TT_SENTβ the message has been sent, but not yet handled.TT_HANDLEDβ the message has been handled; return values are valid.TT_FAILEDβ the message could not be delivered to a handler.TT_QUEUEDβ the message has been queued for delivery.TT_STARTEDβ the ToolTalk service is attempting to start a process to handle the message.TT_REJECTEDβ the message has been rejected by a possible handler.
The application can use tt_int_error(3) to extract one of the following Tt_status values from the Tt_state integer return value:
TT_OKβ the operation completed successfully.TT_ERR_NOMPβ thettsession(1)process is not running and the ToolTalk service cannot restart it.TT_ERR_POINTERβ the pointer passed does not point to an object of the correct type for this operation.
π SEE ALSO π
Tt/tt_c.h - Tttt_c(5), tt_int_error(3).
π and that's the whole library call page for tt_message_state, bestie β no date shown in this copy, so this is the sparkly sign-off. πβ¨
π¦ 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