![]() |
libghostty
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <ghostty/vt/types.h>#include <ghostty/vt/allocator.h>Go to the source code of this file.
Data Structures | |
| struct | GhosttySysImage |
Typedefs | |
| typedef void(* | GhosttySysLogFn) (void *userdata, GhosttySysLogLevel level, const uint8_t *scope, size_t scope_len, const uint8_t *message, size_t message_len) |
| typedef bool(* | GhosttySysDecodePngFn) (void *userdata, const GhosttyAllocator *allocator, const uint8_t *data, size_t data_len, GhosttySysImage *out) |
Enumerations | |
| enum | GhosttySysLogLevel |
| enum | GhosttySysOption { GHOSTTY_SYS_OPT_USERDATA = 0 , GHOSTTY_SYS_OPT_DECODE_PNG = 1 , GHOSTTY_SYS_OPT_LOG = 2 , GHOSTTY_SYS_OPT_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE } |
Functions | |
| GHOSTTY_API GhosttyResult | ghostty_sys_set (GhosttySysOption option, const void *value) |
| GHOSTTY_API void | ghostty_sys_log_stderr (void *userdata, GhosttySysLogLevel level, const uint8_t *scope, size_t scope_len, const uint8_t *message, size_t message_len) |
System interface - runtime-swappable implementations for external dependencies.
Definition in file sys.h.