opkg: improve opkg_install error reporting and include a check to verify repository...
[oweals/opkg-lede.git] / libopkg / opkg.h
index d2a5bd0..36da8cf 100644 (file)
@@ -37,11 +37,13 @@ enum _opkg_error_code_t
   OPKG_NO_ERROR,
   OPKG_UNKNOWN_ERROR,
   OPKG_DOWNLOAD_FAILED,
-  OPKG_DEPENDANCIES_FAILED,
+  OPKG_DEPENDENCIES_FAILED,
   OPKG_PACKAGE_ALREADY_INSTALLED,
   OPKG_PACKAGE_NOT_AVAILABLE,
   OPKG_PACKAGE_NOT_FOUND,
-  OPKG_PACKAGE_NOT_INSTALLED
+  OPKG_PACKAGE_NOT_INSTALLED,
+  OPKG_GPG_ERROR,
+  OPKG_MD5_ERROR
 };
 
 struct _opkg_package_t