diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:21:36 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:21:36 (EST) |
commit | 8c9c7528c65a2e5c9ba7e92521e00fa04052131e (patch) | |
tree | 96bd542757e1117db13aae2cf54a65e64a144753 /libopkg/pkg_hash.h | |
parent | 53737805077d2f83df7d030cb4e43e7a9be8aed1 (diff) |
opkg: consolidate error enums and add an error for when no package matches
current architecture
git-svn-id: http://opkg.googlecode.com/svn/trunk@128 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
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, |