Applied Tizen coding rule 68/63868/1 accepted/tizen/common/20160405.132937 accepted/tizen/ivi/20160405.083636 accepted/tizen/mobile/20160405.083550 accepted/tizen/tv/20160405.083605 accepted/tizen/wearable/20160405.083622 submit/tizen/20160405.062401
authorYounho Park <younho.park@samsung.com>
Mon, 28 Mar 2016 07:34:09 +0000 (16:34 +0900)
committerYounho Park <younho.park@samsung.com>
Mon, 28 Mar 2016 07:34:09 +0000 (16:34 +0900)
Change-Id: I332ff5ba98dc8549b3a248d934a5b4e0d8310537
Signed-off-by: Younho Park <younho.park@samsung.com>
include/pushlog.h

index ef64d20..900e51a 100644 (file)
@@ -36,17 +36,16 @@ extern "C" {
  * @brief Enumerations of error codes for push log service
  */
 
-typedef enum
-{
+typedef enum {
        PUSHLOG_ERROR_NONE = 1000,
 
        // Server reply error code. This should be synchronized with local_msg.h
-       PUSHLOG_ERROR_SUCCESS=1000,
-       PUSHLOG_ERROR_SUCCESS_AND_NO_UPDATE=1010,       //this is not neccessary in client side. this rc will be replaced to 1000
-       PUSHLOG_ERROR_WRONG_REQUEST_FORMAT=2001,
-       PUSHLOG_ERROR_BLOCKED_DEVICE_TOKEN=2002,
-       PUSHLOG_ERROR_TOO_LONG_REQUEST_MSG=2003,
-       PUSHLOG_ERROR_EXCEEDED_DAILY_QUOTA=2004,
+       PUSHLOG_ERROR_SUCCESS = 1000,
+       PUSHLOG_ERROR_SUCCESS_AND_NO_UPDATE = 1010,     //this is not neccessary in client side. this rc will be replaced to 1000
+       PUSHLOG_ERROR_WRONG_REQUEST_FORMAT = 2001,
+       PUSHLOG_ERROR_BLOCKED_DEVICE_TOKEN = 2002,
+       PUSHLOG_ERROR_TOO_LONG_REQUEST_MSG = 2003,
+       PUSHLOG_ERROR_EXCEEDED_DAILY_QUOTA = 2004,
        PUSHLOG_ERROR_FAIL_TO_AUTHENTICATE = 3001,
 
        PUSHLOG_ERROR_WRONG_APP_ID = 4010,
@@ -66,8 +65,8 @@ typedef enum
        PUSHLOG_ERROR_OUT_OF_MEMORY,
        PUSHLOG_ERROR_OPERATION_FAILED,
        PUSHLOG_ERROR_CONNECT_FAIL,
-       PUSHLOG_ERROR_INTERNAL_SERVER_ERROR=8002,
-       PUSHLOG_ERROR_PANIC=9999
+       PUSHLOG_ERROR_INTERNAL_SERVER_ERROR = 8002,
+       PUSHLOG_ERROR_PANIC = 9999
 } pushlog_error_e;