The lrmi.c and lrmi.h files are from http://lrmi.sourceforge.net. Please
read them for copyright information.