#ifndef OPKG_STATE_H
#define OPKG_STATE_H
-#include <opkg_message.h>
+#include "opkg_message.h"
+
+extern int opkg_state_changed;
typedef enum _opkg_state {
OPKG_STATE_NONE,
void opkg_set_current_state (opkg_conf_t *conf, opkg_state_t state, const char *data);
+typedef void (*opkg_state_changed_callback)(opkg_state_t state, const char *data);
+
+
#endif /* OPKG_STATE_H */