Print error messages instead of returning error codes.
[oweals/opkg-lede.git] / libopkg / opkg.h
index 3d1e701..b39f7fb 100644 (file)
@@ -33,21 +33,6 @@ enum _opkg_action_t
   OPKG_DOWNLOAD
 };
 
-enum _opkg_error_code_t
-{
-  OPKG_NO_ERROR,
-  OPKG_UNKNOWN_ERROR,
-  OPKG_DOWNLOAD_FAILED,
-  OPKG_DEPENDENCIES_FAILED,
-  OPKG_PACKAGE_ALREADY_INSTALLED,
-  OPKG_PACKAGE_NOT_AVAILABLE,
-  OPKG_PACKAGE_NOT_FOUND,
-  OPKG_PACKAGE_NOT_INSTALLED,
-  OPKG_GPG_ERROR,
-  OPKG_MD5_ERROR,
-  OPKG_SHA256_ERROR
-};
-
 struct _opkg_progress_data_t
 {
   int percentage;