int pkg_hash_add_from_file(const char *file_name, pkg_src_t * src,
pkg_dest_t * dest, int is_status_file, int state_flags,
void (*cb)(pkg_t *, void *), void *priv);
int pkg_hash_add_from_file(const char *file_name, pkg_src_t * src,
pkg_dest_t * dest, int is_status_file, int state_flags,
void (*cb)(pkg_t *, void *), void *priv);