diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dataiterator.h | 10 | ||||
-rw-r--r-- | src/evr.h | 2 | ||||
-rw-r--r-- | src/hash.h | 4 | ||||
-rw-r--r-- | src/pool.h | 4 | ||||
-rw-r--r-- | src/poolid.h | 2 | ||||
-rw-r--r-- | src/poolid_private.h | 2 | ||||
-rw-r--r-- | src/pooltypes.h | 2 | ||||
-rw-r--r-- | src/queue.h | 2 | ||||
-rw-r--r-- | src/repo.h | 8 | ||||
-rw-r--r-- | src/repodata.h | 6 | ||||
-rw-r--r-- | src/selection.h | 2 | ||||
-rw-r--r-- | src/sha2.h | 4 | ||||
-rw-r--r-- | src/solvable.h | 4 | ||||
-rw-r--r-- | src/solver.h | 16 | ||||
-rw-r--r-- | src/transaction.h | 2 |
15 files changed, 35 insertions, 35 deletions
diff --git a/src/dataiterator.h b/src/dataiterator.h index df10349..3133686 100644 --- a/src/dataiterator.h +++ b/src/dataiterator.h @@ -7,7 +7,7 @@ /* * dataiterator.h - * + * */ #ifndef LIBSOLV_DATAITERATOR_H @@ -83,12 +83,12 @@ int datamatcher_checkbasename(Datamatcher *ma, const char *str); /* * Dataiterator - * + * * Iterator like interface to 'search' functionality - * + * * Dataiterator is per-pool, additional filters can be applied * to limit the search domain. See dataiterator_init below. - * + * * Use these like: * Dataiterator di; * dataiterator_init(&di, repo->pool, repo, 0, 0, "bla", SEARCH_SUBSTRING); @@ -151,7 +151,7 @@ typedef struct _Dataiterator /* * Initialize dataiterator - * + * * di: Pointer to Dataiterator to be initialized * pool: Search domain for the iterator * repo: if non-null, limit search to this repo @@ -7,7 +7,7 @@ /* * evr.h - * + * */ #ifndef LIBSOLV_EVR_H @@ -74,9 +74,9 @@ relhash(Id name, Id evr, int flags) /* compute bitmask for value * returns smallest (2^n-1) > 2 * num - * + * * used for Hashtable 'modulo' operation - */ + */ static inline Hashval mkmask(unsigned int num) { @@ -7,7 +7,7 @@ /* * pool.h - * + * */ #ifndef LIBSOLV_POOL_H @@ -49,7 +49,7 @@ typedef struct _Datapos { Id solvid; Id repodataid; Id schema; - Id dp; + Id dp; } Datapos; struct _Pool_tmpspace { diff --git a/src/poolid.h b/src/poolid.h index a232290..2363595 100644 --- a/src/poolid.h +++ b/src/poolid.h @@ -7,7 +7,7 @@ /* * poolid.h - * + * */ #ifndef LIBSOLV_POOLID_H diff --git a/src/poolid_private.h b/src/poolid_private.h index 2e93d74..43ff50d 100644 --- a/src/poolid_private.h +++ b/src/poolid_private.h @@ -7,7 +7,7 @@ /* * poolid_private.h - * + * */ #ifndef LIBSOLV_POOLID_PRIVATE_H diff --git a/src/pooltypes.h b/src/pooltypes.h index 9dce9b7..64a3b87 100644 --- a/src/pooltypes.h +++ b/src/pooltypes.h @@ -7,7 +7,7 @@ /* * pooltypes.h - * + * */ #ifndef LIBSOLV_POOLTYPES_H diff --git a/src/queue.h b/src/queue.h index 16f2cc6..4785e67 100644 --- a/src/queue.h +++ b/src/queue.h @@ -7,7 +7,7 @@ /* * queue.h - * + * */ #ifndef LIBSOLV_QUEUE_H @@ -7,7 +7,7 @@ /* * repo.h - * + * */ #ifndef LIBSOLV_REPO_H @@ -92,7 +92,7 @@ static inline int pool_disabled_solvable(const Pool *pool, Solvable *s) if (s->repo && s->repo->disabled) return 1; if (pool->considered) - { + { Id id = s - pool->solvables; if (!MAPTST(pool->considered, id)) return 1; @@ -109,7 +109,7 @@ static inline int pool_installable(const Pool *pool, Solvable *s) if (pool->id2arch && (s->arch > pool->lastarch || !pool->id2arch[s->arch])) return 0; if (pool->considered) - { + { Id id = s - pool->solvables; if (!MAPTST(pool->considered, id)) return 0; @@ -162,7 +162,7 @@ void repo_add_deparray(Repo *repo, Id p, Id keyname, Id dep, Id marker); void repo_set_idarray(Repo *repo, Id p, Id keyname, Queue *q); void repo_set_deparray(Repo *repo, Id p, Id keyname, Queue *q, Id marker); void repo_unset(Repo *repo, Id p, Id keyname); - + void repo_internalize(Repo *repo); void repo_disable_paging(Repo *repo); diff --git a/src/repodata.h b/src/repodata.h index bdd4b4a..f38ed4a 100644 --- a/src/repodata.h +++ b/src/repodata.h @@ -7,13 +7,13 @@ /* * repodata.h - * + * */ #ifndef LIBSOLV_REPODATA_H #define LIBSOLV_REPODATA_H -#include <stdio.h> +#include <stdio.h> #include "pooltypes.h" #include "pool.h" @@ -271,7 +271,7 @@ void repodata_add_flexarray(Repodata *data, Id solvid, Id keyname, Id ghandle); void repodata_unset(Repodata *data, Id solvid, Id keyname); void repodata_unset_uninternalized(Repodata *data, Id solvid, Id keyname); -/* +/* merge/swap attributes from one solvable to another works only if the data is not yet internalized */ diff --git a/src/selection.h b/src/selection.h index 1908476..fc2b15d 100644 --- a/src/selection.h +++ b/src/selection.h @@ -7,7 +7,7 @@ /* * selection.h - * + * */ #ifndef LIBSOLV_SELECTION_H @@ -1,7 +1,7 @@ /* * FILE: sha2.h * AUTHOR: Aaron D. Gifford <me@aarongifford.com> - * + * * Copyright (c) 2000-2001, Aaron D. Gifford * All rights reserved. * @@ -16,7 +16,7 @@ * 3. Neither the name of the copyright holder nor the names of contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE diff --git a/src/solvable.h b/src/solvable.h index 0407997..85d20c4 100644 --- a/src/solvable.h +++ b/src/solvable.h @@ -7,7 +7,7 @@ /* * solvable.h - * + * * A solvable represents an object with name-epoch:version-release.arch * and dependencies */ @@ -77,7 +77,7 @@ void solvable_set_deparray(Solvable *s, Id keyname, Queue *q, Id marker); void solvable_unset(Solvable *s, Id keyname); int solvable_identical(Solvable *s1, Solvable *s2); -Id solvable_selfprovidedep(Solvable *s); +Id solvable_selfprovidedep(Solvable *s); int solvable_matchesdep(Solvable *s, Id keyname, Id dep, int marker); #ifdef __cplusplus diff --git a/src/solver.h b/src/solver.h index 53c1936..a0a101d 100644 --- a/src/solver.h +++ b/src/solver.h @@ -37,7 +37,7 @@ struct _Solver { #ifdef LIBSOLV_INTERNAL Repo *installed; /* copy of pool->installed */ - + /* list of rules, ordered * rpm rules first, then features, updates, jobs, learnt * see start/end offsets below @@ -48,15 +48,15 @@ struct _Solver { Queue ruleassertions; /* Queue of all assertion rules */ /* start/end offset for rule 'areas' */ - + Id rpmrules_end; /* [Offset] rpm rules end */ - + Id featurerules; /* feature rules start/end */ Id featurerules_end; - + Id updaterules; /* policy rules, e.g. keep packages installed or update. All literals > 0 */ Id updaterules_end; - + Id jobrules; /* user rules */ Id jobrules_end; @@ -65,7 +65,7 @@ struct _Solver { Id duprules; /* dist upgrade rules */ Id duprules_end; - + Id bestrules; /* rules from SOLVER_FORCEBEST */ Id bestrules_end; Id *bestrules_pkg; @@ -152,13 +152,13 @@ struct _Solver { int dontinstallrecommended; /* true: do not install recommended packages */ int addalreadyrecommended; /* true: also install recommended packages that were already recommended by the installed packages */ int dontshowinstalledrecommended; /* true: do not show recommended packages that are already installed */ - + int noinfarchcheck; /* true: do not forbid inferior architectures */ int keepexplicitobsoletes; /* true: honor obsoletes during multiinstall */ int bestobeypolicy; /* true: stay in policy with the best rules */ int noautotarget; /* true: do not assume targeted for up/dup jobs that contain no installed solvable */ - + Map dupmap; /* dup these packages*/ int dupmap_all; /* dup all packages */ Map dupinvolvedmap; /* packages involved in dup process */ diff --git a/src/transaction.h b/src/transaction.h index a6b0782..36b0c6f 100644 --- a/src/transaction.h +++ b/src/transaction.h @@ -116,7 +116,7 @@ void transaction_calc_duchanges(Transaction *trans, struct _DUChanges *mps, int /* order a transaction */ extern void transaction_order(Transaction *trans, int flags); -/* roll your own order funcion: +/* roll your own order funcion: * add pkgs free for installation to queue choices after chosen was * installed. start with chosen = 0 * needs an ordered transaction created with SOLVER_TRANSACTION_KEEP_ORDERDATA */ |