Added base error code declaration. 92/27592/3
authorMaciej J. Karpiuk <m.karpiuk2@samsung.com>
Tue, 16 Sep 2014 09:43:15 +0000 (11:43 +0200)
committerMaciej J. Karpiuk <m.karpiuk2@samsung.com>
Tue, 16 Sep 2014 12:21:44 +0000 (14:21 +0200)
TODO: this is temporary solution.
The error code base should be eventually moved into tizen_error.h.

Change-Id: Ic587d539545fb3d34f6330ca23921e2d70083436

src/include/ckmc/ckmc-error.h

index e263dee..16380dc 100644 (file)
@@ -36,6 +36,14 @@ extern "C" {
  * @since_tizen 2.3
  */
 
+
+// MJK TODO: this should be moved into /usr/include/tizen_error.h
+#ifndef TIZEN_ERROR_KEY_MANAGER
+/** Tizen Key Manager Error */
+#define TIZEN_ERROR_KEY_MANAGER     -0x01E10000
+#endif
+
+
 typedef enum{
        CKMC_ERROR_NONE                     = TIZEN_ERROR_NONE,               /**< Successful */
        CKMC_ERROR_INVALID_PARAMETER        = TIZEN_ERROR_INVALID_PARAMETER,  /**< Invalid function parameter */