Reference

XUnregisterIMInstantiateCallback(3) on Linux

The text 0d95179da2d2, as Debian 10 (Buster) shipped it.

open, close, and obtain input method information

XUnregisterIMInstantiateCallback(3) on Linux now