libxkbcommon 1.8.1
Library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
|
#include <stdarg.h>
#include <stdbool.h>
Enumerations | |
enum | rxkb_popularity { RXKB_POPULARITY_STANDARD = 1 , RXKB_POPULARITY_EXOTIC } |
enum | rxkb_context_flags { RXKB_CONTEXT_NO_FLAGS = 0 , RXKB_CONTEXT_NO_DEFAULT_INCLUDES = (1 << 0) , RXKB_CONTEXT_LOAD_EXOTIC_RULES = (1 << 1) , RXKB_CONTEXT_NO_SECURE_GETENV = (1 << 2) } |
enum | rxkb_log_level { RXKB_LOG_LEVEL_CRITICAL = 10 , RXKB_LOG_LEVEL_ERROR = 20 , RXKB_LOG_LEVEL_WARNING = 30 , RXKB_LOG_LEVEL_INFO = 40 , RXKB_LOG_LEVEL_DEBUG = 50 } |
Functions | |
RXKB_EXPORT struct rxkb_context * | rxkb_context_new (enum rxkb_context_flags flags) |
RXKB_EXPORT void | rxkb_context_set_log_level (struct rxkb_context *ctx, enum rxkb_log_level level) |
RXKB_EXPORT enum rxkb_log_level | rxkb_context_get_log_level (struct rxkb_context *ctx) |
RXKB_EXPORT void | rxkb_context_set_log_fn (struct rxkb_context *ctx, void(*log_fn)(struct rxkb_context *ctx, enum rxkb_log_level level, const char *format, va_list args)) |
RXKB_EXPORT bool | rxkb_context_parse (struct rxkb_context *ctx, const char *ruleset) |
RXKB_EXPORT bool | rxkb_context_parse_default_ruleset (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_context * | rxkb_context_ref (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_context * | rxkb_context_unref (struct rxkb_context *ctx) |
RXKB_EXPORT void | rxkb_context_set_user_data (struct rxkb_context *ctx, void *user_data) |
RXKB_EXPORT void * | rxkb_context_get_user_data (struct rxkb_context *ctx) |
RXKB_EXPORT bool | rxkb_context_include_path_append (struct rxkb_context *ctx, const char *path) |
RXKB_EXPORT bool | rxkb_context_include_path_append_default (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_model * | rxkb_model_first (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_model * | rxkb_model_next (struct rxkb_model *m) |
RXKB_EXPORT struct rxkb_model * | rxkb_model_ref (struct rxkb_model *m) |
RXKB_EXPORT struct rxkb_model * | rxkb_model_unref (struct rxkb_model *m) |
RXKB_EXPORT const char * | rxkb_model_get_name (struct rxkb_model *m) |
RXKB_EXPORT const char * | rxkb_model_get_description (struct rxkb_model *m) |
RXKB_EXPORT const char * | rxkb_model_get_vendor (struct rxkb_model *m) |
RXKB_EXPORT enum rxkb_popularity | rxkb_model_get_popularity (struct rxkb_model *m) |
RXKB_EXPORT struct rxkb_layout * | rxkb_layout_first (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_layout * | rxkb_layout_next (struct rxkb_layout *l) |
RXKB_EXPORT struct rxkb_layout * | rxkb_layout_ref (struct rxkb_layout *l) |
RXKB_EXPORT struct rxkb_layout * | rxkb_layout_unref (struct rxkb_layout *l) |
RXKB_EXPORT const char * | rxkb_layout_get_name (struct rxkb_layout *l) |
RXKB_EXPORT const char * | rxkb_layout_get_variant (struct rxkb_layout *l) |
RXKB_EXPORT const char * | rxkb_layout_get_brief (struct rxkb_layout *l) |
RXKB_EXPORT const char * | rxkb_layout_get_description (struct rxkb_layout *l) |
RXKB_EXPORT enum rxkb_popularity | rxkb_layout_get_popularity (struct rxkb_layout *l) |
RXKB_EXPORT struct rxkb_option_group * | rxkb_option_group_first (struct rxkb_context *ctx) |
RXKB_EXPORT struct rxkb_option_group * | rxkb_option_group_next (struct rxkb_option_group *g) |
RXKB_EXPORT struct rxkb_option_group * | rxkb_option_group_ref (struct rxkb_option_group *g) |
RXKB_EXPORT struct rxkb_option_group * | rxkb_option_group_unref (struct rxkb_option_group *g) |
RXKB_EXPORT const char * | rxkb_option_group_get_name (struct rxkb_option_group *m) |
RXKB_EXPORT const char * | rxkb_option_group_get_description (struct rxkb_option_group *m) |
RXKB_EXPORT bool | rxkb_option_group_allows_multiple (struct rxkb_option_group *g) |
RXKB_EXPORT enum rxkb_popularity | rxkb_option_group_get_popularity (struct rxkb_option_group *g) |
RXKB_EXPORT struct rxkb_option * | rxkb_option_first (struct rxkb_option_group *group) |
RXKB_EXPORT struct rxkb_option * | rxkb_option_next (struct rxkb_option *o) |
RXKB_EXPORT struct rxkb_option * | rxkb_option_ref (struct rxkb_option *o) |
RXKB_EXPORT struct rxkb_option * | rxkb_option_unref (struct rxkb_option *o) |
RXKB_EXPORT const char * | rxkb_option_get_name (struct rxkb_option *o) |
RXKB_EXPORT const char * | rxkb_option_get_brief (struct rxkb_option *o) |
RXKB_EXPORT const char * | rxkb_option_get_description (struct rxkb_option *o) |
RXKB_EXPORT enum rxkb_popularity | rxkb_option_get_popularity (struct rxkb_option *o) |
RXKB_EXPORT struct rxkb_iso639_code * | rxkb_iso639_code_ref (struct rxkb_iso639_code *iso639) |
RXKB_EXPORT struct rxkb_iso639_code * | rxkb_iso639_code_unref (struct rxkb_iso639_code *iso639) |
RXKB_EXPORT const char * | rxkb_iso639_code_get_code (struct rxkb_iso639_code *iso639) |
RXKB_EXPORT struct rxkb_iso639_code * | rxkb_layout_get_iso639_first (struct rxkb_layout *layout) |
RXKB_EXPORT struct rxkb_iso639_code * | rxkb_iso639_code_next (struct rxkb_iso639_code *iso639) |
RXKB_EXPORT struct rxkb_iso3166_code * | rxkb_iso3166_code_ref (struct rxkb_iso3166_code *iso3166) |
RXKB_EXPORT struct rxkb_iso3166_code * | rxkb_iso3166_code_unref (struct rxkb_iso3166_code *iso3166) |
RXKB_EXPORT const char * | rxkb_iso3166_code_get_code (struct rxkb_iso3166_code *iso3166) |
RXKB_EXPORT struct rxkb_iso3166_code * | rxkb_layout_get_iso3166_first (struct rxkb_layout *layout) |
RXKB_EXPORT struct rxkb_iso3166_code * | rxkb_iso3166_code_next (struct rxkb_iso3166_code *iso3166) |
Query for available RMLVO.