Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
Re: [zypp-devel] satsolver: dataiterator_init needs Pool and Repo, why ?
  • From: Michael Matz <matz@xxxxxxx>
  • Date: Mon, 20 Oct 2008 15:02:53 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0810201502110.30144@xxxxxxxxxxxxx>
Hi,

On Mon, 20 Oct 2008, Michael Andres wrote:

On Monday 20 October 2008 14:55:56 Klaus Kaempf wrote:
Why does dataiterator_init() need a Pool and a Repo pointer ?

The Pool pointer is already inside the Repo structure.

AFAIK it iterates all repos in case of a NULL repo ptr. For this it needs the
pool.

That was done with a flag before the change on the weekend. I liked that
more than cluttering the API with an argument that is useless most of the
time.


Ciao,
Michael.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >