1XkbFreeNames(3) XKB FUNCTIONS XkbFreeNames(3)
2
3
4
6 XkbFreeNames - Free symbolic names structures
7
9 void XkbFreeNames (XkbDescPtr xkb, unsigned int which, Bool free_map);
10
12 xkb keyboard description for which names are to be freed
13
14 which mask of names components to be freed
15
16 free_map
17 True => XkbNamesRec structure itself should be freed
18
20 Do not free symbolic names structures directly using free or XFree.
21 Use XkbFreeNames instead.
22
23 The which parameter is the bitwise inclusive OR of the valid names mask
24 bits defined in Table 1.
25
26 Xkb provides several functions that work with symbolic names. Each of
27 these functions uses a mask to specify individual fields of the struc‐
28 tures described above. These masks and their relationships to the
29 fields in a keyboard description are shown in Table 1.
30
31
32 Table 1 Symbolic Names Masks
33 ─────────────────────────────────────────────────────────────────────────────────
34 Mask Bit Value Keyboard Field
35 Component
36 ─────────────────────────────────────────────────────────────────────────────────
37 XkbKeycodesNameMask (1<<0) Xkb->names keycodes
38 XkbGeometryNameMask (1<<1) Xkb->names geometry
39 XkbSymbolsNameMask (1<<2) Xkb->names symbols
40 XkbPhysSymbolsNameMask (1<<3) Xkb->names phys_symbols
41 XkbTypesNameMask (1<<4) Xkb->names type
42 XkbCompatNameMask (1<<5) Xkb->names compat
43 XkbKeyTypeNamesMask (1<<6) Xkb->map type[*].name
44 XkbKTLevelNamesMask (1<<7) Xkb->map type[*].lvl_names[*]
45 XkbIndicatorNamesMask (1<<8) Xkb->names indicators[*]
46 XkbKeyNamesMask (1<<9) Xkb->names keys[*], num_keys
47 XkbKeyAliasesMask (1<<10) Xkb->names key_aliases[*], num_key_aliases
48 XkbVirtualModNamesMask (1<<11) Xkb->names vmods[*]
49 XkbGroupNamesMask (1<<12) Xkb->names groups[*]
50 XkbRGNamesMask (1<<13) Xkb->names radio_groups[*], num_rg
51 XkbComponentNamesMask (0x3f) Xkb->names keycodes,
52 geometry,
53 symbols,
54 physical symbols,
55 types, and
56 compatibility map
57 XkbAllNamesMask (0x3fff) Xkb->names all name components
58
59
60
61X Version 11 libX11 1.8.7 XkbFreeNames(3)