opkg: introduce active list into pkg_t
[project/opkg-lede.git] / libopkg / pkg.h
index e7239f13311b9c78ca9aa6302ef523deb0eb39ec..a7c98ec39ef1a2f80205127fab8dc86c3b626082 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "pkg_vec.h"
 #include "str_list.h"
+#include "active_list.h"
 #include "pkg_src.h"
 #include "pkg_dest.h"
 #include "opkg_conf.h"
@@ -135,6 +136,7 @@ struct pkg
      int recommends_count;
      char **suggests_str;
      int suggests_count;
+     struct active_list list; /* Used for installing|upgrading */
      compound_depend_t * depends;
 
      /* Abhaya: new conflicts */