libtoids