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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libopkg/opkg_state.h b/libopkg/opkg_state.h
index 9442d93..44b8d0d 100644
--- a/libopkg/opkg_state.h
+++ b/libopkg/opkg_state.h
@@ -18,7 +18,7 @@
#ifndef OPKG_STATE_H
#define OPKG_STATE_H
-#include <opkg_message.h>
+#include "opkg_message.h"
extern int opkg_state_changed;
@@ -36,5 +36,8 @@ typedef enum _opkg_state {
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 */