diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-07-04 14:22:06 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-07-04 14:22:06 +0300 |
commit | d902040e1484f1352dafc96c77678da0ebf44035 (patch) | |
tree | a2477ca24b474e201130bce13efe98d18a47a73c /lib/rpmts.h | |
parent | d0fbf7b246d4232a3a833753d488646e0636de2a (diff) | |
download | librpm-tizen-d902040e1484f1352dafc96c77678da0ebf44035.tar.gz librpm-tizen-d902040e1484f1352dafc96c77678da0ebf44035.tar.bz2 librpm-tizen-d902040e1484f1352dafc96c77678da0ebf44035.zip |
Remove solvedb API and other related stuff
- nobody has used the solvedb for anything in years
- the mechanism + rpmcache are horribly broken on multilib
- solvedb is way too heavyweight to be really usable as a general mechanism
- solver callback hook left in place as that could in theory be usable still
- we need something better to replace this all, getting rid of it now
so we're not stuck with the API forever
Diffstat (limited to 'lib/rpmts.h')
-rw-r--r-- | lib/rpmts.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/rpmts.h b/lib/rpmts.h index 44fcc95d5..da97d0fd2 100644 --- a/lib/rpmts.h +++ b/lib/rpmts.h @@ -313,30 +313,6 @@ rpmKeyring rpmtsGetKeyring(rpmts ts, int autoload); int rpmtsSetKeyring(rpmts ts, rpmKeyring keyring); /** \ingroup rpmts - * Close the database used by the transaction to solve dependencies. - * @param ts transaction set - * @return 0 on success - */ -int rpmtsCloseSDB(rpmts ts); - -/** \ingroup rpmts - * Open the database used by the transaction to solve dependencies. - * @param ts transaction set - * @param dbmode O_RDONLY or O_RDWR - * @return 0 on success - */ -int rpmtsOpenSDB(rpmts ts, int dbmode); - -/** \ingroup rpmts - * Attempt to solve a needed dependency using the solve database. - * @param ts transaction set - * @param ds dependency set - * @param data opaque data associated with callback - * @return -1 retry, 0 ignore, 1 not found - */ -int rpmtsSolve(rpmts ts, rpmds ds, const void * data); - -/** \ingroup rpmts * Set dependency solver callback. * @param ts transaction set * @param (*solve) dependency solver callback @@ -348,15 +324,6 @@ int rpmtsSetSolveCallback(rpmts ts, const void * solveData); /** \ingroup rpmts - * Print possible suggestions for current transaction set, assuming - * solvedb exists etc. - * @todo The whole suggests handling needs rework, this - * is just a temporary measure... - * @param ts transaction set - */ -void rpmtsPrintSuggests(rpmts ts); - -/** \ingroup rpmts * Return current transaction set problems. * @param ts transaction set * @return current problem set (or NULL) |