2 * Copyright 2012-2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef MMS_PLUGIN_ENCODE_H
18 #define MMS_PLUGIN_ENCODE_H
21 #include "MmsPluginCodecTypes.h"
22 #include "MmsPluginCodecCommon.h"
23 #include "MmsPluginMessage.h"
26 void MmsRegisterEncodeBuffer(char *pInBuff, int maxLen);
27 void MmsUnregisterEncodeBuffer(void);
29 bool MmsEncodeSendReq(FILE *pFile, MmsMsg *pMsg);
30 bool MmsEncodeTemplate(FILE *pFile, MmsMsg *pMsg);
31 bool MmsEncodeAckInd(FILE *pFile, char *szTrID, bool bReportAllowed);
32 bool MmsEncodeNotiRespInd(FILE *pFile, char *szTrID, msg_delivery_report_status_t iStatus, bool bReportAllowed);
34 bool MmsEncodeReadReport10(FILE *pFile, MmsMsg *pMsg, msg_read_report_status_t mmsReadStatus);
35 bool MmsEncodeReadReport11(FILE *pFile, MmsMsg *pMsg, msg_read_report_status_t mmsReadStatus);
37 #endif //MMS_PLUGIN_ENCODE_H