Lines Matching refs:rxkb_context
70 struct rxkb_context { struct
83 ATTR_PRINTF(3, 0) void (*log_fn)(struct rxkb_context *ctx, argument
133 parse(struct rxkb_context *ctx, const char *path,
138 rxkb_log(struct rxkb_context *ctx, enum rxkb_log_level level, in rxkb_log()
365 DECLARE_FIRST_NEXT_FOR_TYPE(rxkb_layout, rxkb_context, layouts);
381 DECLARE_FIRST_NEXT_FOR_TYPE(rxkb_model, rxkb_context, models);
407 DECLARE_FIRST_NEXT_FOR_TYPE(rxkb_option_group, rxkb_context, option_groups);
410 rxkb_context_destroy(struct rxkb_context *ctx) in rxkb_context_destroy()
436 DECLARE_REF_UNREF_FOR_TYPE(rxkb_context);
437 DECLARE_CREATE_FOR_TYPE(rxkb_context);
438 DECLARE_TYPED_GETTER_FOR_TYPE(rxkb_context, log_level, enum rxkb_log_level);
441 rxkb_context_set_log_level(struct rxkb_context *ctx, in rxkb_context_set_log_level()
467 default_log_fn(struct rxkb_context *ctx, enum rxkb_log_level level, in default_log_fn()
500 XKB_EXPORT struct rxkb_context *
503 struct rxkb_context *ctx = rxkb_context_create(NULL); in rxkb_context_new()
533 rxkb_context_set_log_fn(struct rxkb_context *ctx, in rxkb_context_set_log_fn()
534 void (*log_fn)(struct rxkb_context *ctx, in rxkb_context_set_log_fn()
542 rxkb_context_include_path_append(struct rxkb_context *ctx, const char *path) in rxkb_context_include_path_append()
585 rxkb_context_include_path_append_default(struct rxkb_context *ctx) in rxkb_context_include_path_append_default()
638 rxkb_context_parse_default_ruleset(struct rxkb_context *ctx) in rxkb_context_parse_default_ruleset()
644 rxkb_context_parse(struct rxkb_context *ctx, const char *ruleset) in rxkb_context_parse()
680 rxkb_context_set_user_data(struct rxkb_context *ctx, void *userdata) in rxkb_context_set_user_data()
686 rxkb_context_get_user_data(struct rxkb_context *ctx) in rxkb_context_get_user_data()
712 parse_config_item(struct rxkb_context *ctx, in parse_config_item()
756 parse_model(struct rxkb_context *ctx, xmlNode *model, in parse_model()
785 parse_model_list(struct rxkb_context *ctx, xmlNode *model_list, in parse_model_list()
835 parse_variant(struct rxkb_context *ctx, struct rxkb_layout *l, in parse_variant()
886 parse_variant_list(struct rxkb_context *ctx, struct rxkb_layout *l, in parse_variant_list()
898 parse_layout(struct rxkb_context *ctx, xmlNode *layout, in parse_layout()
950 parse_layout_list(struct rxkb_context *ctx, xmlNode *layout_list, in parse_layout_list()
962 parse_option(struct rxkb_context *ctx, struct rxkb_option_group *group, in parse_option()
989 parse_group(struct rxkb_context *ctx, xmlNode *group, in parse_group()
1035 parse_option_list(struct rxkb_context *ctx, xmlNode *option_list, in parse_option_list()
1047 parse_rules_xml(struct rxkb_context *ctx, xmlNode *root, in parse_rules_xml()
1104 validate(struct rxkb_context *ctx, xmlDoc *doc) in validate()
1167 parse(struct rxkb_context *ctx, const char *path, in parse()