#include "pkg.h"
#include "pkg_src.h"
#include "pkg_dest.h"
-#include "pkg_vec.h"
#include "hash_table.h"
int pkg_hash_add_from_file(const char *file_name, pkg_src_t *src,
pkg_dest_t *dest, int is_status_file);
+int pkg_hash_load_feeds(void);
+int pkg_hash_load_status_files(void);
+
void hash_insert_pkg(pkg_t *pkg, int set_status);
abstract_pkg_t * ensure_abstract_pkg_by_name(const char * pkg_name);
pkg_t *pkg_hash_fetch_installed_by_name_dest(const char *pkg_name,
pkg_dest_t *dest);
+void file_hash_remove(const char *file_name);
pkg_t *file_hash_get_file_owner(const char *file_name);
void file_hash_set_file_owner(const char *file_name, pkg_t *pkg);