libxkbcommon 1.14.0-beta1
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Loading...
Searching...
No Matches
Data Fields
xkb_keymap_serialize_result Struct Reference

#include <xkbcommon.h>

Data Fields

uint32_t size
 
xkb_layout_mask_t layouts
 
char * serialized
 
size_t length
 

Detailed Description

Result of xkb_keymap::xkb_keymap_serialize()

See also
xkb_keymap_serialize_config
Since
1.14.0

Field Documentation

◆ size

uint32_t xkb_keymap_serialize_result::size

Size of this structure in bytes.

See also
Extensible structure ABI contract
Since
1.14.0

◆ layouts

xkb_layout_mask_t xkb_keymap_serialize_result::layouts

Mask of the original layouts actually included in serialized.

Valid only if the function returns XKB_SUCCESS; otherwise unspecified.

See also
xkb_keymap_serialize_config::layouts
Since
1.14.0

◆ serialized

char* xkb_keymap_serialize_result::serialized

A newly allocated keymap serialization, or NULL on failure.

The caller of xkb_keymap::xkb_keymap_serialize() must free it.

Since
1.14.0

◆ length

size_t xkb_keymap_serialize_result::length

Length of serialized, in bytes, including any terminating NUL byte.

Valid only if the function returns XKB_SUCCESS; otherwise unspecified.

Since
1.14.0

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