summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-07 13:39:52 -0500
committerDan McGee <dan@archlinux.org>2011-06-09 14:24:45 -0500
commitff8e519d4b011a6f23c0366d45c396fcd1f9af97 (patch)
tree6f2bf414a30d7b1868dc113997e9fc03d32704c8 /lib/libalpm/alpm.h
parent7d27cf8364b9c5d9a8d89017173f8c88d40cedd5 (diff)
Require handle for alpm_sync_sysupgrade()
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r--lib/libalpm/alpm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 50ab06ef..21444017 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -858,10 +858,11 @@ int alpm_trans_release(pmhandle_t *handle);
/** @{ */
/** Search for packages to upgrade and add them to the transaction.
+ * @param handle the context handle
* @param enable_downgrade allow downgrading of packages if the remote version is lower
* @return 0 on success, -1 on error (pm_errno is set accordingly)
*/
-int alpm_sync_sysupgrade(int enable_downgrade);
+int alpm_sync_sysupgrade(pmhandle_t *handle, int enable_downgrade);
/** Add a package to the transaction.
* If the package was loaded by alpm_pkg_load(), it will be freed upon