Hi all, I am a newbie to rpm internals. I will be glad if someone could help me with a problem I am facing. There is a program I am using which looks at RPM version number and compares it against a database to see if the RPM version has a security bug. The program uses the following calls: rpmReadConfigFiles rpmtsCreate rpmtsInitIterator rpmdbNextIterator readHeaderInt32 readHeaderString rpmdbFreeIterator rpmtsFree headerGetEntry rpmvercmp If I want to analyse machine A, I want to take its /var/lib/rpm/ to a different machine B and run the program there. Now, the directory /var/lib/rpm/ is 118M on my machine. So it is infeasible for me to transfer the files. Hence, I want to only export those parts of the database that are needed for these calls. I am guessing that the relavant dataset is small and hence more easily manageable. Can someone point me to links? I was trying to look in the rpm source distribution for documentation of these functions. I could not find a documentation directory. Can someone point me to a good documentation resource? I am trying to see if I can avoid reading the source. :-) regards, Sudhakar. Sudhakar Govindavajhala Department of Computer Science Graduate Student, Princeton University Ph : (lab) +1 609 258 1763 (office) +1 609 258 1798 http://www.cs.princeton.edu/~sudhakar _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list