High-level API for the libsolv library