Please look at this:

rpmDependencies rpmdepDependencies(rpmdb db);
This function returns an initialized rpmDependencies structure.

My Question ;
How can I parse/capture the info in this datastructure? I could not find the format for it any where.

Thanks, Hari.