#include "ksyms.h"
int
+lk_diacr_exists(struct lk_ctx *ctx, unsigned int index)
+{
+ return (lk_array_get_ptr(ctx->accent_table, index) != NULL);
+}
+
+int
lk_get_diacr(struct lk_ctx *ctx, unsigned int index, struct lk_kbdiacr *dcr)
{
struct lk_kbdiacr *ptr;
int lk_get_func(struct lk_ctx *ctx, struct kbsentry *kbs);
int lk_add_func(struct lk_ctx *ctx, struct kbsentry *kbs);
int lk_del_func(struct lk_ctx *ctx, unsigned int index);
+int lk_func_exists(struct lk_ctx *ctx, unsigned int index);
/* Functions for manipulations with diacritical table */
int lk_get_diacr(struct lk_ctx *ctx, unsigned int index, struct lk_kbdiacr *dcr);
int lk_add_diacr(struct lk_ctx *ctx, unsigned int index, struct lk_kbdiacr *dcr);
int lk_del_diacr(struct lk_ctx *ctx, unsigned int index);
+int lk_diacr_exists(struct lk_ctx *ctx, unsigned int index);
int lk_append_diacr(struct lk_ctx *ctx, struct lk_kbdiacr *dcr);
int lk_append_compose(struct lk_ctx *ctx, struct lk_kbdiacr *dcr);