opkg: correct the name of the state changed callback and run it when appropriate
[oweals/opkg-lede.git] / pkg.h
diff --git a/pkg.h b/pkg.h
index 665191b789422adcbb2e97f6adaf32b065ee5440..ffb969b613fc91f9b03691424870ae62ab2e6933 100644 (file)
--- a/pkg.h
+++ b/pkg.h
@@ -176,6 +176,10 @@ struct pkg
      int arch_priority;
 /* Adding this flag, to "force" opkg to choose a "provided_by_hand" package, if there are multiple choice */
      int provided_by_hand;
+
+     /* this flag specifies whether the package was installed to satisfy another
+      * package's dependancies */
+     int auto_installed;
 };
 
 pkg_t *pkg_new(void);