opkg: add downloading, configuring and installing state changes
[oweals/opkg-lede.git] / opkg_state.h
index fc376757f70c27c28e7bf787739f34e48749c5e7..36dd28e9557a1bbd14e86ffecc6558d2f09b86d0 100644 (file)
@@ -15,7 +15,8 @@
    General Public License for more details.
 */
 
    General Public License for more details.
 */
 
-
+#ifndef OPKG_STATE_H
+#define OPKG_STATE_H
 
 typedef enum _opkg_state {
   OPKG_STATE_NONE,
 
 typedef enum _opkg_state {
   OPKG_STATE_NONE,
@@ -25,6 +26,7 @@ typedef enum _opkg_state {
   OPKG_STATE_UPGRADING_PKG,
   OPKG_STATE_REMOVING_PKG,
   OPKG_STATE_DOWNLOADING_REPOSITORY,
   OPKG_STATE_UPGRADING_PKG,
   OPKG_STATE_REMOVING_PKG,
   OPKG_STATE_DOWNLOADING_REPOSITORY,
-  OPKG_STATE_VERIFYING_REPOSITORY_SIGNITURE
+  OPKG_STATE_VERIFYING_REPOSITORY_SIGNATURE
 } opkg_state_t;
 
 } opkg_state_t;
 
+#endif /* OPKG_STATE_H */