[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RPM C API (and other fun acronyms)



On Tuesday, 19 September 2006, at 15:13:56 (-0500),
R. Tyler Ballance wrote:

> NEVRA, now I get it :) That is what I was looking for. However, your  
> snippets combined with Jeff's snippets don't work:

I think you forgot:

    ret = rpmReadConfigFiles(NULL, NULL);
    if (ret != RPMRC_OK) {
        print_error("Unable to read RPM configuration.\n");
    }

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej kainx org>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Under a government which imprisons any unjustly, the true place for
  a just man is also in prison...the only house in a slave state in
  which a free man can abide with honour."      -- Henry David Thoreau


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]