From c84bda4f1ca790e69483ef1e74b6d52be951d429 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:16:50 -0500 Subject: opkg: add some error codes to libopkg git-svn-id: http://opkg.googlecode.com/svn/trunk@107 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg.h') 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; -- cgit v0.9.1