The XCP inventory library