ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
frame_validation.h
Go to the documentation of this file.
1#pragma once
3#include <stddef.h>
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10/* Complete rendered text frames from local converters or network peers.
11 * Geometry uses utf8proc display cells, matching the shared grid renderer.
12 * Returns ERROR_INVALID_FRAME for malformed content. Binary image/video output
13 * and terminal UI control sequences are separate presentation surfaces. */
14asciichat_error_t session_frame_validate(const char *text, size_t length, uint32_t width, uint32_t height);
15
17
18asciichat_error_t session_frame_validate_contract(const char *text, size_t length, uint32_t width, uint32_t height, const acip_render_settings_t *settings, uint32_t effects);
19
20#ifdef __cplusplus
21}
22#endif
Synchronized per-thread pending error stacks and value snapshots. SET_ERRNO pushes,...
unsigned int height
Definition fft.c:24
unsigned int width
Definition fft.c:24
asciichat_error_t session_frame_validate(const char *text, size_t length, uint32_t width, uint32_t height)
asciichat_error_t session_frame_validate_contract(const char *text, size_t length, uint32_t width, uint32_t height, const acip_render_settings_t *settings, uint32_t effects)
unsigned int uint32_t
asciichat_error_t
Error and exit codes - unified status values (0-255).
Definition error_codes.h:48
acip render settings keeps the values that move through the subsystem: caps, width,...