opkg: output state change messages only at info verbosity level
[oweals/opkg-lede.git] / libopkg / opkg_state.h
index 27185693ca290f2c64f0dea038c8130e763854f7..d2e8e384d9eebfc28355538f74cafb0de5d698b8 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef OPKG_STATE_H
 #define OPKG_STATE_H
 
+#include <opkg_message.h>
+
 typedef enum _opkg_state {
   OPKG_STATE_NONE,
   OPKG_STATE_DOWNLOADING_PKG,
@@ -30,7 +32,7 @@ typedef enum _opkg_state {
 } opkg_state_t;
 
 
-void opkg_set_current_state (opkg_state_t state, const char *data);
+void opkg_set_current_state (opkg_conf_t *conf, opkg_state_t state, const char *data);
 
 
 #endif /* OPKG_STATE_H */