libopkg: allow passing common package state flags to pkg_hash_add_from_file()
[oweals/opkg-lede.git] / libopkg / pkg_hash.h
index e72ffed..dcf69f5 100644 (file)
@@ -30,7 +30,7 @@ void pkg_hash_fetch_available(pkg_vec_t * available);
 
 int dist_hash_add_from_file(const char *file_name, pkg_src_t * dist);
 int pkg_hash_add_from_file(const char *file_name, pkg_src_t * src,
-                          pkg_dest_t * dest, int is_status_file);
+                          pkg_dest_t * dest, int is_status_file, int state_flags);
 int pkg_hash_load_feeds(void);
 int pkg_hash_load_status_files(void);