3 * Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
5 * This file is part of msg-service.
7 * Contact: Jaeyun Jeong <jyjeong@samsung.com>
8 * Sangkoo Kim <sangkoo.kim@samsung.com>
9 * Seunghwan Lee <sh.cat.lee@samsung.com>
10 * SoonMin Jung <sm0415.jung@samsung.com>
11 * Jae-Young Lee <jy4710.lee@samsung.com>
12 * KeeBum Kim <keebum.kim@samsung.com>
14 * PROPRIETARY/CONFIDENTIAL
16 * This software is the confidential and proprietary information of
17 * SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
18 * disclose such Confidential Information and shall use it only in
19 * accordance with the terms of the license agreement you entered
20 * into with SAMSUNG ELECTRONICS.
22 * SAMSUNG make no representations or warranties about the suitability
23 * of the software, either express or implied, including but not limited
24 * to the implied warranties of merchantability, fitness for a particular
25 * purpose, or non-infringement. SAMSUNG shall not be liable for any
26 * damages suffered by licensee as a result of using, modifying or
27 * distributing this software or its derivatives.
31 #ifndef MMS_PLUGIN_DEBUG_H
32 #define MMS_PLUGIN_DEBUG_H
34 const char *MmsDebugGetMimeType(MimeType mimeType);
35 const char *MmsDebugGetMmsReport(MmsReport report);
36 const char *MmsDebugGetMmsReportAllowed(MmsReportAllowed reportAllowed);
37 const char *MmsDebugGetMmsReadStatus(MSG_READ_REPORT_STATUS_T readStatus);
38 const char *MmsDebugGetMsgType(MmsMsgType msgType);
39 const char *MmsDebugGetResponseStatus(MmsResponseStatus responseStatus);
40 const char *MmsDebugGetRetrieveStatus(MmsRetrieveStatus retrieveStatus);
41 const char *MmsDebugGetMsgStatus(MSG_DELIVERY_REPORT_STATUS_T msgStatus);
42 const char *MmsDebugGetMsgClass(MmsMsgClass msgClass);
43 const char *MmsDebugGetDataType(MmsDataType dataType);
44 #ifdef MMS_PLUGIN_DEBUG_ENABLE
45 bool MmsDebugPrintMsgAttributes(char *pszFunc, MmsAttrib *pAttrib, bool bAll);
46 char *MmsDebugGetMsgDrmType(MsgDrmType drmType);
47 char *MmsDebugGetDrmDeliveryMode(DrmDeliveryMode deliveryMode);
48 char *MmsDebugGetDrmRightState(DrmRightState rightState);
49 bool MmsDebugPrintDrmRight(DrmRight *pDrmRight);
50 char *MmsDebugPrintMsgDRMStatus(MsgDRMStatus status);
51 bool MmsDebugPrintMulitpartEntry(MsgMultipart *pMultipart, int index);
52 char *DebugPrintGetRmResultInd(MmsRmResultInd indType);
53 char *DebugPrintHttpStatusCode(int status);
54 char *DebugPrintRmMethodType(MmsRmMethodType method);
55 char *DebugPrintGetMmsRmNetState(MmsRmNetState state);
56 char *DebugPrintGetMmsRmEntityState(MmsRmExEntityState stateEx);
57 char *MmsDebugPrintMmsRmResult(MmsRmResult result);
58 void MmsDebugPrintReqEntityInfo(MmsRmRequest *pEntity);
59 char *MmsDebugPrintHttpErrorCode(int errCode);
60 char *MmsDebugPrintProtoErrorCode(int errCode);
61 char *DebugPrintWspResult(WspResult wspResult);
62 char *DebugPrintWspState(MmsRmWapState wspState);
63 char *MmsDebugPrintRmPduType(MmsRmPduType pduType);
64 char *MmsDebugPrintMailboxType(MsgMailboxType mailboxType);
76 bool MmsDebugPrintCurrentEventHandler(char *pszFunc, MmsDebugEvType evType);
78 #endif //MMS_PLUGIN_DEBUG_H