summaryrefslogtreecommitdiff
path: root/lib/rpmcli.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-03-17 11:53:27 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-03-17 11:53:27 +0200
commit37543ee0405c38a9d54a12bf0d54698773a3933c (patch)
tree90e26ec9afa8bb03b2e89c8b9223e3b1f0d7beaf /lib/rpmcli.h
parented78cef2c3e14df29d95b476f00d51203fbe098e (diff)
downloadlibrpm-tizen-37543ee0405c38a9d54a12bf0d54698773a3933c.tar.gz
librpm-tizen-37543ee0405c38a9d54a12bf0d54698773a3933c.tar.bz2
librpm-tizen-37543ee0405c38a9d54a12bf0d54698773a3933c.zip
Remove rollback support
- not possible to do reliably within rpm - effort is better wasted on investigating fs-level snapshots, which is way beyond rpm scope except for hooks to interact with the snapshot mechanism to communicate beginning/end of transaction and such
Diffstat (limited to 'lib/rpmcli.h')
-rw-r--r--lib/rpmcli.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/rpmcli.h b/lib/rpmcli.h
index 0327b2e72..a9802f44c 100644
--- a/lib/rpmcli.h
+++ b/lib/rpmcli.h
@@ -422,7 +422,6 @@ struct rpmInstallArguments_s {
rpmInstallInterfaceFlags installInterfaceFlags;
rpmEraseInterfaceFlags eraseInterfaceFlags;
rpmQueryFlags qva_flags; /*!< from --nodigest/--nosignature */
- rpm_tid_t rbtid; /*!< from --rollback */
int numRelocations;
int noDeps;
int incldocs;
@@ -453,16 +452,6 @@ int rpmErase(rpmts ts, struct rpmInstallArguments_s * ia,
const char ** argv);
/** \ingroup rpmcli
- * Rollback transactions, erasing new, reinstalling old, package(s).
- * @param ts transaction set
- * @param ia mode flags and parameters
- * @param argv array of arguments (NULL terminated)
- * @return 0 on success
- */
-int rpmRollback(rpmts ts, struct rpmInstallArguments_s * ia,
- const char ** argv);
-
-/** \ingroup rpmcli
*/
extern struct rpmInstallArguments_s rpmIArgs;