A subset of libxmp with compatible API and permissive license.