|
libxkbcommon 1.13.0
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
|
#include <xkbcommon.h>
Data Fields | |
| size_t | size |
| char * | serialized |
| size_t | length |
| xkb_layout_mask_t | layouts |
Private Attributes | |
| uint32_t | reserved |
| size_t xkb_keymap_serialize_result::size |
Size of this structure, for forward-compatibility.
XKB_ERROR_ABI_INVALID_STRUCT_SIZE XKB_ERROR_ABI_BACKWARD_COMPAT XKB_ERROR_ABI_FORWARD_COMPAT| 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.
| 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.
| 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.
|
private |
Reserved for future extensions.
0 by the caller.