Modify flora license version.
[platform/core/messaging/msg-service.git] / include / framework / MsgSubmitHandler.h
1 /*
2 * Copyright 2012-2013  Samsung Electronics Co., Ltd
3 *
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
7 *
8 *    http://floralicense.org/license/
9 *
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.
15 */
16
17 #ifndef MSG_SUBMIT_HANDLER_H
18 #define MSG_SUBMIT_HANDLER_H
19
20
21 /*==================================================================================================
22                                          INCLUDE FILES
23 ==================================================================================================*/
24 #include "MsgInternalTypes.h"
25
26
27 /*==================================================================================================
28                                      FUNCTION PROTOTYPES
29 ==================================================================================================*/
30 msg_error_t MsgSubmitReq(MSG_REQUEST_INFO_S* pReq, bool bScheduled);
31 msg_error_t MsgSubmitReqSMS(MSG_REQUEST_INFO_S *pReqInfo);
32 msg_error_t MsgSubmitReqMMS(MSG_REQUEST_INFO_S *pReqInfo);
33
34 msg_error_t MsgCancelReq(msg_request_id_t reqId);
35 msg_error_t MsgUpdateSentMsg(msg_message_id_t MsgId, msg_network_status_t Status);
36
37 void MsgCopyReqInfo(MSG_REQUEST_INFO_S *pSrc, int addrIdx, MSG_REQUEST_INFO_S *pDest);
38
39 #endif // MSG_SUBMIT_HANDLER_H
40