diff options
Diffstat (limited to 'pkg_hash.h')
-rw-r--r-- | pkg_hash.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -30,9 +30,9 @@ void pkg_hash_map(hash_table_t *hash, void (*f)(void *data, void *entry), void * void pkg_hash_dump(hash_table_t *hash, void *data); void pkg_hash_fetch_available(hash_table_t *hash, pkg_vec_t *available); -int pkg_hash_add_from_file(ipkg_conf_t *conf, const char *file_name, +int pkg_hash_add_from_file(opkg_conf_t *conf, const char *file_name, pkg_src_t *src, pkg_dest_t *dest, int is_status_file); -pkg_t *hash_insert_pkg(hash_table_t *hash, pkg_t *pkg, int set_status,ipkg_conf_t *conf); +pkg_t *hash_insert_pkg(hash_table_t *hash, pkg_t *pkg, int set_status,opkg_conf_t *conf); abstract_pkg_t * ensure_abstract_pkg_by_name(hash_table_t * hash, const char * pkg_name); abstract_pkg_t * abstract_pkg_fetch_by_name(hash_table_t * hash, const char * pkg_name); @@ -42,17 +42,17 @@ pkg_t * pkg_hash_fetch_by_name_version(hash_table_t *hash, const char *pkg_name, 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(ipkg_conf_t *conf, abstract_pkg_t *apkg, +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(ipkg_conf_t *conf, const char *name); +pkg_t *pkg_hash_fetch_best_installation_candidate_by_name(opkg_conf_t *conf, const char *name); 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, const char *pkg_name, pkg_dest_t *dest); -pkg_t *file_hash_get_file_owner(ipkg_conf_t *conf, const char *file_name); -int file_hash_set_file_owner(ipkg_conf_t *conf, const char *file_name, pkg_t *pkg); +pkg_t *file_hash_get_file_owner(opkg_conf_t *conf, const char *file_name); +int file_hash_set_file_owner(opkg_conf_t *conf, const char *file_name, pkg_t *pkg); /* XXX: shouldn't this go in pkg_vec.[ch]? */ pkg_vec_t *pkg_vec_fetch_by_name(hash_table_t *hash, const char *pkg_name); |