On Mon, 15 Mar 2004, Stefan Hundhammer wrote:
On Monday 15 March 2004 17:16, Filippos Papadopoulos wrote:
I have some trouble with rpmlib. I see that in the Maximum-RPM book (a bit old), there are referenced some functions like rpmReadPackageInfo e.t.c. The problem is that i dont find any definition of this function and some others, inside /usr/include/rpm/*.h
Can you help me here?
That book is about RPM 3. Starting with SuSE 9.0, we are using RPM 4. The RPM lib changed dramatically since then. You'll have to look for docs at
or, failing that, read RPM's sources.
I looked in http://www.rpm.org/rpmapi-4.1/rpmlib_8h-source.html and it seems that this file is different from that found in SuSE 9.0. I believe that rpm.org is not updated... Reading RPM sources is a good idea but i dont know if the same API will be the same on all distros. Has LSB defined any stable API about RPMLIB ??? Thanks.