summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-03-22 16:42:44 +0100
committerMichael Schroeder <mls@suse.de>2013-03-22 16:42:44 +0100
commit646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e (patch)
treecf31ea4d9a62dfefc201a14b18657c0a87de625b /src/pool.h
parentf213feee97c4b5b7365e3e3b4d25a7e6365f1486 (diff)
downloadlibsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.tar.gz
libsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.tar.bz2
libsolv-646a92ed488b5aaddaacbb825a03c1f4cbfc1d9e.zip
rename "NOOBSOLETES" to "MULTIVERSION"
The name was always not very fitting, but newer rpm versions do look at the obsoletes and just don't remove packages with the same name, which makes the old name even worse. So rename to "multiversion", which seems to be what many package managers use anyway.
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pool.h b/src/pool.h
index 8e1a951..8f100b2 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -119,7 +119,7 @@ struct _Pool {
/* search position */
Datapos pos;
- Queue pooljobs; /* fixed jobs, like USERINSTALLED/NOOBSOLETES */
+ Queue pooljobs; /* fixed jobs, like USERINSTALLED/MULTIVERSION */
#ifdef LIBSOLV_INTERNAL
/* flags to tell the library how the installed package manager works */
@@ -263,9 +263,9 @@ static inline const char *pool_solvid2str(Pool *pool, Id p)
void pool_set_languages(Pool *pool, const char **languages, int nlanguages);
Id pool_id2langid(Pool *pool, Id id, const char *lang, int create);
-int solvable_trivial_installable_map(Solvable *s, Map *installedmap, Map *conflictsmap, Map *noobsoletesmap);
-int solvable_trivial_installable_repo(Solvable *s, struct _Repo *installed, Map *noobsoletesmap);
-int solvable_trivial_installable_queue(Solvable *s, Queue *installed, Map *noobsoletesmap);
+int solvable_trivial_installable_map(Solvable *s, Map *installedmap, Map *conflictsmap, Map *multiversionmap);
+int solvable_trivial_installable_repo(Solvable *s, struct _Repo *installed, Map *multiversionmap);
+int solvable_trivial_installable_queue(Solvable *s, Queue *installed, Map *multiversionmap);
int solvable_is_irrelevant_patch(Solvable *s, Map *installedmap);
void pool_create_state_maps(Pool *pool, Queue *installed, Map *installedmap, Map *conflictsmap);
@@ -329,7 +329,7 @@ typedef struct _DUChanges {
void pool_calc_duchanges(Pool *pool, Map *installedmap, DUChanges *mps, int nmps);
int pool_calc_installsizechange(Pool *pool, Map *installedmap);
void pool_trivial_installable(Pool *pool, Map *installedmap, Queue *pkgs, Queue *res);
-void pool_trivial_installable_noobsoletesmap(Pool *pool, Map *installedmap, Queue *pkgs, Queue *res, Map *noobsoletesmap);
+void pool_trivial_installable_multiversionmap(Pool *pool, Map *installedmap, Queue *pkgs, Queue *res, Map *multiversionmap);
const char *pool_lookup_str(Pool *pool, Id entry, Id keyname);
Id pool_lookup_id(Pool *pool, Id entry, Id keyname);