summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2013-03-11 13:10:38 +0200
committerPanu Matilainen <pmatilai@redhat.com>2013-03-11 13:20:05 +0200
commitcd9d401e90557fd1feb477b2d0d5c673c754d4ce (patch)
treeb593c9064a1d3bd7aab5f17c19d5ccb625ab3c64 /lib/rpmts_internal.h
parent3b9885ea51aacbae3b65cafde1632e1d733df226 (diff)
downloadrpm-cd9d401e90557fd1feb477b2d0d5c673c754d4ce.tar.gz
Export rpmtxnBegin() and rpmtxnEnd()
- This allows API users to lock the transaction from other players long before entering rpmtsRun(): for example depsolvers first do calculations based on the rpmdb, download packages and only then start the transaction. We dutifully waited for others to complete on the ts lock inside rpmtsRun(), but those others could've invalidated all our prior calculations so continuing was potentially hazardous even. There are other uses too, we'll get to them eventually...
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index aa6380a2f..be2f7681c 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -116,21 +116,6 @@ rpmRC rpmtsSELabelInit(rpmts ts, int open_status);
*/
void rpmtsSELabelFini(rpmts ts, int close_status);
-/** \ingroup rpmts
- * Create a transaction (lock) handle
- * @param ts transaction set
- * @param flags flags
- * @return transaction handle
- */
-rpmtxn rpmtxnBegin(rpmts ts, rpmtxnFlags flags);
-
-/** \ingroup rpmts
- * Destroy transaction (lock) handle
- * @param txn transaction handle
- * @return NULL always
- */
-rpmtxn rpmtxnEnd(rpmtxn txn);
-
#ifdef __cplusplus
}
#endif