src/suse.c
/*
 * different interface for solvable_trivial_installable_map, where
 * the information about the installed packages is provided
 * by a queue.
 */
different interface for solvable_trivial_installable_map, where
the information about the installed packages is provided
by a queue.
different interface for solvable_trivial_installable_map where the information about the installed packages is provided by a queue .
int
solvable_trivial_installable_queue(Solvable *s, Queue *installed, Map *multiversionmap)
{
  Pool *pool = s->repo->pool;
  int i;
  Id p;
  Map installedmap;
  int r;
  map_init(&installedmap, pool->nsolvables);
  for (i = 0; i < installed->count; i++)
    {
      p = installed->elements[i];
      if (p > 0)		
	MAPSET(&installedmap, p);
    }
  r = solvable_trivial_installable_map(s, &installedmap, 0, multiversionmap);
  map_free(&installedmap);
  return r;
}
int solvable_trivial_installable_queue ( Solvable * s , Queue * installed , Map * multiversionmap ) { Pool * pool = s -> repo -> pool ; int i ; Id p ; Map installedmap ; int r ; map_init ( & installedmap , pool -> nsolvables ) ; for ( i = 0 ; i < installed -> count ; i ++ ) { p = installed -> elements [ i ] ; if ( p > 0 ) MAPSET ( & installedmap , p ) ; } r = solvable_trivial_installable_map ( s , & installedmap , 0 , multiversionmap ) ; map_free ( & installedmap ) ; return r ; }
different interface for solvable_trivial_installable_map, where
 the information about the installed packages is provided
 by a queue.
different interface for solvable_trivial_installable_map where the information about the installed packages is provided by a queue .
/* makes it work with decisionq */