* @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,
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;