1. NAME

XkbFreeKeyboard - Destroys either an entire XkbDescRec or just some of its members

2. SYNOPSIS

void XkbFreeKeyboard (XkbDescPtr xkb , unsigned int which , Bool free_all );

3. ARGUMENTS

  • xkb
        keyboard description with components to free
  • which
        mask selecting components to free
  • free_all
        True => free all components and xkb

4. DESCRIPTION

XkbFreeKeyboard frees the components of xkb specified by which and sets the corresponding values to NULL. If .I free_all is True, XkbFreeKeyboard frees every non-NULL component of xkb and then frees the xkb structure itself.