diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:03:46 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:03:46 (EST) |
commit | f4a787e50beb527aeffd847df6b734b29967bd96 (patch) | |
tree | c07cd2fbd8f10b2eef445f5e400de95c25c5e04a /libopkg/opkg_state.h | |
parent | 4875f878ecec75c8982c833a5e13055a762c4c3f (diff) |
libopkg: remove internal dependency on libopkg.h and opkg_cmd.h
git-svn-id: http://opkg.googlecode.com/svn/trunk@64 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/opkg_state.h')
-rw-r--r-- | libopkg/opkg_state.h | 5 |
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 */ |