policy.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include "solver.h"
#include "pooltypes.h"
#include "pool.h"
#include "dirpool.h"
#include "queue.h"
#include "bitmap.h"
#include "evr.h"
#include "solver.h"

Go to the source code of this file.

Functions

static int prune_to_best_version_sortcmp (const void *ap, const void *bp, void *dp)
static void prune_to_highest_prio (Pool *pool, Queue *plist)
static void prune_to_recommended (Solver *solv, Queue *plist)
void prune_to_best_arch (const Pool *pool, Queue *plist)
void prune_to_best_version (Pool *pool, Queue *plist)
void prune_best_arch_name_version (const Solver *solv, Pool *pool, Queue *plist)
void policy_filter_unwanted (Solver *solv, Queue *plist, int mode)
int policy_illegal_archchange (Solver *solv, Solvable *s1, Solvable *s2)
int policy_illegal_vendorchange (Solver *solv, Solvable *s1, Solvable *s2)
int policy_is_illegal (Solver *solv, Solvable *is, Solvable *s, int ignore)
void policy_create_obsolete_index (Solver *solv)
void policy_findupdatepackages (Solver *solv, Solvable *s, Queue *qs, int allow_all)

Function Documentation

static int prune_to_best_version_sortcmp ( const void *  ap,
const void *  bp,
void *  dp 
) [static]
static void prune_to_highest_prio ( Pool pool,
Queue plist 
) [static]
static void prune_to_recommended ( Solver solv,
Queue plist 
) [static]
void prune_to_best_arch ( const Pool pool,
Queue plist 
)
void prune_to_best_version ( Pool pool,
Queue plist 
)
void prune_best_arch_name_version ( const Solver solv,
Pool pool,
Queue plist 
)
void policy_filter_unwanted ( Solver solv,
Queue plist,
int  mode 
)
int policy_illegal_archchange ( Solver solv,
Solvable s1,
Solvable s2 
)
int policy_illegal_vendorchange ( Solver solv,
Solvable s1,
Solvable s2 
)
int policy_is_illegal ( Solver solv,
Solvable is,
Solvable s,
int  ignore 
)
void policy_create_obsolete_index ( Solver solv  ) 
void policy_findupdatepackages ( Solver solv,
Solvable s,
Queue qs,
int  allow_all 
)
Generated on Mon Dec 12 11:44:12 2011 for satsolver by  doxygen 1.6.3