summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg.h')
-rw-r--r--libopkg/opkg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libopkg/opkg.h b/libopkg/opkg.h
index 73f18c9..d2a5bd0 100644
--- a/libopkg/opkg.h
+++ b/libopkg/opkg.h
@@ -32,6 +32,18 @@ enum _opkg_action_t
OPKG_DOWNLOAD
};
+enum _opkg_error_code_t
+{
+ OPKG_NO_ERROR,
+ OPKG_UNKNOWN_ERROR,
+ OPKG_DOWNLOAD_FAILED,
+ OPKG_DEPENDANCIES_FAILED,
+ OPKG_PACKAGE_ALREADY_INSTALLED,
+ OPKG_PACKAGE_NOT_AVAILABLE,
+ OPKG_PACKAGE_NOT_FOUND,
+ OPKG_PACKAGE_NOT_INSTALLED
+};
+
struct _opkg_package_t
{
char *name;