XkbFreeKeyboard (3) - Linux Man Pages
XkbFreeKeyboard: Destroys either an entire XkbDescRec or just some of its
XkbFreeKeyboard - Destroys either an entire XkbDescRec or just some of its members
unsigned int which,
- keyboard description with components to free
- mask selecting components to free
- True => free all components and xkb
XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. If free_all is True, XkbFreeKeyboard frees every non-NULL component of xkb and then frees the xkb structure itself.
If kbd is NULL, no operation is performed.