Debian Codegraph @

src/xkbcomp/vmod.h

raw
1 /*
2 * Copyright (c) 1994 by Silicon Graphics Computer Systems, Inc.
3 * SPDX-License-Identifier: HPND
4 */
5 #pragma once
6
7 #include "config.h"
8
9 #include "xkbcommon/xkbcommon.h"
10
11 #include <stdbool.h>
12
13 #include "ast.h"
14 #include "keymap.h"
15
16 void
17 InitVMods(struct xkb_mod_set *info, const struct xkb_mod_set *mods, bool reset);
18
19 void
20 MergeModSets(struct xkb_context *ctx, struct xkb_mod_set *into,
21 const struct xkb_mod_set *from, enum merge_mode merge);
22
23 bool
24 HandleVModDef(struct xkb_context *ctx, struct xkb_mod_set *mods, VModDef *stmt);