</error>
<error name="CKMC_ERROR_FILE_SYSTEM">
<value>TIZEN_ERROR_KEY_MANAGER | 0x11</value>
- <msg>Save key\/certificate\/pkcs12 failed because of file system error</msg>
+ <msg>Save key/certificate/pkcs12 failed because of file system error</msg>
</error>
<error name="CKMC_ERROR_UNKNOWN">
<value>TIZEN_ERROR_KEY_MANAGER | 0xFF</value>
typedef struct tizen_err_info {
int value;
- const char *name;
- const char *msg;
+ char *name;
+ char *msg;
} err_info;
static err_info err_list[] = {
ERR_ENTRY("CKMC_ERROR_INVALID_FORMAT", TIZEN_ERROR_KEY_MANAGER | 0x0E, "A provided file or binary has not a valid format"),
ERR_ENTRY("CKMC_ERROR_FILE_ACCESS_DENIED", TIZEN_ERROR_KEY_MANAGER | 0x0F, "A provided file doesn't exist or cannot be accessed in the file system"),
ERR_ENTRY("CKMC_ERROR_NOT_EXPORTABLE", TIZEN_ERROR_KEY_MANAGER | 0x10, "The data is saved as unexportable so it cannot be leaked"),
- ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key\/certificate\/pkcs12 failed because of file system error"),
+ ERR_ENTRY("CKMC_ERROR_FILE_SYSTEM", TIZEN_ERROR_KEY_MANAGER | 0x11, "Save key/certificate/pkcs12 failed because of file system error"),
ERR_ENTRY("CKMC_ERROR_UNKNOWN", TIZEN_ERROR_KEY_MANAGER | 0xFF, "The error with unknown reason"),
ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_FAILED", TIZEN_ERROR_MEDIA_CONTENT | 0x01, "DB operation failed "),
ERR_ENTRY("MEDIA_CONTENT_ERROR_DB_BUSY", TIZEN_ERROR_MEDIA_CONTENT | 0x02, "DB operation BUSY"),
/* Check if error or not */
#define TIZEN_ERROR_IS_ERROR(x) (!TIZEN_ERROR_IS_OK(x))
-/* Check if slp error or not */
+/* Check if tizen error or not */
#define TIZEN_ERROR_IS_PLATFORM_ERROR(x) (TIZEN_ERROR_MIN_PLATFORM_ERROR <= (x) && (x) < 0)
/* Application Error Class */
fp.write( "#define ERR_ENTRY(name, value, msg) {value, name, msg}\n\n" )
fp.write( "typedef struct tizen_err_info {\n" )
fp.write( "\tint value;\n" )
-fp.write( "\tconst char *name;\n" )
-fp.write( "\tconst char *msg;\n" )
+fp.write( "\tchar *name;\n" )
+fp.write( "\tchar *msg;\n" )
fp.write( "} err_info;\n\n" )
fp.write( "static err_info err_list[] = {\n" );