Modify flora license version.
[platform/core/messaging/msg-service.git] / include / common / MsgTransportTypes.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_TRANSPORT_TYPES_H
18 #define MSG_TRANSPORT_TYPES_H
19
20 /**
21  *      @file           MsgTransportTypes.h
22  *      @brief          Defines transport types of messaging framework
23  *      @version        1.0
24  */
25
26 /**
27  *      @section                Introduction
28  *      - Introduction : Overview on Messaging Transport Types
29  *      @section                Program
30  *      - Program : Messaging Transport Types Reference
31  */
32
33 /*==================================================================================================
34                                          INCLUDE FILES
35 ==================================================================================================*/
36 #include "MsgTypes.h"
37 #include "MsgStorageTypes.h"
38 #include "MsgMmsTypes.h"
39
40 #include "msg_transport_types.h"
41
42 /**
43  *      @ingroup                MESSAGING_FRAMEWORK
44  *      @defgroup       MESSAGING_TRANSPORT_TYPES       Messaging Transport Types
45  *      @{
46  */
47
48
49 /*==================================================================================================
50                                          STRUCTURES
51 ==================================================================================================*/
52
53 /**
54  *      @brief  Represents the status of a sent message. \n
55  *      This stucture contains the information about the status of a sent message that application has submitted to the framework.
56  */
57 typedef struct
58 {
59         msg_request_id_t                                reqId;          /**< Indicates the corresponding request Id. */
60         msg_network_status_t            status;         /**< Indicates the status of the corresponding request. Refer to enum _MSG_NETWORK_STATUS_E*/
61 } MSG_SENT_STATUS_S;
62
63
64 /*==================================================================================================
65                                          TYPES
66 ==================================================================================================*/
67
68
69
70 /**
71  *      @}
72  */
73
74 #endif // MSG_TRANSPORT_TYPES_H
75