[libsmi] smiInit and smiSetErrorHandler