The deciding behind the face's long text setting: when it can be set, whether it fits, what the reply carries, and whether an arrival changed it. More...
Functions | |
| bool | long_text_set (LongText *slot, uint32_t key, uint16_t cap, LongTextProvider provider, LongTextReceiver receiver, bool opened) |
| Sets up the face's long text setting, replacing one set before. | |
| bool | long_text_fits (uint32_t text_bytes, uint32_t reply_bytes, uint32_t outbox_max, uint32_t inbox_room) |
| Whether the text at its cap fits both buffers: the outbox beside the rest of the settings reply, and the inbox on its own. | |
| void | long_text_held (const LongText *slot, char *out) |
| Writes the text the face holds, as its provider writes it, ended inside the cap. | |
| bool | long_text_arrived (const LongText *slot, const char *text) |
| Hands a text that arrived to the receiver when it differs from the one the face holds. | |
The deciding behind the face's long text setting: when it can be set, whether it fits, what the reply carries, and whether an arrival changed it.