summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg_state.h')
-rw-r--r--libopkg/opkg_state.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopkg/opkg_state.h b/libopkg/opkg_state.h
index 2718569..d2e8e38 100644
--- a/libopkg/opkg_state.h
+++ b/libopkg/opkg_state.h
@@ -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 */