Please help me to find the C function to get an RPM package version nubmer? I need to write an application to collect several packages' version information and I hate to use a command line, such as "rpm -qa"
In another word, I'd like to know how exactly RPM gets the package version?
If you know where I can download the source code of RPM and which C file to look into, that would be great, too.
Any hint helps. Thanks in advance
In another word, I'd like to know how exactly RPM gets the package version?
If you know where I can download the source code of RPM and which C file to look into, that would be great, too.
Any hint helps. Thanks in advance