ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
session_host_render_target_t Struct Reference

session host render target is intentionally a small, concrete record. Fields such as client_id, context give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. Callbacks execute under the host client lock and must not call host APIs. More...

#include <src/common/session/host.h>

Data Fields

uint32_t client_id
asciichat_error_t(* get_config )(void *context, session_host_render_config_t *config)
void(* render_frame )(void *context, const char *frame, size_t size, int width, int height)
void * context

Detailed Description

session host render target is intentionally a small, concrete record. Fields such as client_id, context give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. Callbacks execute under the host client lock and must not call host APIs.

Local output can use a registered client's capabilities/transport, or a display backend.

Definition at line 450 of file host.h.

Field Documentation

◆ client_id

uint32_t session_host_render_target_t::client_id

Definition at line 451 of file host.h.

Referenced by session_host_set_render_target().

◆ context

void* session_host_render_target_t::context

Definition at line 454 of file host.h.

◆ get_config

asciichat_error_t(* session_host_render_target_t::get_config) (void *context, session_host_render_config_t *config)

Definition at line 452 of file host.h.

Referenced by session_host_set_render_target().

◆ render_frame

void(* session_host_render_target_t::render_frame) (void *context, const char *frame, size_t size, int width, int height)

Definition at line 453 of file host.h.

Referenced by session_host_set_render_target().


The documentation for this struct was generated from the following file: