#define PKGTYPE "rpm"
-#define RPM_INSTALLER_SUCCESS 0
-#define RPM_INSTALLER_ERR_WRONG_PARAM 3
-#define RPM_INSTALLER_ERR_DBUS_PROBLEM 4
-#define RPM_INSTALLER_ERR_NOT_ENOUGH_MEMORY 5
-#define RPM_INSTALLER_ERR_PACKAGE_EXIST 7
-#define RPM_INSTALLER_ERR_PACKAGE_NOT_INSTALLED 8
-#define RPM_INSTALLER_ERR_RESOURCE_BUSY 9
-#define RPM_INSTALLER_ERR_UNKNOWN 10
-#define RPM_INSTALLER_ERR_PKG_NOT_FOUND 11
-#define RPM_INSTALLER_ERR_NOT_SUPPOTED_VERSION 12
-#define RPM_INSTALLER_ERR_NO_RPM_FILE 13
-#define RPM_INSTALLER_ERR_DB_ACCESS_FAILED 14
-#define RPM_INSTALLER_ERR_RPM_OPERATION_FAILED 15
-#define RPM_INSTALLER_ERR_PACKAGE_NOT_UPGRADED 16
-#define RPM_INSTALLER_ERR_RPM_SCRIPT_WRONG_ARGS 17
-#define RPM_INSTALLER_ERR_NEED_USER_CONFIRMATION 18
-#define RPM_INSTALLER_ERR_PACKAGE_INSTALLATION_DISABLED 19
-#define RPM_INSTALLER_ERR_PACKAGE_UNINSTALLATION_DISABLED 20
-#define RPM_INSTALLER_ERR_CLEAR_DATA_FAILED 21
-#define RPM_INSTALLER_ERR_INTERNAL 22
-#define RPM_INSTALLER_ERR_NO_MANIFEST 23
-#define RPM_INSTALLER_ERR_INVALID_MANIFEST 24
+#define RPM_INSTALLER_SUCCESS 0
+#define RPM_INSTALLER_ERR_WRONG_PARAM 101
+#define RPM_INSTALLER_ERR_DBUS_PROBLEM 102
+#define RPM_INSTALLER_ERR_NOT_ENOUGH_MEMORY 62
+#define RPM_INSTALLER_ERR_PACKAGE_EXIST 103
+#define RPM_INSTALLER_ERR_PACKAGE_NOT_INSTALLED 104
+#define RPM_INSTALLER_ERR_RESOURCE_BUSY 105
+#define RPM_INSTALLER_ERR_UNKNOWN 120
+#define RPM_INSTALLER_ERR_PKG_NOT_FOUND 1
+#define RPM_INSTALLER_ERR_NOT_SUPPOTED_VERSION 107
+#define RPM_INSTALLER_ERR_NO_RPM_FILE 108
+#define RPM_INSTALLER_ERR_DB_ACCESS_FAILED 109
+#define RPM_INSTALLER_ERR_RPM_OPERATION_FAILED 110
+#define RPM_INSTALLER_ERR_PACKAGE_NOT_UPGRADED 111
+#define RPM_INSTALLER_ERR_RPM_SCRIPT_WRONG_ARGS 112
+#define RPM_INSTALLER_ERR_NEED_USER_CONFIRMATION 113
+#define RPM_INSTALLER_ERR_PACKAGE_INSTALLATION_DISABLED 114
+#define RPM_INSTALLER_ERR_PACKAGE_UNINSTALLATION_DISABLED 115
+#define RPM_INSTALLER_ERR_CLEAR_DATA_FAILED 116
+#define RPM_INSTALLER_ERR_INTERNAL 117
+#define RPM_INSTALLER_ERR_NO_MANIFEST 11
+#define RPM_INSTALLER_ERR_INVALID_MANIFEST 12
#define RPM_INSTALLER_SUCCESS_STR "Success"
#define RPM_INSTALLER_ERR_WRONG_PARAM_STR "Wrong Input Param"
#define RPM_INSTALLER_ERR_NO_MANIFEST_STR "Manifest File Not Found"
#define RPM_INSTALLER_ERR_INVALID_MANIFEST_STR "Manifest Validation Failed"
+
#define DEBUG_ERR 0x0001
#define DEBUG_INFO 0x0002
#define DEBUG_RESULT 0x0004