summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-12 19:41:10 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-12 19:46:06 +0200
commite696b409fe836bf39cbf639bac4321d658d0952d (patch)
treeebfa62f8ecfacd82aaefa0c7aa87cf007c5a23f2 /lib/rpmts_internal.h
parent1d98830819727c385731ef6fafcaa6f3ba5cf216 (diff)
downloadrpm-e696b409fe836bf39cbf639bac4321d658d0952d.tar.gz
Record problems into the transaction elements causing them
- Any problem found in transaction processing is caused, or at least triggered by, some transaction element. Having the problems in elements lets API users easily determine which package caused which problem instead of having to parse problem strings in vain. - No problem set stored in transaction set itself now, rpmtsProblems() API p reserved by making it collect problems from our transaction elements into a new set. The problem set fiddling in rpmtsRun() wrt %pretrans and all is a bit crazy - always was, now its just more visible... - Make rpmtsCheck() pass the associated transaction elements into the lower level functions. rpmdsProblem() removed from API, it's not particularly useful outside rpmtsCheck() internals. - rpmts struct is now opaque within depends.c except for solve callback - This breaks --badreloc, need to figure out something saner for the problem filtering
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index f874e171d..9480424c2 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -37,7 +37,6 @@ struct rpmts_s {
rpmCallbackFunction notify; /*!< Callback function. */
rpmCallbackData notifyData; /*!< Callback private data. */
- rpmps probs; /*!< Current problems in transaction. */
rpmprobFilterFlags ignoreSet;
/*!< Bits to filter current problems. */