From 37da18aee8d925ee5cd9f526f2c61d07e9db5b66 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 1 Sep 2011 17:16:56 -0500 Subject: Move all callbacks up to the handle level This was just disgusting before, unnecessary to limit these to only usage in a transaction. Still a lot of more room for cleanup but we'll start by attaching them to the handle rather than the transaction we may or may not even want to use these callbacks. Signed-off-by: Dan McGee --- README | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index c14fd3c7..0e5a512d 100644 --- a/README +++ b/README @@ -395,6 +395,8 @@ API CHANGES BETWEEN 3.5 AND 4.0 - alpm_pkg_load() now requires an extra parameter of an alpm_siglevel_t - alpm_db_setserver() replaced by alpm_db_set_servers(), alpm_db_add_server(), alpm_db_remove_server() +- alpm_trans_init() no longer takes callbacks, set those using + alpm_option_set_*cb() functions - many functions now require a first parameter of an alpm_handle_t *: - alpm_option_get_* - alpm_option_set_* @@ -425,10 +427,13 @@ API CHANGES BETWEEN 3.5 AND 4.0 - alpm_pkg_reason_t [ADDED] +- option functions: + alpm_{get,set}_eventcb(), alpm_option_{get,set}_convcb(), + alpm_option_{get,set}_progresscb() - package signing functions: alpm_option_get_default_siglevel(), alpm_option_set_default_siglevel(), alpm_option_get_gpgdir(), alpm_option_set_gpgdir(), alpm_db_get_siglevel(), - alpm_sigresult_cleanup(), alpm_db_check_pgp_signature(), alpm_pkg_check_pgp_signature(), + alpm_siglist_cleanup(), alpm_db_check_pgp_signature(), alpm_pkg_check_pgp_signature(), alpm_pkg_get_origin(), alpm_pkg_get_sha256sum(), alpm_pkg_get_base64_sig() - list functions: alpm_list_to_array(), alpm_list_previous() -- cgit v1.2.3-24-g4f1b