Make rpmProblem standalone "object"
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 19 Oct 2007 10:01:58 +0000 (13:01 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 19 Oct 2007 10:01:58 +0000 (13:01 +0300)
commit92919c2f73518a14e45c7586b5d2ef5f278255d4
tree1b6a19902fd23b4f734fb5f38bd355af4f7d3252
parent63f94fb4a8c3ac52941b60cdde1332fb3db67716
Make rpmProblem standalone "object"
- problem set contains array of pointers to problems, not problems themselves
- add functions for creating and destroying problems
- use iterators for freeing the problems in rpmpsFree()
- new rpmpsAppendProblem() API for appending existing problem item to
  problem set
- implement rpmpsAppend using the new methods
lib/rpmps.c
lib/rpmps.h