diff options
Diffstat (limited to 'libopkg/pkg_hash.h')
-rw-r--r-- | libopkg/pkg_hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopkg/pkg_hash.h b/libopkg/pkg_hash.h index 6b1473c..a1b64a6 100644 --- a/libopkg/pkg_hash.h +++ b/libopkg/pkg_hash.h @@ -45,8 +45,8 @@ pkg_t * pkg_hash_fetch_by_name_version(hash_table_t *hash, const char * version); abstract_pkg_vec_t *pkg_hash_fetch_all_installation_candidates(hash_table_t *hash, const char *name); pkg_t *pkg_hash_fetch_best_installation_candidate(opkg_conf_t *conf, abstract_pkg_t *apkg, - int (*constraint_fcn)(pkg_t *pkg, void *data), void *cdata, int quiet); -pkg_t *pkg_hash_fetch_best_installation_candidate_by_name(opkg_conf_t *conf, const char *name); + int (*constraint_fcn)(pkg_t *pkg, void *data), void *cdata, int quiet, int *error); +pkg_t *pkg_hash_fetch_best_installation_candidate_by_name(opkg_conf_t *conf, const char *name, int *err); pkg_t *pkg_hash_fetch_installed_by_name(hash_table_t *hash, const char *pkg_name); pkg_t *pkg_hash_fetch_installed_by_name_dest(hash_table_t *hash, |