--- /dev/null
+Flora License
+
+Version 1.0, May, 2012
+
+http://www.tizenopensource.org/license
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
+
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
+
+"Tizen Certified Platform" shall mean a software platform that complies with the standards set forth in the Compatibility Definition Document and passes the Compatibility Test Suite as defined from time to time by the Tizen Technical Steering Group and certified by the Tizen Association or its designated agent.
+
+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work solely as incorporated into a Tizen Certified Platform, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work solely as incorporated into a Tizen Certified Platform to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof pursuant to the copyright license above, in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
+
+ 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
+
+ 2. You must cause any modified files to carry prominent notices stating that You changed the files; and
+
+ 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
+
+ 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Flora License to your work
+
+To apply the Flora License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Flora License, Version 1.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.tizenopensource.org/license
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
-/**\r
- *\r
- * @ingroup SLP_PG\r
- * @defgroup MESSAGE MessagingFW\r
-@{\r
-<h1 class="pg">Introduction</h1>\r
- <h2 class="pg">Purpose</h2>\r
-The purpose of this document is to describe how applications can use the Messaging Framework APIs to send and receive SMS and MMS messages. This document gives programming guidelines to application engineers.\r
-\r
- <h2 class="pg">Scope</h2>\r
-The scope of this document is limited to Messaging Framework APIs usage.\r
-\r
- <h2 class="pg">Abbreviations</h2>\r
-<table>\r
-<tr><td>API</td><td>Application Programming Interface</td></tr>\r
-</table>\r
-@}\r
-\r
-@defgroup Message_Architecture 1.Archtecture\r
-@ingroup MESSAGE\r
-@{\r
-<h1>Messaging Framework Architecture</h1>\r
-The Messaging framework supports various messaging services such as SMS, MMS, Cell Broadcast, WAP Push, and Provisioning message. The Messaging framework architecture consists of a Messaging daemon and a library. The messaging library works on application process and provides various APIs to support transport, control, storage, filter and setting services for application. The messaging daemon has three components (transaction manager, transaction handler, and plug-in manager) to provide message services. The socket IPC is used to communicate (request & event) between Messaging daemon and library.\r
-@image html messaging_image001.png\r
-\r
-- Transaction Manager\r
- - Receive the IPC message (request) on socket.\r
- - Manage list of pairs (request ID, transaction proxy) for synchronous return.\r
- - Determine the transaction flow based on request/event information. (Mapping the request to one of the handlers)\r
- - Store the transaction information for asynchronous events (Find which transaction proxy want to receive SMS)\r
-- Transaction Handler\r
- - Submit handler deals with submit requests.\r
- - Deliver handler deals with the incoming message from plug-ins.\r
- - Storage handler deals with the messages, accounts and folder requests\r
- - Filter handler deals with the filter requests\r
- - Setting handler deals with the service-specific attributes\r
-- Plug-in Manager\r
- - Initialize all plug-ins after loading plug-in configuration files\r
- - Holding the list of plug-ins and the state of plug-ins\r
- - Providing the interface between handlers and plug-ins\r
-- Transaction Handlers\r
- - Initialize all plug-ins after loading plug-in configuration files\r
- - Receiving IPC messages from messaging daemon.\r
- - Handling synchronous calls\r
- - Condition variable is used for waiting the return from msg. server)\r
- - Handling asynchronous calls or events\r
- - Proxy listener is a component of transaction proxy\r
- - Proxy listener is waiting for the event\r
- - Invoking callback function in the msg. handle list\r
- - i.e. calling incoming callback function of MSG APP handle, when incoming msg\r
- - Holding list of message handles\r
- - Message handle is created by MsgOpenMsgHandle(msgHandle)\r
- - Message handle holds some info such as callback func\r
-- Message API\r
- - Transport & control API\r
- - Storage API\r
- - Filter API\r
- - Setting API\r
-@}\r
-\r
-@defgroup Message_Feature 2.Feature\r
-@ingroup MESSAGE\r
-@{\r
- <h2 class="pg">Messaging Framework Features</h2>\r
--# Message Control Features:\r
- -# Open/Close message handle\r
--# Message Transport Features:\r
- -# Submit request to send, forward, reply, retrieve message.\r
- -# Register callback functions to listen to invoked events from messaging daemon. (message status callback, incoming message callback)\r
--# Message Storage Features:\r
- -# Add / Update / Move / Delete / Count / Get message or message list.\r
- -# Add / Update / Delete / Get folder or folder list.\r
--# Message Filter Features:\r
- -# Add / Update / Delete filter or filter list.\r
--# Message Setting Features:\r
- -# Set / Get various message setting (i.e. whether to send read/delivery report or not)\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_1 Initialize/Finalization\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h2 class="pg">Messaging Framework Functions</h2>\r
-\r
- <h3 class="pg">Initialization / Finalization to use Messaging Service </h3>\r
-- int msg_open_msg_handle(MSG_HANDLE_T *handle);\r
-@n msg_open_msg_handle() should be called before using the messaging service. This function opens a channel between the application and the messaging framework.\r
-- int msg_close_msg_handle(MSG_HANDLE_T *handle);\r
-@n msg_close_msg_handle() should be called after using the messaging service. This function closes a channel between the application and the messaging framework.\r
-- int msg_reg_sent_status_callback(MSG_HANDLE_T handle, msg_sent_status_cb cb);\r
-@n Application should implement a msg_sent_status_cb function and register it into message handle. If the application sends a message, this callback function will be called to report its sending status. msg_reg_set_status_callback function should be called after creation of message handle.\r
-- int msg_reg_sms_message_callback(MSG_HANDLE_T handle, msg_sms_incoming_cb cb, unsigned short port);\r
-@n Application should implement a msg_sms_incoming_cb function and register it into message handle. It?\99s used to listen to the SMS incoming event invoked by messaging daemon. The incoming message information structure (MSG_MESSAGE_S) can be delivered as a parameter of the callback function.\r
-- int msg_reg_mms_conf_message_callback(MSG_HANDLE_T handle, msg_mms_conf_msg_incoming_cb cb, char *app_id);\r
-@n Application should implement a msg_mms_conf_msg_incoming_cb function and register it into message handle. It?\99s used to listen to the MMS incoming event invoked by messaging daemon. The incoming message information structure (MSG_MESSAGE_S) can be delivered as a parameter of the callback function.\r
-@code\r
-#include <stdio.h>\r
-#include <glib.h>\r
-#include <MapiControl.h>\r
-#include <MapiTransport.h>\r
-\r
-void sentStatusCB(MSG_HANDLE_T hMsgHandle, MSG_SENT_STATUS_S *pMsgStatus, void *user_param)\r
-{\r
- // Application can handle message sent status event\r
-}\r
-\r
-void incomingSmsMessageCB (MSG_HANDLE_T hMsgHandle, msg_message_t msg, void *user_param)\r
-{\r
- // Application can handle SMS incoming message.\r
-}\r
-\r
-void incomingMmsConfMessageCB(MSG_HANDLE_T hMsgHandle, msg_message_t msg, void *user_param)\r
-{\r
- // Application can handle MMS incoming message.\r
-}\r
-\r
-int main(void)\r
-{\r
- MSG_HANDLE_T msgHandle = NULL;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
-\r
- if (err != MSG_SUCCESS)\r
- {\r
- printf("msg_open_msg_handle() Fail [%d]", err);\r
- return err;\r
- }\r
-\r
- // Register sent status handler\r
- err = msg_reg_sent_status_callback(msgHandle, &sentStatusCB, NULL);\r
-\r
- if (err != MSG_SUCCESS)\r
- {\r
- printf("msg_reg_sent_status_callback() Fail [%d]", err);\r
- return err;\r
- }\r
-\r
- // Register SMS incoming message handler\r
- err = msg_reg_sms_message_callback(msgHandle, &incomingSmsMessageCB, 0, NULL);\r
-\r
- if (err != MSG_SUCCESS)\r
- {\r
- printf("msg_reg_sms_message_callback() Fail [%d]", err);\r
- return err;\r
- }\r
-\r
- // Register MMS incoming message handler\r
- err = msg_reg_mms_conf_message_callback(msgHandle, &incomingMmsConfMessageCB, NULL, NULL);\r
-\r
- if (err != MSG_SUCCESS)\r
- {\r
- printf("msg_reg_mms_conf_message_callback() Fail [%d]", err);\r
- return err;\r
- }\r
-\r
- // g_main_loop should be used to listen CB event from messaging daemon\r
- mainloop = g_main_loop_new(NULL, FALSE);\r
- g_main_loop_run(mainloop);\r
-\r
- msg_close_msg_handle(&msgHandle);\r
-\r
- return err;\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_2 Adding a SMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Adding a SMS Message</h3>\r
-- msg_message_t msg_new_message();\r
-@n msg_new_message() is a function to create a message object which can store the message information. You should call this function to set the message that you want to add or send.\r
-- int msg_set_message_type(msg_message_t msg, MSG_MESSAGE_TYPE_T msg_type);\r
-@n msg_set_message_type() is a function to set the message type such as SMS or MMS. The first parameter is the message object which is created by msg_new_message(). The second parameter is the message type you want to set. It should be one of enum type ( _MSG_MESSAGE_TYPE_E). If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-- int msg_sms_set_message_body(msg_message_t msg, const char* mdata, int size);\r
-@n msg_sms_set_message_body() is a function to set the SMS body data. The first parameter is the message object which is created by msg_new_message(). The second parameter is the SMS body data you want to set. The third parameter is the length of SMS body data. If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-- int msg_add_address(msg_message_t msg, const char* phone_num_list, MSG_RECIPIENT_TYPE_T to_type);\r
-@n msg_add_address() is a function to add the phone numbers for the message. The first parameter is the message object which is created by msg_new_message(). The second parameter is the list of phone number you want to set. You can add several phone numbers at once. The phone numbers should be separated by ','. The third parameter is the recipient type of phone number. It should be one of enum type (_MSG_RECIPIENT_TYPE_E). If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-- int msg_add_message(MSG_HANDLE_T handle, const msg_message_t msg, const MSG_SENDINGOPT_S *send_opt);\r
-@n msg_add_message() is a function to add a composed message into the database of messaging framework. Before calling this function, the application should set the message object and the sending option structure and then pass them as parameters. If you don't want to change the current sending option, set the variable 'bSetting' to false. If saving a message is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-- int msg_release_message(msg_message_t *msg);\r
-@n msg_release_message() is a function to free the memory of a message object which is create by msg_new_message(). If freeing the memory is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-@code\r
-#include <string.h>\r
-#include <MapiStorage.h>\r
-#include <MapiMessage.h>\r
-\r
-void test_add_sms_message(MSG_HANDLE_T hMsgHandle)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- MSG_SENDINGOPT_S sendOpt = {0, };\r
- sendOpt.bSetting = false;\r
-\r
- msg_message_t msgInfo = msg_new_message();\r
-\r
- // Set Message Type\r
- err = msg_set_message_type(msgInfo, MSG_TYPE_SMS);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- char msgText[1024];\r
-\r
- memset(msgText, 0x00, 1024);\r
- strncpy(msgText, "Test SMS Message", sizeof(msgText)-1);\r
- int dataSize = strlen(msgText);\r
-\r
- // Set SMS text\r
- err = msg_sms_set_message_body(msgInfo, msgText, dataSize);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- char number[MAX_ADDRESS_VAL_LEN];\r
-\r
- memset(number, 0x00, MAX_ADDRESS_VAL_LEN);\r
- strncpy(number, "+821030011234", sizeof(number)-1);\r
-\r
- // Set Recipient Address\r
- err = msg_add_address(msgInfo, number, MSG_RECIPIENTS_TYPE_TO);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- err = msg_add_message(hMsgHandle, msgInfo, &sendOpt);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("Saving Message is OK!");\r
- else\r
- printf("Saving Message is failed!");\r
-\r
-free_memory:\r
- msg_release_message(&msgInfo);\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_3 Adding a MMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Adding a MMS Message</h3>\r
-- int msg_set_subject(msg_message_t msg, const char* subject);\r
-@n msg_set_subject() is a function to set the subject of MMS. The first parameter is the message object which is created by msg_new_message(). The second parameter is the subject you want to set. If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- MMS_MESSAGE_DATA_S* msg_mms_create_message(void);\r
-@n msg_mms_create_message() allocates a MMS_MESSAGE_DATA_S structure and returns it?\99s address. MMS_MESSAGE_DATA_S is needed to represent mms specific data and transfer it to the messaging daemon in the pData parameter of the MSG_MESSAGE_S structure.\r
-\r
-- MMS_SMIL_ROOTLAYOUT* msg_mms_set_rootlayout(MMS_MESSAGE_DATA_S* msg, const int width, const int height, const int bgcolor);\r
-@n msg_mms_set_rootlayout() is a function to set smil root layout. The parameters representing the size and background color of smil root layout should be set.\r
-\r
-- MMS_SMIL_REGION* msg_mms_add_region(MMS_MESSAGE_DATA_S *msg_data, const char* szID, const int x, const int y, const int width, const int height, const int bgcolor);\r
-@n msg_mms_add_region() is a function to add a smil region. Smil region is needed to display text message, image, and video data (Each content has its own region). This function is called to allocate a region for each contents.\r
-\r
-- MMS_PAGE_S* msg_mms_add_page(MMS_MESSAGE_DATA_S *msg_data, const int duration);\r
-@n msg_mms_add_page() is a function to add a smil page.\r
-\r
-- MMS_MEDIA_S* msg_mms_add_media(MMS_PAGE_S *page, const MmsSmilMediaType mediatype, const char* regionid, char* filepath);\r
-@n msg_mms_add_media() is a function to add multimedia content to a mms message. If some content should be played with smil player, this function can be used.\r
-\r
-- MMS_ATTACH_S* msg_mms_add_attachment(MMS_MESSAGE_DATA_S *msg_data, char *filepath);\r
-@n msg_mms_add_attachment() is a function to add a content as an attached file. With this function a content might be attached as a multipart mixed type.\r
-\r
-- int msg_mms_set_message_body(msg_message_t msg, const MMS_MESSAGE_DATA_S *msg_data);\r
-@n msg_mms_set_message_body() is a function to set the MMS body data. The first parameter is the message object which is created by msg_new_message(). The second parameter is the structure which is allocated by msg_mms_create_message() and is set by the APIs for MMS.\r
-\r
-- int msg_mms_destroy_message(MMS_MESSAGE_DATA_S* msg);\r
-@n msg_mms_destroy_message() should be called to deallocate the MMS_MESSAGE_DATA_S structure and internal region, page, media, and attach list.\r
-@code\r
-#include <string.h>\r
-#include <MapiStorage.h>\r
-#include <MapiMessage.h>\r
-\r
-void test_add_mms_message(MSG_HANDLE_T hMsgHandle)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- MSG_SENDINGOPT_S sendOpt = {0, };\r
- sendOpt.bSetting = false;\r
-\r
- msg_message_t msgInfo = msg_new_message();\r
-\r
- // Set Message Type\r
- err = msg_set_message_type(msgInfo, MSG_TYPE_MMS);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- MMS_MESSAGE_DATA_S* data;\r
- MMS_PAGE_S* page;\r
- MMS_MEDIA_S* media[3];\r
- MMS_ATTACH_S* attach;\r
- int nSize = 0;\r
-\r
- // Set MMS subject\r
- char subject[MAX_SUBJECT_LEN];\r
-\r
- memset(subject, 0x00, MAX_SUBJECT_LEN);\r
- strncpy(subject, "hello mms", sizeof(subject)-1);\r
-\r
- err = msg_set_subject(msgInfo, subject);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- // Set MMS Body data\r
- data = msg_mms_create_message();\r
- msg_mms_set_rootlayout(data, 100, 100, 0xffffff);\r
- msg_mms_add_region(data, "Image", 0, 50, 100, 50, 0xffffff);\r
- msg_mms_add_region(data, "Text", 0, 0, 100, 50, 0xffffff);\r
- page = msg_mms_add_page(data, 5000);\r
- media[0] = msg_mms_add_media(page, MMS_SMIL_MEDIA_IMG, "Image", "/tmp/image.jpg");\r
- media[1] = msg_mms_add_media(page, MMS_SMIL_MEDIA_AUDIO, NULL, "/tmp/audio.amr");\r
- media[2] = msg_mms_add_media(page, MMS_SMIL_MEDIA_TEXT, "Text", "/tmp/message.txt");\r
- attach = msg_mms_add_attachment(data, "attachment.3gp");\r
-\r
- err = msg_mms_set_message_body(msgInfo, data);\r
-\r
- if (err != MSG_SUCCESS)\r
- {\r
- msg_mms_destroy_message(data);\r
- goto free_memory;\r
- }\r
-\r
- msg_mms_destroy_message(data);\r
-\r
- // Set Recipient Address\r
- char number[MAX_ADDRESS_VAL_LEN];\r
-\r
- memset(number, 0x00, MAX_ADDRESS_VAL_LEN);\r
- strncpy(number, "+821030011234", sizeof(number)-1);\r
-\r
- err = msg_add_address(msgInfo, number, MSG_RECIPIENTS_TYPE_TO);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- err = msg_add_message(hMsgHandle, msgInfo, &sendOpt);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("Saving Message is OK!");\r
- else\r
- printf("Saving Message is failed!");\r
-\r
-free_memory:\r
- msg_release_message(&msgInfo);\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_4 Sending a SMS/MMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Sending a SMS/MMS Message</h3>\r
-\r
-- bool msg_is_sms(msg_message_t msg);\r
-@n msg_is_sms() is a function to check whether the message type of message object is SMS or not. The first parameter is the message object which is created by msg_new_message(). The function returns true if the message object is a SMS message. Otherwise, it returns false.\r
-\r
-- bool msg_is_mms(msg_message_t msg);\r
-@n msg_is_mms() is a function to check whether the message type of message object is MMS or not. The first parameter is the message object which is created by msg_new_message(). The function returns true if the message object is a MMS message. Otherwise, it returns false.\r
-\r
-- int msg_sms_send_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);\r
-@n msg_sms_send_message() is a function to send SMS through messaging framework. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the structure that includes the message information to send. You can get the result of sending on sent status callback.\r
-\r
-- int msg_mms_send_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);\r
-@n msg_sms_send_message() is a function to send SMS through messaging framework. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the structure that includes the message information to send. You can get the result of sending on sent status callback.\r
-@code\r
-#include <MapiTransport.h>\r
-#include <MapiMessage.h>\r
-\r
-int MsgTestSendMsg(MSG_HANDLE_T hMsgHandle, msg_message_t pMsg)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL\n");\r
- return MSG_ERR_NULL_MSGHANDLE;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- MSG_REQUEST_S req = {0};\r
-\r
- if (pMsg == NULL)\r
- {\r
- printf("Message is NULL\n");\r
- return MSG_ERR_NULL_MESSAGE;\r
- }\r
-\r
- req.msg = pMsg;\r
-\r
- if (msg_is_sms(req.msg))\r
- err = msg_sms_send_message(hMsgHandle, &req);\r
- else if (msg_is_mms(req.msg))\r
- err = msg_mms_send_message(hMsgHandle, &req);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("Request to Send Message is successful!!!");\r
- else\r
- printf("Request to Send Message is failed!!!");\r
-\r
- return err;\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_5 Sending Simple SMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Simple SMS Sending</h3>\r
-- int msg_sms_send(const char *phone_num_list, const char *sms_text, msg_simple_sent_status_cb cb, void *user_param);\r
-@n msg_sms_send() is a simple function to send an SMS message. Without this API, in order to send a message the application should allocate a channel with messaging daemon for IPC, register sent-status callback function to monitor the sending result, and fulfill many member variables of MSG_MESSAGE_S. This function implicitly makes a connection with messaging daemon and registers the callback function. In addition, member variables of the MSG_MESSAGE_S structure are filled with default values except for the recipient phone_number and sms_text.\r
-@code\r
-#include <stdio.h>\r
-#include <string.h>\r
-#include <glib.h>\r
-#include <MapiTransport.h>\r
-\r
-GMainLoop *mainloop;\r
-\r
-typedef struct {\r
- char number[256];\r
- char text[256];\r
- char userdata[256];\r
-} send_data;\r
-\r
-void sent_status_cb(MSG_SENT_STATUS_S *pMsgStatus, void *userData)\r
-{\r
- if (pMsgStatus->status == MSG_NETWORK_SEND_SUCCESS)\r
- printf("reqId : %d MSG SENT SUCCESS !!!\n", pMsgStatus->reqId);\r
- else\r
- printf("reqId : %d MSG SENT FAIL !!! [%d]\n", pMsgStatus->reqId, pMsgStatus->status);\r
-}\r
-\r
-// count from here\r
-gboolean send_func(gpointer data)\r
-{\r
- send_data* sms_input = (send_data*)data;\r
-\r
- printf("Begin to send [%s] to [%s]\n", sms_input->number, sms_input->text);\r
- MSG_ERROR_T err = msg_sms_send(sms_input->number, sms_input->text, &sent_status_cb, (void*)sms_input->userdata);\r
-\r
- if (err != MSG_SUCCESS)\r
- printf("Send failed [%d]\n", err);\r
-\r
- return FALSE;\r
-}\r
-// end\r
-\r
-int main(int argc, char* argv[])\r
-{\r
- if (argc != 3 && argc != 4)\r
- {\r
- printf("Usage: %s {phone_num_list} {sms_text} [user_data]\n", argv[0]);\r
- printf("phone_num_list: phone_num1, phone_num2, ..., phone_numN\n");\r
- return 0;\r
- }\r
-\r
- // Set sms input parameters : phone numbers and text\r
- send_data sms_input = {};\r
- strncpy(sms_input.number, argv[1], sizeof(sms_input.number)-1);\r
- strncpy(sms_input.text, argv[2], sizeof(sms_input.text)-1);\r
- if (argc == 4)\r
- strncpy(sms_input.userdata, argv[3], sizeof(sms_input.userdata)-1);\r
-\r
- // Add Sending Function to GMainLoop\r
- g_idle_add(&send_func, (gpointer) &sms_input);\r
-\r
- // start GMainLoop\r
- mainloop = g_main_loop_new(NULL, FALSE);\r
-\r
- printf("Entering GMain Loop to Receive Notifications in Thread...\n");\r
-\r
- g_main_loop_run(mainloop);\r
-\r
- printf("==== End Test App. Bye...===\n");\r
-\r
- return 0;\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_6 Retrieving a MMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Retrieving a MMS Message</h3>\r
-- int msg_mms_retrieve_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);\r
-@n msg_mms_retrieve_message() is a function to submit a retrieve MMS request.\r
-@code\r
-void MsgTestRetrieveMessage(MSG_HANDLE_T hMsgHandle, MSG_MESSAGE_ID_T nMsgId)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL");\r
- return;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- msg_message_t msg = msg_new_message();\r
- MSG_SENDINGOPT_S sendOpt = {0, };\r
-\r
- err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)nMsgId, msg, &sendOpt);\r
-\r
- if (err != MSG_SUCCESS)\r
- printf("Get Message Failed!");\r
-\r
- MSG_REQUEST_S req = {0, msg, sendOpt};\r
-\r
- err = msg_mms_retrieve_message(hMsgHandle, &req);\r
-\r
- if (err != MSG_SUCCESS)\r
- printf("Retrieve MMS Message Failed!");\r
-\r
- msg_release_message(&msg);\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_7 Getting a SMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Getting a SMS Message</h3>\r
-- int msg_get_message(MSG_HANDLE_T handle, MSG_MESSAGE_ID_T msg_id, msg_message_t msg, MSG_SENDINGOPT_S *send_opt);\r
-@n msg_get_message() is a function to get a message. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the message ID you want to get. The third parameter is the message object to receive the message information. The last parameter is the structure to receive the message sending options.\r
-\r
-- int msg_get_message_id(msg_message_t msg);\r
-@n msg_get_message_id() is a function to get the message ID. The parameter is the message object. If the function is successful, it returns the message ID. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- int msg_get_folder_id(msg_message_t msg);\r
-@n msg_get_folder_id() is a function to get the ID of the folder that the message is saved within. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_FOLDER_ID_E) . Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- int msg_get_message_type(msg_message_t msg);\r
-@n msg_get_message_type() is a function to get the message type. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_MESSAGE_TYPE_E). Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- int msg_get_address_count(msg_message_t msg);\r
-@n msg_get_address_count() is a function to get the number of addresses. The parameter is the message object. If the function is successful, it returns the number of addresses. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- const char* msg_get_ith_address(msg_message_t msg, int ith);\r
-@n msg_get_ith_address() is a function to get the ith address of message. The first parameter is the message object. The second parameter is the index of address you want to get. If the function is successful, it returns the address string. Otherwise it returns NULL.\r
-\r
-- time_t* msg_get_time(msg_message_t msg);\r
-@n msg_get_time() is a function to get the time value of message. The parameter is the message object. If the function is successful, it returns the time value. Otherwise it returns NULL.\r
-\r
-- int msg_get_network_status(msg_message_t msg);\r
-@n msg_get_network_status() is a function to get the network status of message. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_NETWORK_STATUS_E). Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- bool msg_is_read(msg_message_t msg);\r
-@n msg_is_read() is a function to check whether the message was read or not. The parameter is the message object. If the message was read, it returns true. Otherwise it returns false.\r
-\r
-- bool msg_is_protected(msg_message_t msg);\r
-@n msg_is_protected() is a function to check whether the message is protected or not. The parameter is the message object. If the the message was protected, it returns true. Otherwise it returns false.\r
-\r
-- int msg_get_message_body_size(msg_message_t msg);\r
-@n msg_get_message_body_size() is a function to get the byte size of message. The parameter is the message object. If the function is successful, it returns the byte size of message. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-\r
-- const char* msg_sms_get_message_body(msg_message_t msg);\r
-@n msg_sms_get_message_body() is a function to get the body data of message. The first parameter is the message object. If the function is successful, it returns the body data. Otherwise it returns NULL.\r
-@code\r
-void MsgTestGetSmsMessage(MSG_HANDLE_T hMsgHandle, int MsgId)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL\n");\r
- return;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- msg_message_t msg = msg_new_message();\r
- MSG_SENDINGOPT_S sendOpt = {0, };\r
-\r
- // Get Message\r
- err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)MsgId, msg, &sendOpt);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- printf("msgId = %d\n", msg_get_message_id(msg));\r
- printf("folderId = %d\n", msg_get_folder_id(msg));\r
- printf("msgType = %d\n", msg_get_message_type(msg));\r
- printf("phone number = %s\n", msg_get_ith_address(msg, 0));\r
- printf("displayTime = %s\n", ctime(msg_get_time(msg)));\r
- printf("networkStatus = %d\n", msg_get_network_status(msg));\r
- printf("bRead = %d\n", msg_is_read(msg));\r
- printf("bProtected = %d\n", msg_is_protected(msg));\r
- printf("dataSize = %d\n", msg_get_message_body_size(msg));\r
- printf("msgData = %s\n", msg_sms_get_message_body(msg));\r
-\r
-free_memory:\r
- msg_release_message(&msg);\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_8 Getting a MMS Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Getting a MMS Message</h3>\r
-- int msg_mms_get_message_body(msg_message_t msg, MMS_MESSAGE_DATA_S *body);\r
-@n msg_get_address_count. The parameter is the message object. The second parameter is the structure to receive MMS data as output. If the function is successful, it returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).\r
-- MMS_SMIL_REGION* msg_mms_get_smil_region(MMS_MESSAGE_DATA_S msgBody, int region_idx);\r
-@n msg_mms_get_smil_region() is a function to get a SMIL region information. The first parameter is the structure of MMS data. The second parameter is the index of SMIL region you want to get. If the function is successful, it returns the structure which contains the SMIL region information. Otherwise it returns NULL.\r
-- MMS_PAGE_S* msg_mms_get_page(MMS_MESSAGE_DATA_S msgBody, int page_idx);\r
-@n msg_mms_get_page() is a function to get a SMIL page information. The first parameter is the structure of MMS data. The second parameter is the index of SMIL page you want to get. If the function is successful, it returns the structure which contains the SMIL page information. Otherwise it returns NULL.\r
-- MMS_MEDIA_S* msg_mms_get_media(MMS_PAGE_S *page, int media_idx);\r
-@n msg_mms_get_media() is a function to get a media information in a SMIL page. The first parameter is the structure of SMIL page you want to get the media from. The second parameter is the index of media you want to get. If the function is successful, it returns the structure which contains the media information. Otherwise it returns NULL.\r
-- MMS_ATTACH_S* msg_mms_get_attachment(MMS_MESSAGE_DATA_S msgBody, int attach_idx);\r
-@n msg_mms_get_attachment() is a function to get the file information of an attachment. The first parameter is the structure of MMS data. The second parameter is the index of attachment you want to get. If the function is successful, it returns the structure which contains the attachment file information. Otherwise it returns NULL.\r
-- const char* msg_get_subject(msg_message_t msg);\r
-@n msg_get_subject() is a function to get the subject of MMS. The parameter is the message object. If the function is successful, it returns the subject string. Otherwise it returns NULL.\r
-@code\r
-void MsgTestGetMmsMessage(MSG_HANDLE_T hMsgHandle, int MsgId)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL\n");\r
- return;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- msg_message_t msg = msg_new_message();\r
- MSG_SENDINGOPT_S sendOpt = {0, };\r
-\r
- // Get Message\r
- err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)MsgId, msg, &sendOpt);\r
-\r
- if (err != MSG_SUCCESS) goto free_memory;\r
-\r
- if (msg_is_mms(msg) == false)\r
- {\r
- printf("It is not MMS Message!");\r
- goto free_memory;\r
- }\r
-\r
- MMS_MESSAGE_DATA_S* msgBody = msg_mms_create_message();\r
-\r
- // Get MMS Body Data\r
- msg_mms_get_message_body(msg, msgBody);\r
-\r
- //Print root-layout info\r
- printf("width: %d \n\r
- height: %d \n\r
- nbgColor:%x \n",\r
- msgBody->rootlayout.width.value,\r
- msgBody->rootlayout.height.value,\r
- msgBody->rootlayout.bgColor);\r
-\r
- // Print Region Info\r
- for (int i = 0; i < msgBody->regionCnt; ++i)\r
- {\r
- MMS_SMIL_REGION* pRegion = msg_mms_get_smil_region(msgBody, i);\r
-\r
- printf("region id: %s\n\r
- region left : %d\n\r
- region top : %d\n\r
- region width : %d\n\r
- region height : %d\n\r
- region bgColor : %x\n\r
- region fit : %d\n",\r
- pRegion->szID,pRegion->nLeft.value,\r
- pRegion->nTop.value,pRegion->width.value,\r
- pRegion->height.value, pRegion->bgColor,\r
- pRegion->fit);\r
- }\r
-\r
- // Print Page info\r
- for (int i = 0; i< msgBody->pageCnt; ++i)\r
- {\r
- MMS_PAGE_S* pPage = msg_mms_get_page(msgBody, i);\r
-\r
- printf("page's duration: %d msec\n\r
- page's media count: %d\n",\r
- pPage->nDur, pPage->mediaCnt);\r
-\r
- // Print Contents Info\r
- for(int j = 0; j < pPage->mediaCnt; ++j)\r
- {\r
- MMS_MEDIA_S* pMedia = msg_mms_get_media(pPage, j);\r
- printf("media's filename: %s\n\r
- media's filepath: %s\n\r
- media's regionId: %s\n\r
- Bold: %d Italic: %d\n",\r
- pMedia->szFileName,\r
- pMedia->szFilePath,\r
- pMedia->regionId,\r
- pMedia->sMedia.sText.bBold,\r
- pMedia->sMedia.sText.bItalic);\r
-\r
- if(pMedia->drmType != MSG_DRM_TYPE_NONE)\r
- {\r
- printf("media's drmtype: %d\n\r
- media's drmpath: %s\n",\r
- pMedia->drmType, pMedia->szDrm2FullPath);\r
- }\r
- }\r
- }\r
-\r
- for (int i = 0; i < msgBody->attachCnt; ++i)\r
- {\r
- MMS_ATTACH_S* pAttach = msg_mms_get_attachment(msgBody, i);\r
-\r
- printf("Attachment file Name: %s\n\r
- Attachment file Path: %s\n\r
- Attached file size: %d\n",\r
- pAttach->szFileName,\r
- pAttach->szFilePath,\r
- pAttach->fileSize);\r
-\r
- if(pAttach->drmType != MSG_DRM_TYPE_NONE)\r
- printf("media's drmtype: %d\n\r
- media's drmpath: %s\n",\r
- pAttach->drmType, pAttach->szDrm2FullPath);\r
- }\r
-\r
- printf("Subject: %s\n", msg_get_subject(pMsg));\r
-\r
- printf("msgId = %d", msg_get_message_id(msg));\r
- printf("folderId = %d", msg_get_folder_id(msg));\r
- printf("phone number = %s", msg_get_ith_address(msg, 0));\r
- printf("displayTime = %s", ctime(msg_get_time(msg)));\r
- printf("networkStatus = %d", msg_get_network_status(msg));\r
- printf("bRead = %d", msg_is_read(msg));\r
- printf("bProtected = %d", msg_is_protected(msg));\r
-\r
-free_memory:\r
- msg_mms_destroy_message(msgBody);\r
-\r
- msg_release_message(&msg);\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_9 Delete a Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Delete a Message</h3>\r
-- int msg_delete_message(MSG_HANDLE_T handle, MSG_MESSAGE_ID_T msg_id);\r
-@n msg_delete_message() is a function to delete a message from message box by msg_id.\r
-@code\r
-void MsgTestDeleteMessage(MSG_HANDLE_T hMsgHandle, MSG_MESSAGE_ID_T nMsgId)\r
-{\r
- MSG_ERROR_T err;\r
-\r
- if (msg_delete_message(hMsgHandle, nMsgId) != MSG_SUCCESS)\r
- printf("Failed to delete Message");\r
-\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_10 Set/Get Message Setting\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Set / Get Message setting</h3>\r
-msg_set_config() and msg_get_cofig() is used to set or to get the message setting options. MSG_SETTING_S structure includes various setting information and is shared between message application and messaging daemon.\r
-\r
-- int msg_set_config(MSG_HANDLE_T handle, const MSG_SETTING_S *setting);\r
-@n msg_set_config() sets a message option.\r
-- int msg_get_config(MSG_HANDLE_T handle, MSG_SETTING_S *setting);\r
-@n msg_get_config() gets a message option.\r
-@code\r
-void MsgTestSetGeneralOpt(MSG_HANDLE_T hMsgHandle)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SETTING_S setting = {0, };\r
-\r
- setting.type = MSG_GENERAL_OPT;\r
-\r
- setting.option.generalOpt.bKeepCopy = true;\r
- setting.option.generalOpt.alertTone = MSG_ALERT_TONE_ONCE;\r
-\r
- err = msg_set_config(hMsgHandle, &setting);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("Setting Config Data is OK!");\r
- else\r
- printf("Setting Config Data is failed!");\r
-}\r
-\r
-void MsgTestGetGeneralOpt(MSG_HANDLE_T hMsgHandle)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SETTING_S setting = {0, };\r
-\r
- err = msg_get_config(hMsgHandle, &setting);\r
-\r
- if (err == MSG_SUCCESS)\r
- {\r
- printf("Setting Config Data is OK!\n");\r
- printf("bKeepCopy : [%d], AlertTone : [%d]\n", setting.option.generalOpt.bKeepCopy, setting.option.generalOpt.alertTone);\r
- }\r
- else\r
- printf("Setting Config Data is failed!\n");\r
-}\r
-@endcode\r
-@}\r
-\r
-@defgroup MESSAGE_USECASES_11 Filtering a Message\r
-@ingroup MESSAGE_USECASES\r
-@{\r
- <h3 class="pg">Filtering a Message</h3>\r
-Messaging framework provides a filtering function for incoming message. New incoming message can be blocked (Move to spam-box or discard) by adding a filtering rule. A incoming message can be blocked by its originating address or by subject matching. If address matching filter rule is applied, only messages with exactly the same phone number can be blocked. Whereas, if a subject matching filter rule is applied, all messages that include the registered subject string might be blocked. An application can add or remove a filtering rule by calling msg_add_filter() or msg_delete_filter().\r
-\r
-- int msg_add_filter(MSG_HANDLE_T handle, const MSG_FILTER_S *filter);\r
-@n msg_add_filter() inserts a filtering rule to filter list and returns filter id.\r
-- int msg_delete_filter(MSG_HANDLE_T handle, MSG_FILTER_ID_T filter_id);\r
-@n msg_delete_filter()removes a filtering rule from filter list by filter id\r
-@code\r
-void MsgTestAddFilter(MSG_HANDLE_T hMsgHandle)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL");\r
- return;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_FILTER_S filter[2]= {0, };\r
-\r
- // Add filter by address\r
- filter[0].filterType = MSG_FILTER_BY_ADDRESS;\r
- strncpy(filter[0].filterValue, "+821234567890", MAX_FILTER_VALUE_LEN);\r
-\r
- err = msg_add_filter(hMsgHandle, &filter[0]);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("msg_add_filter success");\r
- else\r
- printf("msg_add_filter fail - err [%d]", err);\r
-\r
- // Add filter by subject\r
- filter[1].filterType = MSG_FILTER_BY_SUBJECT;\r
- strncpy(filter[1].filterValue, "test filter", MAX_FILTER_VALUE_LEN);\r
-\r
- err = msg_add_filter(hMsgHandle, &filter[1]);\r
-\r
- if (err == MSG_SUCCESS)\r
- printf("msg_add_filter success");\r
- else\r
- printf("msg_add_filter fail - err [%d]", err);\r
-\r
- return;\r
-}\r
-\r
-void MsgTestDeleteFilter(MSG_HANDLE_T hMsgHandle, MSG_FILTER_ID_T filterId)\r
-{\r
- if (hMsgHandle == NULL)\r
- {\r
- printf("Handle is NULL");\r
- return;\r
- }\r
-\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- err = msg_delete_filter(hMsgHandle, filterId);\r
-\r
- if (MSG_SUCCESS == err)\r
- {\r
- printf("msg_delete_filter success");\r
- }\r
- else\r
- {\r
- printf("msg_delete_filter fail - err [%d]", err);\r
- }\r
-\r
- return;\r
-}\r
-@endcode\r
-@}\r
-*/\r
-\r
-/**\r
-@addtogroup MESSAGE\r
-@{\r
- @defgroup MESSAGE_USECASES Use Cases\r
-@}\r
-*/\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ *
+ * @ingroup SLP_PG
+ * @defgroup MESSAGE MessagingFW
+@{
+<h1 class="pg">Introduction</h1>
+ <h2 class="pg">Purpose</h2>
+The purpose of this document is to describe how applications can use the Messaging Framework APIs to send and receive SMS and MMS messages. This document gives programming guidelines to application engineers.
+
+ <h2 class="pg">Scope</h2>
+The scope of this document is limited to Messaging Framework APIs usage.
+
+ <h2 class="pg">Abbreviations</h2>
+<table>
+<tr><td>API</td><td>Application Programming Interface</td></tr>
+</table>
+@}
+
+@defgroup Message_Architecture 1.Archtecture
+@ingroup MESSAGE
+@{
+<h1>Messaging Framework Architecture</h1>
+The Messaging framework supports various messaging services such as SMS, MMS, Cell Broadcast, WAP Push, and Provisioning message. The Messaging framework architecture consists of a Messaging daemon and a library. The messaging library works on application process and provides various APIs to support transport, control, storage, filter and setting services for application. The messaging daemon has three components (transaction manager, transaction handler, and plug-in manager) to provide message services. The socket IPC is used to communicate (request & event) between Messaging daemon and library.
+@image html messaging_image001.png
+
+- Transaction Manager
+ - Receive the IPC message (request) on socket.
+ - Manage list of pairs (request ID, transaction proxy) for synchronous return.
+ - Determine the transaction flow based on request/event information. (Mapping the request to one of the handlers)
+ - Store the transaction information for asynchronous events (Find which transaction proxy want to receive SMS)
+- Transaction Handler
+ - Submit handler deals with submit requests.
+ - Deliver handler deals with the incoming message from plug-ins.
+ - Storage handler deals with the messages, accounts and folder requests
+ - Filter handler deals with the filter requests
+ - Setting handler deals with the service-specific attributes
+- Plug-in Manager
+ - Initialize all plug-ins after loading plug-in configuration files
+ - Holding the list of plug-ins and the state of plug-ins
+ - Providing the interface between handlers and plug-ins
+- Transaction Handlers
+ - Initialize all plug-ins after loading plug-in configuration files
+ - Receiving IPC messages from messaging daemon.
+ - Handling synchronous calls
+ - Condition variable is used for waiting the return from msg. server)
+ - Handling asynchronous calls or events
+ - Proxy listener is a component of transaction proxy
+ - Proxy listener is waiting for the event
+ - Invoking callback function in the msg. handle list
+ - i.e. calling incoming callback function of MSG APP handle, when incoming msg
+ - Holding list of message handles
+ - Message handle is created by MsgOpenMsgHandle(msgHandle)
+ - Message handle holds some info such as callback func
+- Message API
+ - Transport & control API
+ - Storage API
+ - Filter API
+ - Setting API
+@}
+
+@defgroup Message_Feature 2.Feature
+@ingroup MESSAGE
+@{
+ <h2 class="pg">Messaging Framework Features</h2>
+-# Message Control Features:
+ -# Open/Close message handle
+-# Message Transport Features:
+ -# Submit request to send, forward, reply, retrieve message.
+ -# Register callback functions to listen to invoked events from messaging daemon. (message status callback, incoming message callback)
+-# Message Storage Features:
+ -# Add / Update / Move / Delete / Count / Get message or message list.
+ -# Add / Update / Delete / Get folder or folder list.
+-# Message Filter Features:
+ -# Add / Update / Delete filter or filter list.
+-# Message Setting Features:
+ -# Set / Get various message setting (i.e. whether to send read/delivery report or not)
+@}
+
+@defgroup MESSAGE_USECASES_1 Initialize/Finalization
+@ingroup MESSAGE_USECASES
+@{
+ <h2 class="pg">Messaging Framework Functions</h2>
+
+ <h3 class="pg">Initialization / Finalization to use Messaging Service </h3>
+- int msg_open_msg_handle(MSG_HANDLE_T *handle);
+@n msg_open_msg_handle() should be called before using the messaging service. This function opens a channel between the application and the messaging framework.
+- int msg_close_msg_handle(MSG_HANDLE_T *handle);
+@n msg_close_msg_handle() should be called after using the messaging service. This function closes a channel between the application and the messaging framework.
+- int msg_reg_sent_status_callback(MSG_HANDLE_T handle, msg_sent_status_cb cb);
+@n Application should implement a msg_sent_status_cb function and register it into message handle. If the application sends a message, this callback function will be called to report its sending status. msg_reg_set_status_callback function should be called after creation of message handle.
+- int msg_reg_sms_message_callback(MSG_HANDLE_T handle, msg_sms_incoming_cb cb, unsigned short port);
+@n Application should implement a msg_sms_incoming_cb function and register it into message handle. It’s used to listen to the SMS incoming event invoked by messaging daemon. The incoming message information structure (MSG_MESSAGE_S) can be delivered as a parameter of the callback function.
+- int msg_reg_mms_conf_message_callback(MSG_HANDLE_T handle, msg_mms_conf_msg_incoming_cb cb, char *app_id);
+@n Application should implement a msg_mms_conf_msg_incoming_cb function and register it into message handle. It’s used to listen to the MMS incoming event invoked by messaging daemon. The incoming message information structure (MSG_MESSAGE_S) can be delivered as a parameter of the callback function.
+@code
+#include <stdio.h>
+#include <glib.h>
+#include <MapiControl.h>
+#include <MapiTransport.h>
+
+void sentStatusCB(MSG_HANDLE_T hMsgHandle, MSG_SENT_STATUS_S *pMsgStatus, void *user_param)
+{
+ // Application can handle message sent status event
+}
+
+void incomingSmsMessageCB (MSG_HANDLE_T hMsgHandle, msg_message_t msg, void *user_param)
+{
+ // Application can handle SMS incoming message.
+}
+
+void incomingMmsConfMessageCB(MSG_HANDLE_T hMsgHandle, msg_message_t msg, void *user_param)
+{
+ // Application can handle MMS incoming message.
+}
+
+int main(void)
+{
+ MSG_HANDLE_T msgHandle = NULL;
+
+ err = msg_open_msg_handle(&msgHandle);
+
+ if (err != MSG_SUCCESS)
+ {
+ printf("msg_open_msg_handle() Fail [%d]", err);
+ return err;
+ }
+
+ // Register sent status handler
+ err = msg_reg_sent_status_callback(msgHandle, &sentStatusCB, NULL);
+
+ if (err != MSG_SUCCESS)
+ {
+ printf("msg_reg_sent_status_callback() Fail [%d]", err);
+ return err;
+ }
+
+ // Register SMS incoming message handler
+ err = msg_reg_sms_message_callback(msgHandle, &incomingSmsMessageCB, 0, NULL);
+
+ if (err != MSG_SUCCESS)
+ {
+ printf("msg_reg_sms_message_callback() Fail [%d]", err);
+ return err;
+ }
+
+ // Register MMS incoming message handler
+ err = msg_reg_mms_conf_message_callback(msgHandle, &incomingMmsConfMessageCB, NULL, NULL);
+
+ if (err != MSG_SUCCESS)
+ {
+ printf("msg_reg_mms_conf_message_callback() Fail [%d]", err);
+ return err;
+ }
+
+ // g_main_loop should be used to listen CB event from messaging daemon
+ mainloop = g_main_loop_new(NULL, FALSE);
+ g_main_loop_run(mainloop);
+
+ msg_close_msg_handle(&msgHandle);
+
+ return err;
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_2 Adding a SMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Adding a SMS Message</h3>
+- msg_message_t msg_new_message();
+@n msg_new_message() is a function to create a message object which can store the message information. You should call this function to set the message that you want to add or send.
+- int msg_set_message_type(msg_message_t msg, MSG_MESSAGE_TYPE_T msg_type);
+@n msg_set_message_type() is a function to set the message type such as SMS or MMS. The first parameter is the message object which is created by msg_new_message(). The second parameter is the message type you want to set. It should be one of enum type ( _MSG_MESSAGE_TYPE_E). If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+- int msg_sms_set_message_body(msg_message_t msg, const char* mdata, int size);
+@n msg_sms_set_message_body() is a function to set the SMS body data. The first parameter is the message object which is created by msg_new_message(). The second parameter is the SMS body data you want to set. The third parameter is the length of SMS body data. If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+- int msg_add_address(msg_message_t msg, const char* phone_num_list, MSG_RECIPIENT_TYPE_T to_type);
+@n msg_add_address() is a function to add the phone numbers for the message. The first parameter is the message object which is created by msg_new_message(). The second parameter is the list of phone number you want to set. You can add several phone numbers at once. The phone numbers should be separated by ','. The third parameter is the recipient type of phone number. It should be one of enum type (_MSG_RECIPIENT_TYPE_E). If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+- int msg_add_message(MSG_HANDLE_T handle, const msg_message_t msg, const MSG_SENDINGOPT_S *send_opt);
+@n msg_add_message() is a function to add a composed message into the database of messaging framework. Before calling this function, the application should set the message object and the sending option structure and then pass them as parameters. If you don't want to change the current sending option, set the variable 'bSetting' to false. If saving a message is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+- int msg_release_message(msg_message_t *msg);
+@n msg_release_message() is a function to free the memory of a message object which is create by msg_new_message(). If freeing the memory is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+@code
+#include <string.h>
+#include <MapiStorage.h>
+#include <MapiMessage.h>
+
+void test_add_sms_message(MSG_HANDLE_T hMsgHandle)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ MSG_SENDINGOPT_S sendOpt = {0, };
+ sendOpt.bSetting = false;
+
+ msg_message_t msgInfo = msg_new_message();
+
+ // Set Message Type
+ err = msg_set_message_type(msgInfo, MSG_TYPE_SMS);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ char msgText[1024];
+
+ memset(msgText, 0x00, 1024);
+ strncpy(msgText, "Test SMS Message", sizeof(msgText)-1);
+ int dataSize = strlen(msgText);
+
+ // Set SMS text
+ err = msg_sms_set_message_body(msgInfo, msgText, dataSize);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ char number[MAX_ADDRESS_VAL_LEN];
+
+ memset(number, 0x00, MAX_ADDRESS_VAL_LEN);
+ strncpy(number, "+821030011234", sizeof(number)-1);
+
+ // Set Recipient Address
+ err = msg_add_address(msgInfo, number, MSG_RECIPIENTS_TYPE_TO);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ err = msg_add_message(hMsgHandle, msgInfo, &sendOpt);
+
+ if (err == MSG_SUCCESS)
+ printf("Saving Message is OK!");
+ else
+ printf("Saving Message is failed!");
+
+free_memory:
+ msg_release_message(&msgInfo);
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_3 Adding a MMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Adding a MMS Message</h3>
+- int msg_set_subject(msg_message_t msg, const char* subject);
+@n msg_set_subject() is a function to set the subject of MMS. The first parameter is the message object which is created by msg_new_message(). The second parameter is the subject you want to set. If setting is successful, the function returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- MMS_MESSAGE_DATA_S* msg_mms_create_message(void);
+@n msg_mms_create_message() allocates a MMS_MESSAGE_DATA_S structure and returns it’s address. MMS_MESSAGE_DATA_S is needed to represent mms specific data and transfer it to the messaging daemon in the pData parameter of the MSG_MESSAGE_S structure.
+
+- MMS_SMIL_ROOTLAYOUT* msg_mms_set_rootlayout(MMS_MESSAGE_DATA_S* msg, const int width, const int height, const int bgcolor);
+@n msg_mms_set_rootlayout() is a function to set smil root layout. The parameters representing the size and background color of smil root layout should be set.
+
+- MMS_SMIL_REGION* msg_mms_add_region(MMS_MESSAGE_DATA_S *msg_data, const char* szID, const int x, const int y, const int width, const int height, const int bgcolor);
+@n msg_mms_add_region() is a function to add a smil region. Smil region is needed to display text message, image, and video data (Each content has its own region). This function is called to allocate a region for each contents.
+
+- MMS_PAGE_S* msg_mms_add_page(MMS_MESSAGE_DATA_S *msg_data, const int duration);
+@n msg_mms_add_page() is a function to add a smil page.
+
+- MMS_MEDIA_S* msg_mms_add_media(MMS_PAGE_S *page, const MmsSmilMediaType mediatype, const char* regionid, char* filepath);
+@n msg_mms_add_media() is a function to add multimedia content to a mms message. If some content should be played with smil player, this function can be used.
+
+- MMS_ATTACH_S* msg_mms_add_attachment(MMS_MESSAGE_DATA_S *msg_data, char *filepath);
+@n msg_mms_add_attachment() is a function to add a content as an attached file. With this function a content might be attached as a multipart mixed type.
+
+- int msg_mms_set_message_body(msg_message_t msg, const MMS_MESSAGE_DATA_S *msg_data);
+@n msg_mms_set_message_body() is a function to set the MMS body data. The first parameter is the message object which is created by msg_new_message(). The second parameter is the structure which is allocated by msg_mms_create_message() and is set by the APIs for MMS.
+
+- int msg_mms_destroy_message(MMS_MESSAGE_DATA_S* msg);
+@n msg_mms_destroy_message() should be called to deallocate the MMS_MESSAGE_DATA_S structure and internal region, page, media, and attach list.
+@code
+#include <string.h>
+#include <MapiStorage.h>
+#include <MapiMessage.h>
+
+void test_add_mms_message(MSG_HANDLE_T hMsgHandle)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ MSG_SENDINGOPT_S sendOpt = {0, };
+ sendOpt.bSetting = false;
+
+ msg_message_t msgInfo = msg_new_message();
+
+ // Set Message Type
+ err = msg_set_message_type(msgInfo, MSG_TYPE_MMS);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ MMS_MESSAGE_DATA_S* data;
+ MMS_PAGE_S* page;
+ MMS_MEDIA_S* media[3];
+ MMS_ATTACH_S* attach;
+ int nSize = 0;
+
+ // Set MMS subject
+ char subject[MAX_SUBJECT_LEN];
+
+ memset(subject, 0x00, MAX_SUBJECT_LEN);
+ strncpy(subject, "hello mms", sizeof(subject)-1);
+
+ err = msg_set_subject(msgInfo, subject);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ // Set MMS Body data
+ data = msg_mms_create_message();
+ msg_mms_set_rootlayout(data, 100, 100, 0xffffff);
+ msg_mms_add_region(data, "Image", 0, 50, 100, 50, 0xffffff);
+ msg_mms_add_region(data, "Text", 0, 0, 100, 50, 0xffffff);
+ page = msg_mms_add_page(data, 5000);
+ media[0] = msg_mms_add_media(page, MMS_SMIL_MEDIA_IMG, "Image", "/tmp/image.jpg");
+ media[1] = msg_mms_add_media(page, MMS_SMIL_MEDIA_AUDIO, NULL, "/tmp/audio.amr");
+ media[2] = msg_mms_add_media(page, MMS_SMIL_MEDIA_TEXT, "Text", "/tmp/message.txt");
+ attach = msg_mms_add_attachment(data, "attachment.3gp");
+
+ err = msg_mms_set_message_body(msgInfo, data);
+
+ if (err != MSG_SUCCESS)
+ {
+ msg_mms_destroy_message(data);
+ goto free_memory;
+ }
+
+ msg_mms_destroy_message(data);
+
+ // Set Recipient Address
+ char number[MAX_ADDRESS_VAL_LEN];
+
+ memset(number, 0x00, MAX_ADDRESS_VAL_LEN);
+ strncpy(number, "+821030011234", sizeof(number)-1);
+
+ err = msg_add_address(msgInfo, number, MSG_RECIPIENTS_TYPE_TO);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ err = msg_add_message(hMsgHandle, msgInfo, &sendOpt);
+
+ if (err == MSG_SUCCESS)
+ printf("Saving Message is OK!");
+ else
+ printf("Saving Message is failed!");
+
+free_memory:
+ msg_release_message(&msgInfo);
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_4 Sending a SMS/MMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Sending a SMS/MMS Message</h3>
+
+- bool msg_is_sms(msg_message_t msg);
+@n msg_is_sms() is a function to check whether the message type of message object is SMS or not. The first parameter is the message object which is created by msg_new_message(). The function returns true if the message object is a SMS message. Otherwise, it returns false.
+
+- bool msg_is_mms(msg_message_t msg);
+@n msg_is_mms() is a function to check whether the message type of message object is MMS or not. The first parameter is the message object which is created by msg_new_message(). The function returns true if the message object is a MMS message. Otherwise, it returns false.
+
+- int msg_sms_send_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);
+@n msg_sms_send_message() is a function to send SMS through messaging framework. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the structure that includes the message information to send. You can get the result of sending on sent status callback.
+
+- int msg_mms_send_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);
+@n msg_sms_send_message() is a function to send SMS through messaging framework. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the structure that includes the message information to send. You can get the result of sending on sent status callback.
+@code
+#include <MapiTransport.h>
+#include <MapiMessage.h>
+
+int MsgTestSendMsg(MSG_HANDLE_T hMsgHandle, msg_message_t pMsg)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL\n");
+ return MSG_ERR_NULL_MSGHANDLE;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ MSG_REQUEST_S req = {0};
+
+ if (pMsg == NULL)
+ {
+ printf("Message is NULL\n");
+ return MSG_ERR_NULL_MESSAGE;
+ }
+
+ req.msg = pMsg;
+
+ if (msg_is_sms(req.msg))
+ err = msg_sms_send_message(hMsgHandle, &req);
+ else if (msg_is_mms(req.msg))
+ err = msg_mms_send_message(hMsgHandle, &req);
+
+ if (err == MSG_SUCCESS)
+ printf("Request to Send Message is successful!!!");
+ else
+ printf("Request to Send Message is failed!!!");
+
+ return err;
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_5 Sending Simple SMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Simple SMS Sending</h3>
+- int msg_sms_send(const char *phone_num_list, const char *sms_text, msg_simple_sent_status_cb cb, void *user_param);
+@n msg_sms_send() is a simple function to send an SMS message. Without this API, in order to send a message the application should allocate a channel with messaging daemon for IPC, register sent-status callback function to monitor the sending result, and fulfill many member variables of MSG_MESSAGE_S. This function implicitly makes a connection with messaging daemon and registers the callback function. In addition, member variables of the MSG_MESSAGE_S structure are filled with default values except for the recipient phone_number and sms_text.
+@code
+#include <stdio.h>
+#include <string.h>
+#include <glib.h>
+#include <MapiTransport.h>
+
+GMainLoop *mainloop;
+
+typedef struct {
+ char number[256];
+ char text[256];
+ char userdata[256];
+} send_data;
+
+void sent_status_cb(MSG_SENT_STATUS_S *pMsgStatus, void *userData)
+{
+ if (pMsgStatus->status == MSG_NETWORK_SEND_SUCCESS)
+ printf("reqId : %d MSG SENT SUCCESS !!!\n", pMsgStatus->reqId);
+ else
+ printf("reqId : %d MSG SENT FAIL !!! [%d]\n", pMsgStatus->reqId, pMsgStatus->status);
+}
+
+// count from here
+gboolean send_func(gpointer data)
+{
+ send_data* sms_input = (send_data*)data;
+
+ printf("Begin to send [%s] to [%s]\n", sms_input->number, sms_input->text);
+ MSG_ERROR_T err = msg_sms_send(sms_input->number, sms_input->text, &sent_status_cb, (void*)sms_input->userdata);
+
+ if (err != MSG_SUCCESS)
+ printf("Send failed [%d]\n", err);
+
+ return FALSE;
+}
+// end
+
+int main(int argc, char* argv[])
+{
+ if (argc != 3 && argc != 4)
+ {
+ printf("Usage: %s {phone_num_list} {sms_text} [user_data]\n", argv[0]);
+ printf("phone_num_list: phone_num1, phone_num2, ..., phone_numN\n");
+ return 0;
+ }
+
+ // Set sms input parameters : phone numbers and text
+ send_data sms_input = {};
+ strncpy(sms_input.number, argv[1], sizeof(sms_input.number)-1);
+ strncpy(sms_input.text, argv[2], sizeof(sms_input.text)-1);
+ if (argc == 4)
+ strncpy(sms_input.userdata, argv[3], sizeof(sms_input.userdata)-1);
+
+ // Add Sending Function to GMainLoop
+ g_idle_add(&send_func, (gpointer) &sms_input);
+
+ // start GMainLoop
+ mainloop = g_main_loop_new(NULL, FALSE);
+
+ printf("Entering GMain Loop to Receive Notifications in Thread...\n");
+
+ g_main_loop_run(mainloop);
+
+ printf("==== End Test App. Bye...===\n");
+
+ return 0;
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_6 Retrieving a MMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Retrieving a MMS Message</h3>
+- int msg_mms_retrieve_message(MSG_HANDLE_T handle, MSG_REQUEST_S* req);
+@n msg_mms_retrieve_message() is a function to submit a retrieve MMS request.
+@code
+void MsgTestRetrieveMessage(MSG_HANDLE_T hMsgHandle, MSG_MESSAGE_ID_T nMsgId)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL");
+ return;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ msg_message_t msg = msg_new_message();
+ MSG_SENDINGOPT_S sendOpt = {0, };
+
+ err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)nMsgId, msg, &sendOpt);
+
+ if (err != MSG_SUCCESS)
+ printf("Get Message Failed!");
+
+ MSG_REQUEST_S req = {0, msg, sendOpt};
+
+ err = msg_mms_retrieve_message(hMsgHandle, &req);
+
+ if (err != MSG_SUCCESS)
+ printf("Retrieve MMS Message Failed!");
+
+ msg_release_message(&msg);
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_7 Getting a SMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Getting a SMS Message</h3>
+- int msg_get_message(MSG_HANDLE_T handle, MSG_MESSAGE_ID_T msg_id, msg_message_t msg, MSG_SENDINGOPT_S *send_opt);
+@n msg_get_message() is a function to get a message. The first parameter is the handle which is created by msg_open_msg_handle (). The second parameter is the message ID you want to get. The third parameter is the message object to receive the message information. The last parameter is the structure to receive the message sending options.
+
+- int msg_get_message_id(msg_message_t msg);
+@n msg_get_message_id() is a function to get the message ID. The parameter is the message object. If the function is successful, it returns the message ID. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- int msg_get_folder_id(msg_message_t msg);
+@n msg_get_folder_id() is a function to get the ID of the folder that the message is saved within. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_FOLDER_ID_E) . Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- int msg_get_message_type(msg_message_t msg);
+@n msg_get_message_type() is a function to get the message type. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_MESSAGE_TYPE_E). Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- int msg_get_address_count(msg_message_t msg);
+@n msg_get_address_count() is a function to get the number of addresses. The parameter is the message object. If the function is successful, it returns the number of addresses. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- const char* msg_get_ith_address(msg_message_t msg, int ith);
+@n msg_get_ith_address() is a function to get the ith address of message. The first parameter is the message object. The second parameter is the index of address you want to get. If the function is successful, it returns the address string. Otherwise it returns NULL.
+
+- time_t* msg_get_time(msg_message_t msg);
+@n msg_get_time() is a function to get the time value of message. The parameter is the message object. If the function is successful, it returns the time value. Otherwise it returns NULL.
+
+- int msg_get_network_status(msg_message_t msg);
+@n msg_get_network_status() is a function to get the network status of message. The parameter is the message object. If the function is successful, it returns one of the enum type in (_MSG_NETWORK_STATUS_E). Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- bool msg_is_read(msg_message_t msg);
+@n msg_is_read() is a function to check whether the message was read or not. The parameter is the message object. If the message was read, it returns true. Otherwise it returns false.
+
+- bool msg_is_protected(msg_message_t msg);
+@n msg_is_protected() is a function to check whether the message is protected or not. The parameter is the message object. If the the message was protected, it returns true. Otherwise it returns false.
+
+- int msg_get_message_body_size(msg_message_t msg);
+@n msg_get_message_body_size() is a function to get the byte size of message. The parameter is the message object. If the function is successful, it returns the byte size of message. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+
+- const char* msg_sms_get_message_body(msg_message_t msg);
+@n msg_sms_get_message_body() is a function to get the body data of message. The first parameter is the message object. If the function is successful, it returns the body data. Otherwise it returns NULL.
+@code
+void MsgTestGetSmsMessage(MSG_HANDLE_T hMsgHandle, int MsgId)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL\n");
+ return;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ msg_message_t msg = msg_new_message();
+ MSG_SENDINGOPT_S sendOpt = {0, };
+
+ // Get Message
+ err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)MsgId, msg, &sendOpt);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ printf("msgId = %d\n", msg_get_message_id(msg));
+ printf("folderId = %d\n", msg_get_folder_id(msg));
+ printf("msgType = %d\n", msg_get_message_type(msg));
+ printf("phone number = %s\n", msg_get_ith_address(msg, 0));
+ printf("displayTime = %s\n", ctime(msg_get_time(msg)));
+ printf("networkStatus = %d\n", msg_get_network_status(msg));
+ printf("bRead = %d\n", msg_is_read(msg));
+ printf("bProtected = %d\n", msg_is_protected(msg));
+ printf("dataSize = %d\n", msg_get_message_body_size(msg));
+ printf("msgData = %s\n", msg_sms_get_message_body(msg));
+
+free_memory:
+ msg_release_message(&msg);
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_8 Getting a MMS Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Getting a MMS Message</h3>
+- int msg_mms_get_message_body(msg_message_t msg, MMS_MESSAGE_DATA_S *body);
+@n msg_get_address_count. The parameter is the message object. The second parameter is the structure to receive MMS data as output. If the function is successful, it returns MSG_SUCCESS. Otherwise it returns an error in enum type (_MSG_ERROR_E).
+- MMS_SMIL_REGION* msg_mms_get_smil_region(MMS_MESSAGE_DATA_S msgBody, int region_idx);
+@n msg_mms_get_smil_region() is a function to get a SMIL region information. The first parameter is the structure of MMS data. The second parameter is the index of SMIL region you want to get. If the function is successful, it returns the structure which contains the SMIL region information. Otherwise it returns NULL.
+- MMS_PAGE_S* msg_mms_get_page(MMS_MESSAGE_DATA_S msgBody, int page_idx);
+@n msg_mms_get_page() is a function to get a SMIL page information. The first parameter is the structure of MMS data. The second parameter is the index of SMIL page you want to get. If the function is successful, it returns the structure which contains the SMIL page information. Otherwise it returns NULL.
+- MMS_MEDIA_S* msg_mms_get_media(MMS_PAGE_S *page, int media_idx);
+@n msg_mms_get_media() is a function to get a media information in a SMIL page. The first parameter is the structure of SMIL page you want to get the media from. The second parameter is the index of media you want to get. If the function is successful, it returns the structure which contains the media information. Otherwise it returns NULL.
+- MMS_ATTACH_S* msg_mms_get_attachment(MMS_MESSAGE_DATA_S msgBody, int attach_idx);
+@n msg_mms_get_attachment() is a function to get the file information of an attachment. The first parameter is the structure of MMS data. The second parameter is the index of attachment you want to get. If the function is successful, it returns the structure which contains the attachment file information. Otherwise it returns NULL.
+- const char* msg_get_subject(msg_message_t msg);
+@n msg_get_subject() is a function to get the subject of MMS. The parameter is the message object. If the function is successful, it returns the subject string. Otherwise it returns NULL.
+@code
+void MsgTestGetMmsMessage(MSG_HANDLE_T hMsgHandle, int MsgId)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL\n");
+ return;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ msg_message_t msg = msg_new_message();
+ MSG_SENDINGOPT_S sendOpt = {0, };
+
+ // Get Message
+ err = msg_get_message(hMsgHandle, (MSG_MESSAGE_ID_T)MsgId, msg, &sendOpt);
+
+ if (err != MSG_SUCCESS) goto free_memory;
+
+ if (msg_is_mms(msg) == false)
+ {
+ printf("It is not MMS Message!");
+ goto free_memory;
+ }
+
+ MMS_MESSAGE_DATA_S* msgBody = msg_mms_create_message();
+
+ // Get MMS Body Data
+ msg_mms_get_message_body(msg, msgBody);
+
+ //Print root-layout info
+ printf("width: %d \n
+ height: %d \n
+ nbgColor:%x \n",
+ msgBody->rootlayout.width.value,
+ msgBody->rootlayout.height.value,
+ msgBody->rootlayout.bgColor);
+
+ // Print Region Info
+ for (int i = 0; i < msgBody->regionCnt; ++i)
+ {
+ MMS_SMIL_REGION* pRegion = msg_mms_get_smil_region(msgBody, i);
+
+ printf("region id: %s\n
+ region left : %d\n
+ region top : %d\n
+ region width : %d\n
+ region height : %d\n
+ region bgColor : %x\n
+ region fit : %d\n",
+ pRegion->szID,pRegion->nLeft.value,
+ pRegion->nTop.value,pRegion->width.value,
+ pRegion->height.value, pRegion->bgColor,
+ pRegion->fit);
+ }
+
+ // Print Page info
+ for (int i = 0; i< msgBody->pageCnt; ++i)
+ {
+ MMS_PAGE_S* pPage = msg_mms_get_page(msgBody, i);
+
+ printf("page's duration: %d msec\n
+ page's media count: %d\n",
+ pPage->nDur, pPage->mediaCnt);
+
+ // Print Contents Info
+ for(int j = 0; j < pPage->mediaCnt; ++j)
+ {
+ MMS_MEDIA_S* pMedia = msg_mms_get_media(pPage, j);
+ printf("media's filename: %s\n
+ media's filepath: %s\n
+ media's regionId: %s\n
+ Bold: %d Italic: %d\n",
+ pMedia->szFileName,
+ pMedia->szFilePath,
+ pMedia->regionId,
+ pMedia->sMedia.sText.bBold,
+ pMedia->sMedia.sText.bItalic);
+
+ if(pMedia->drmType != MSG_DRM_TYPE_NONE)
+ {
+ printf("media's drmtype: %d\n
+ media's drmpath: %s\n",
+ pMedia->drmType, pMedia->szDrm2FullPath);
+ }
+ }
+ }
+
+ for (int i = 0; i < msgBody->attachCnt; ++i)
+ {
+ MMS_ATTACH_S* pAttach = msg_mms_get_attachment(msgBody, i);
+
+ printf("Attachment file Name: %s\n
+ Attachment file Path: %s\n
+ Attached file size: %d\n",
+ pAttach->szFileName,
+ pAttach->szFilePath,
+ pAttach->fileSize);
+
+ if(pAttach->drmType != MSG_DRM_TYPE_NONE)
+ printf("media's drmtype: %d\n
+ media's drmpath: %s\n",
+ pAttach->drmType, pAttach->szDrm2FullPath);
+ }
+
+ printf("Subject: %s\n", msg_get_subject(pMsg));
+
+ printf("msgId = %d", msg_get_message_id(msg));
+ printf("folderId = %d", msg_get_folder_id(msg));
+ printf("phone number = %s", msg_get_ith_address(msg, 0));
+ printf("displayTime = %s", ctime(msg_get_time(msg)));
+ printf("networkStatus = %d", msg_get_network_status(msg));
+ printf("bRead = %d", msg_is_read(msg));
+ printf("bProtected = %d", msg_is_protected(msg));
+
+free_memory:
+ msg_mms_destroy_message(msgBody);
+
+ msg_release_message(&msg);
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_9 Delete a Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Delete a Message</h3>
+- int msg_delete_message(MSG_HANDLE_T handle, MSG_MESSAGE_ID_T msg_id);
+@n msg_delete_message() is a function to delete a message from message box by msg_id.
+@code
+void MsgTestDeleteMessage(MSG_HANDLE_T hMsgHandle, MSG_MESSAGE_ID_T nMsgId)
+{
+ MSG_ERROR_T err;
+
+ if (msg_delete_message(hMsgHandle, nMsgId) != MSG_SUCCESS)
+ printf("Failed to delete Message");
+
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_10 Set/Get Message Setting
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Set / Get Message setting</h3>
+msg_set_config() and msg_get_cofig() is used to set or to get the message setting options. MSG_SETTING_S structure includes various setting information and is shared between message application and messaging daemon.
+
+- int msg_set_config(MSG_HANDLE_T handle, const MSG_SETTING_S *setting);
+@n msg_set_config() sets a message option.
+- int msg_get_config(MSG_HANDLE_T handle, MSG_SETTING_S *setting);
+@n msg_get_config() gets a message option.
+@code
+void MsgTestSetGeneralOpt(MSG_HANDLE_T hMsgHandle)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SETTING_S setting = {0, };
+
+ setting.type = MSG_GENERAL_OPT;
+
+ setting.option.generalOpt.bKeepCopy = true;
+ setting.option.generalOpt.alertTone = MSG_ALERT_TONE_ONCE;
+
+ err = msg_set_config(hMsgHandle, &setting);
+
+ if (err == MSG_SUCCESS)
+ printf("Setting Config Data is OK!");
+ else
+ printf("Setting Config Data is failed!");
+}
+
+void MsgTestGetGeneralOpt(MSG_HANDLE_T hMsgHandle)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SETTING_S setting = {0, };
+
+ err = msg_get_config(hMsgHandle, &setting);
+
+ if (err == MSG_SUCCESS)
+ {
+ printf("Setting Config Data is OK!\n");
+ printf("bKeepCopy : [%d], AlertTone : [%d]\n", setting.option.generalOpt.bKeepCopy, setting.option.generalOpt.alertTone);
+ }
+ else
+ printf("Setting Config Data is failed!\n");
+}
+@endcode
+@}
+
+@defgroup MESSAGE_USECASES_11 Filtering a Message
+@ingroup MESSAGE_USECASES
+@{
+ <h3 class="pg">Filtering a Message</h3>
+Messaging framework provides a filtering function for incoming message. New incoming message can be blocked (Move to spam-box or discard) by adding a filtering rule. A incoming message can be blocked by its originating address or by subject matching. If address matching filter rule is applied, only messages with exactly the same phone number can be blocked. Whereas, if a subject matching filter rule is applied, all messages that include the registered subject string might be blocked. An application can add or remove a filtering rule by calling msg_add_filter() or msg_delete_filter().
+
+- int msg_add_filter(MSG_HANDLE_T handle, const MSG_FILTER_S *filter);
+@n msg_add_filter() inserts a filtering rule to filter list and returns filter id.
+- int msg_delete_filter(MSG_HANDLE_T handle, MSG_FILTER_ID_T filter_id);
+@n msg_delete_filter()removes a filtering rule from filter list by filter id
+@code
+void MsgTestAddFilter(MSG_HANDLE_T hMsgHandle)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL");
+ return;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_FILTER_S filter[2]= {0, };
+
+ // Add filter by address
+ filter[0].filterType = MSG_FILTER_BY_ADDRESS;
+ strncpy(filter[0].filterValue, "+821234567890", MAX_FILTER_VALUE_LEN);
+
+ err = msg_add_filter(hMsgHandle, &filter[0]);
+
+ if (err == MSG_SUCCESS)
+ printf("msg_add_filter success");
+ else
+ printf("msg_add_filter fail - err [%d]", err);
+
+ // Add filter by subject
+ filter[1].filterType = MSG_FILTER_BY_SUBJECT;
+ strncpy(filter[1].filterValue, "test filter", MAX_FILTER_VALUE_LEN);
+
+ err = msg_add_filter(hMsgHandle, &filter[1]);
+
+ if (err == MSG_SUCCESS)
+ printf("msg_add_filter success");
+ else
+ printf("msg_add_filter fail - err [%d]", err);
+
+ return;
+}
+
+void MsgTestDeleteFilter(MSG_HANDLE_T hMsgHandle, MSG_FILTER_ID_T filterId)
+{
+ if (hMsgHandle == NULL)
+ {
+ printf("Handle is NULL");
+ return;
+ }
+
+ MSG_ERROR_T err = MSG_SUCCESS;
+ err = msg_delete_filter(hMsgHandle, filterId);
+
+ if (MSG_SUCCESS == err)
+ {
+ printf("msg_delete_filter success");
+ }
+ else
+ {
+ printf("msg_delete_filter fail - err [%d]", err);
+ }
+
+ return;
+}
+@endcode
+@}
+*/
+
+/**
+@addtogroup MESSAGE
+@{
+ @defgroup MESSAGE_USECASES Use Cases
+@}
+*/
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-\r
-#include "utc_msg_close_msg_handle.h"\r
-\r
-void startup(void)\r
-{\r
-}\r
-void cleanup(void)\r
-{\r
-}\r
-\r
-void utc_msg_close_msg_handle_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_HANDLE_T msgHandle = NULL;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- err = msg_close_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_close_msg_handle_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_HANDLE_T msgHandle = NULL;\r
-\r
- err = msg_close_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+
+#include "utc_msg_close_msg_handle.h"
+
+void startup(void)
+{
+}
+void cleanup(void)
+{
+}
+
+void utc_msg_close_msg_handle_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_HANDLE_T msgHandle = NULL;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ err = msg_close_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_close_msg_handle_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_HANDLE_T msgHandle = NULL;
+
+ err = msg_close_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+#include "utc_msg_open_msg_handle.h"
+
+void startup(void)
+{
+}
+void cleanup(void)
+{
+}
+
+void utc_msg_open_msg_handle_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_HANDLE_T msgHandle = NULL;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("utc_msg_open_msg_handle_001 failed");
+ tet_result(TET_FAIL);
+ }
+ else
+ {
+ tet_printf("utc_msg_open_msg_handle_001 passed");
+ tet_result(TET_PASS);
+ }
+
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_open_msg_handle_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("utc_msg_open_msg_handle_001 passed");
+ tet_result(TET_PASS);
+ }
+ else
+ {
+ tet_printf("utc_msg_open_msg_handle_001 failed");
+ tet_result(TET_FAIL);
+ }
-\r
-#include "utc_msg_open_msg_handle.h"\r
-\r
-void startup(void)\r
-{\r
-}\r
-void cleanup(void)\r
-{\r
-}\r
-\r
-void utc_msg_open_msg_handle_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_HANDLE_T msgHandle = NULL;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("utc_msg_open_msg_handle_001 failed");\r
- tet_result(TET_FAIL);\r
- }\r
- else\r
- {\r
- tet_printf("utc_msg_open_msg_handle_001 passed");\r
- tet_result(TET_PASS);\r
- }\r
-\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_open_msg_handle_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("utc_msg_open_msg_handle_001 passed");\r
- tet_result(TET_PASS);\r
- }\r
- else\r
- {\r
- tet_printf("utc_msg_open_msg_handle_001 failed");\r
- tet_result(TET_FAIL);\r
- }\r
-\r
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_add_address.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_add_address_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_add_address_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_address(NULL, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_add_address.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_add_address_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_add_address_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_address(NULL, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_address_count.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_address_count_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_address_count(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_address_count_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_address_count(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_address_count.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_address_count_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_address_count(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_address_count_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_address_count(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_dest_port.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_dest_port_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_dest_port(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_dest_port_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_dest_port(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_dest_port.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_dest_port_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_dest_port(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_dest_port_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_dest_port(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_direction_info.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_direction_info_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_direction_info(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_direction_info_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_direction_info(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_direction_info.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_direction_info_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_direction_info(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_direction_info_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_direction_info(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_encode_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_encode_type_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_encode_type(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_encode_type_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_encode_type(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_encode_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_encode_type_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_encode_type(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_encode_type_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_encode_type(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_folder_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_folder_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_folder_id(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_folder_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_folder_id(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_folder_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_folder_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_folder_id(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_folder_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_folder_id(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_ith_address.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_ith_address_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_get_ith_address(msgInfo, 0);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_ith_address_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_get_ith_address(NULL, 0);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_ith_address.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_ith_address_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_get_ith_address(msgInfo, 0);
+ if (address == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_ith_address_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_get_ith_address(NULL, 0);
+ if (address == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_ith_contact_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_ith_contact_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_contact_id(msgInfo, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_ith_contact_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_contact_id(NULL, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_ith_contact_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_ith_contact_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_contact_id(msgInfo, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_ith_contact_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_contact_id(NULL, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_ith_name.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_ith_name_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_get_ith_name(msgInfo, 0);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_ith_name_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_get_ith_name(NULL, 0);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_ith_name.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_ith_name_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_get_ith_name(msgInfo, 0);
+ if (address == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_ith_name_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_get_ith_name(NULL, 0);
+ if (address == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_ith_recipient_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_ith_recipient_type_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_recipient_type(msgInfo, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_ith_recipient_type_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_recipient_type(NULL, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_ith_recipient_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_ith_recipient_type_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_recipient_type(msgInfo, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_ith_recipient_type_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_recipient_type(NULL, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_ith_thread_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_ith_thread_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_thread_id(msgInfo, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_ith_thread_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_ith_thread_id(NULL, 0);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_ith_thread_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_add_address(msgInfo, "01030015078", MSG_RECIPIENTS_TYPE_TO);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_ith_thread_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_thread_id(msgInfo, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_ith_thread_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_ith_thread_id(NULL, 0);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_message_body_size.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_sms_set_message_body(msgInfo, "test message", 12);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_message_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_body_size(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_message_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_body_size(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_message_body_size.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_sms_set_message_body(msgInfo, "test message", 12);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_message_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_body_size(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_message_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_body_size(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_message_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_message_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_id(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_message_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_id(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_message_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_message_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_id(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_message_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_id(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_message_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_message_type_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_type(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_message_type_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message_type(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_message_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_message_type_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_type(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_message_type_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message_type(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_network_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_set_network_status(msgInfo, MSG_NETWORK_SEND_SUCCESS);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_network_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_network_status(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_network_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_network_status(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_network_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_set_network_status(msgInfo, MSG_NETWORK_SEND_SUCCESS);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_network_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_network_status(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_network_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_network_status(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_priority_info.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_priority_info_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_priority_info(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_priority_info_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_priority_info(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_priority_info.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_priority_info_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_priority_info(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_priority_info_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_priority_info(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_scheduled_time.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_scheduled_time_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t scheduledTime = NULL;\r
-\r
- scheduledTime = msg_get_scheduled_time(msgInfo);\r
- if (scheduledTime == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_scheduled_time_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t scheduledTime = NULL;\r
-\r
- scheduledTime = msg_get_scheduled_time(NULL);\r
- if (scheduledTime == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_scheduled_time.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_scheduled_time_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t scheduledTime = NULL;
+
+ scheduledTime = msg_get_scheduled_time(msgInfo);
+ if (scheduledTime == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_scheduled_time_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t scheduledTime = NULL;
+
+ scheduledTime = msg_get_scheduled_time(NULL);
+ if (scheduledTime == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_src_port.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_src_port_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_src_port(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_src_port_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_src_port(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_src_port.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_src_port_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_src_port(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_src_port_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_src_port(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_storage_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_storage_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_storage_id(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_storage_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_storage_id(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_storage_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_storage_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_storage_id(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_storage_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_storage_id(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_subject.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_set_subject(msgInfo, "test subject");\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_subject_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char* subject = NULL;\r
-\r
- subject = msg_get_subject(msgInfo);\r
- if (subject == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_subject_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char* subject = NULL;\r
-\r
- subject = msg_get_subject(NULL);\r
- if (subject == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_subject.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_set_subject(msgInfo, "test subject");
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_subject_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char* subject = NULL;
+
+ subject = msg_get_subject(msgInfo);
+ if (subject == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_subject_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char* subject = NULL;
+
+ subject = msg_get_subject(NULL);
+ if (subject == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_time.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- time_t curTime = time(NULL);\r
- msg_set_time(msgInfo, curTime);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_time_001()\r
-{\r
- time_t* curTime;\r
-\r
- curTime = msg_get_time(msgInfo);\r
- if (curTime == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_time_002()\r
-{\r
- time_t* curTime;\r
-\r
- curTime = msg_get_time(NULL);\r
- if (curTime == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_time.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ time_t curTime = time(NULL);
+ msg_set_time(msgInfo, curTime);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_time_001()
+{
+ time_t* curTime;
+
+ curTime = msg_get_time(msgInfo);
+ if (curTime == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_time_002()
+{
+ time_t* curTime;
+
+ curTime = msg_get_time(NULL);
+ if (curTime == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_is_in_sim.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_is_in_sim_001()\r
-{\r
- bool bIsInSim = false;\r
-\r
- msg_set_storage_id(msgInfo, MSG_STORAGE_SIM);\r
-\r
- bIsInSim = msg_is_in_sim(msgInfo);\r
- if (!bIsInSim)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_is_in_sim_002()\r
-{\r
- bool bIsInSim = false;\r
-\r
- bIsInSim = msg_is_in_sim(NULL);\r
- if (!bIsInSim)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_is_in_sim.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_is_in_sim_001()
+{
+ bool bIsInSim = false;
+
+ msg_set_storage_id(msgInfo, MSG_STORAGE_SIM);
+
+ bIsInSim = msg_is_in_sim(msgInfo);
+ if (!bIsInSim)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_is_in_sim_002()
+{
+ bool bIsInSim = false;
+
+ bIsInSim = msg_is_in_sim(NULL);
+ if (!bIsInSim)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_is_mms.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_set_message_type(msgInfo, MSG_TYPE_MMS);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_is_mms_001()\r
-{\r
- bool bIsMMS = true;\r
-\r
- bIsMMS = msg_is_mms(msgInfo);\r
- if (!bIsMMS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_is_mms_002()\r
-{\r
- bool bIsMMS = true;\r
-\r
- bIsMMS = msg_is_mms(NULL);\r
- if (!bIsMMS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_is_mms.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_set_message_type(msgInfo, MSG_TYPE_MMS);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_is_mms_001()
+{
+ bool bIsMMS = true;
+
+ bIsMMS = msg_is_mms(msgInfo);
+ if (!bIsMMS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_is_mms_002()
+{
+ bool bIsMMS = true;
+
+ bIsMMS = msg_is_mms(NULL);
+ if (!bIsMMS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_is_protected.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_is_protected_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_is_protected(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_is_protected_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_is_protected(NULL);\r
- if (err <= MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_is_protected.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_is_protected_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_is_protected(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_is_protected_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_is_protected(NULL);
+ if (err <= MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_is_read.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_is_read_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_is_read(msgInfo);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_is_read_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_is_read(NULL);\r
- if (err <= MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_is_read.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_is_read_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_is_read(msgInfo);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_is_read_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_is_read(NULL);
+ if (err <= MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_is_sms.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_is_sms_001()\r
-{\r
- bool bIsSMS = false;\r
-\r
- bIsSMS = msg_is_sms(msgInfo);\r
- if (!bIsSMS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_is_sms_002()\r
-{\r
- bool bIsSMS = false;\r
-\r
- bIsSMS = msg_is_sms(NULL);\r
- if (!bIsSMS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_is_sms.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_is_sms_001()
+{
+ bool bIsSMS = false;
+
+ bIsSMS = msg_is_sms(msgInfo);
+ if (!bIsSMS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_is_sms_002()
+{
+ bool bIsSMS = false;
+
+ bIsSMS = msg_is_sms(NULL);
+ if (!bIsSMS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_attachment.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
- MMS_ATTACH_S* attachment[5];\r
- int nSize;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_add_attachment_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_ATTACH_S* attach = NULL;\r
-\r
- attach = msg_mms_add_attachment(mms_data, (char*)"/opt/etc/msg-service/P091120_104633.jpg");\r
- if (attach == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_add_attachment_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_ATTACH_S* attach = NULL;\r
-\r
- attach = msg_mms_add_attachment(NULL, (char*)"/opt/etc/msg-service/P091120_104633.jpg");\r
- if (attach == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_attachment.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+ MMS_ATTACH_S* attachment[5];
+ int nSize;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_add_attachment_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_ATTACH_S* attach = NULL;
+
+ attach = msg_mms_add_attachment(mms_data, (char*)"/opt/etc/msg-service/P091120_104633.jpg");
+ if (attach == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_add_attachment_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_ATTACH_S* attach = NULL;
+
+ attach = msg_mms_add_attachment(NULL, (char*)"/opt/etc/msg-service/P091120_104633.jpg");
+ if (attach == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_media.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-MMS_PAGE_S* page = NULL;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MEDIA_S* media[5];\r
- MMS_ATTACH_S* attachment[5];\r
- int nSize;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-\r
- page = msg_mms_add_page(mms_data, 5440);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_add_media_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MEDIA_S* media = NULL;\r
-\r
- media = msg_mms_add_media(page, MMS_SMIL_MEDIA_IMG, "Image", (char*)"/opt/etc/msg-service/P091120_104633.jpg");\r
- if (media == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_add_media_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MEDIA_S* media = NULL;\r
-\r
- media = msg_mms_add_media(NULL, MMS_SMIL_MEDIA_IMG, "Image", (char*)"/opt/etc/msg-service/P091120_104633.jpg");\r
- if (media == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_media.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+MMS_PAGE_S* page = NULL;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MEDIA_S* media[5];
+ MMS_ATTACH_S* attachment[5];
+ int nSize;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+
+ page = msg_mms_add_page(mms_data, 5440);
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_add_media_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MEDIA_S* media = NULL;
+
+ media = msg_mms_add_media(page, MMS_SMIL_MEDIA_IMG, "Image", (char*)"/opt/etc/msg-service/P091120_104633.jpg");
+ if (media == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_add_media_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MEDIA_S* media = NULL;
+
+ media = msg_mms_add_media(NULL, MMS_SMIL_MEDIA_IMG, "Image", (char*)"/opt/etc/msg-service/P091120_104633.jpg");
+ if (media == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_meta.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-MMS_SMIL_META meta;\r
-MMS_PAGE_S* page = NULL;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MEDIA_S* media[5];\r
- MMS_ATTACH_S* attachment[5];\r
- int nSize;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-\r
- memset(&meta, 0x00, sizeof(MMS_SMIL_META));\r
-\r
- page = msg_mms_add_page(mms_data, 5440);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_add_meta_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_mms_add_meta(mms_data, &meta);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_add_meta_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MEDIA_S* media = NULL;\r
-\r
- err = msg_mms_add_meta(NULL, &meta);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_meta.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+MMS_SMIL_META meta;
+MMS_PAGE_S* page = NULL;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MEDIA_S* media[5];
+ MMS_ATTACH_S* attachment[5];
+ int nSize;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+
+ memset(&meta, 0x00, sizeof(MMS_SMIL_META));
+
+ page = msg_mms_add_page(mms_data, 5440);
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_add_meta_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_mms_add_meta(mms_data, &meta);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_add_meta_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MEDIA_S* media = NULL;
+
+ err = msg_mms_add_meta(NULL, &meta);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_add_meta_001(void);\r
- static void utc_msg_mms_add_meta_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_add_meta_001,1},\r
- { utc_msg_mms_add_meta_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_add_meta_001(void);
+ static void utc_msg_mms_add_meta_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_add_meta_001,1},
+ { utc_msg_mms_add_meta_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_page.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_set_message_body_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page;\r
-\r
- page = msg_mms_add_page(mms_data, 5440);\r
- if (page == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_set_message_body_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page;\r
-\r
- page = msg_mms_add_page(NULL, 5440);\r
- if (page == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_page.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_set_message_body_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page;
+
+ page = msg_mms_add_page(mms_data, 5440);
+ if (page == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_set_message_body_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page;
+
+ page = msg_mms_add_page(NULL, 5440);
+ if (page == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_region.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
- MMS_ATTACH_S* attachment[5];\r
- int nSize;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_add_region_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_SMIL_REGION* region = NULL;\r
-\r
- region = msg_mms_add_region(mms_data, "Image", 0, 50, 100, 50, 0xffffff);\r
- if (region == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_add_region_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_SMIL_REGION* region = NULL;\r
-\r
- region = msg_mms_add_region(NULL, "Image", 0, 50, 100, 50, 0xffffff);\r
- if (region == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_region.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+ MMS_ATTACH_S* attachment[5];
+ int nSize;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_add_region_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_SMIL_REGION* region = NULL;
+
+ region = msg_mms_add_region(mms_data, "Image", 0, 50, 100, 50, 0xffffff);
+ if (region == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_add_region_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_SMIL_REGION* region = NULL;
+
+ region = msg_mms_add_region(NULL, "Image", 0, 50, 100, 50, 0xffffff);
+ if (region == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_add_transition.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
- MMS_ATTACH_S* attachment[5];\r
- int nSize;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_add_transition_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_SMIL_TRANSITION transition;\r
-\r
- memset(&transition, 0x00, sizeof(transition));\r
-\r
- err = msg_mms_add_transition(mms_data, &transition);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_add_transition_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_SMIL_TRANSITION transition;\r
-\r
- memset(&transition, 0x00, sizeof(transition));\r
-\r
- err = msg_mms_add_transition(NULL, &transition);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_add_transition.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+ MMS_ATTACH_S* attachment[5];
+ int nSize;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_add_transition_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_SMIL_TRANSITION transition;
+
+ memset(&transition, 0x00, sizeof(transition));
+
+ err = msg_mms_add_transition(mms_data, &transition);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_add_transition_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_SMIL_TRANSITION transition;
+
+ memset(&transition, 0x00, sizeof(transition));
+
+ err = msg_mms_add_transition(NULL, &transition);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_add_transition_001(void);\r
- static void utc_msg_mms_add_transition_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_add_transition_001,1},\r
- { utc_msg_mms_add_transition_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_add_transition_001(void);
+ static void utc_msg_mms_add_transition_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_add_transition_001,1},
+ { utc_msg_mms_add_transition_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_create_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_create_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MESSAGE_DATA_S* mms_data = NULL;\r
-\r
- mms_data = msg_mms_create_message();\r
- if (mms_data == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- msg_mms_destroy_message(mms_data);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
- msg_mms_destroy_message(mms_data);\r
-}\r
-\r
-void utc_msg_mms_create_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_MESSAGE_DATA_S* mms_data = NULL;\r
-\r
- //mms_data = msg_mms_create_message();\r
- if (mms_data == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_create_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_create_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MESSAGE_DATA_S* mms_data = NULL;
+
+ mms_data = msg_mms_create_message();
+ if (mms_data == NULL)
+ {
+ tet_result(TET_FAIL);
+ msg_mms_destroy_message(mms_data);
+ return;
+ }
+
+ tet_result(TET_PASS);
+ msg_mms_destroy_message(mms_data);
+}
+
+void utc_msg_mms_create_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_MESSAGE_DATA_S* mms_data = NULL;
+
+ //mms_data = msg_mms_create_message();
+ if (mms_data == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_create_message_001(void);\r
- static void utc_msg_mms_create_message_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_create_message_001,1},\r
- { utc_msg_mms_create_message_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_create_message_001(void);
+ static void utc_msg_mms_create_message_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_create_message_001,1},
+ { utc_msg_mms_create_message_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_destroy_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_destroy_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_mms_destroy_message(mms_data);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_destroy_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_mms_destroy_message(NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_destroy_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_destroy_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_mms_destroy_message(mms_data);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_destroy_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_mms_destroy_message(NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_destroy_message_001(void);\r
- static void utc_msg_mms_destroy_message_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_destroy_message_001,1},\r
- { utc_msg_mms_destroy_message_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_destroy_message_001(void);
+ static void utc_msg_mms_destroy_message_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_destroy_message_001,1},
+ { utc_msg_mms_destroy_message_002,2},
+ {NULL,0}
};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_attachment.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_media.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_message_body.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_meta.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_get_meta_001(void);\r
- static void utc_msg_mms_get_meta_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_get_meta_001,1},\r
- { utc_msg_mms_get_meta_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_get_meta_001(void);
+ static void utc_msg_mms_get_meta_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_get_meta_001,1},
+ { utc_msg_mms_get_meta_002,2},
+ {NULL,0}
};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_page.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_smil_region.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_get_smil_region_001(void);\r
- static void utc_msg_mms_get_smil_region_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_get_smil_region_001,1},\r
- { utc_msg_mms_get_smil_region_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_get_smil_region_001(void);
+ static void utc_msg_mms_get_smil_region_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_get_smil_region_001,1},
+ { utc_msg_mms_get_smil_region_002,2},
+ {NULL,0}
};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_get_transition.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_get_transition_001(void);\r
- static void utc_msg_mms_get_transition_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_get_transition_001,1},\r
- { utc_msg_mms_get_transition_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_get_transition_001(void);
+ static void utc_msg_mms_get_transition_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_get_transition_001,1},
+ { utc_msg_mms_get_transition_002,2},
+ {NULL,0}
};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_set_message_body.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_set_rootlayout.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MMS_MESSAGE_DATA_S* mms_data;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MMS_PAGE_S* page[2];\r
- MMS_MEDIA_S* media[5];\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
- mms_data = msg_mms_create_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_mms_destroy_message(mms_data);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_set_rootlayout_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- MMS_SMIL_ROOTLAYOUT* pLayout = msg_mms_set_rootlayout(mms_data, 100, 100, 0xffffff);\r
- if (pLayout == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_set_rootlayout_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- MMS_SMIL_ROOTLAYOUT* pLayout = msg_mms_set_rootlayout(NULL, 100, 100, 0xffffff);\r
- if (pLayout == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_set_rootlayout.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MMS_MESSAGE_DATA_S* mms_data;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MMS_PAGE_S* page[2];
+ MMS_MEDIA_S* media[5];
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+ mms_data = msg_mms_create_message();
+}
+void cleanup(void)
+{
+ msg_mms_destroy_message(mms_data);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_set_rootlayout_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ MMS_SMIL_ROOTLAYOUT* pLayout = msg_mms_set_rootlayout(mms_data, 100, 100, 0xffffff);
+ if (pLayout == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_set_rootlayout_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ MMS_SMIL_ROOTLAYOUT* pLayout = msg_mms_set_rootlayout(NULL, 100, 100, 0xffffff);
+ if (pLayout == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_mms_set_rootlayout_001(void);\r
- static void utc_msg_mms_set_rootlayout_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_mms_set_rootlayout_001,1},\r
- { utc_msg_mms_set_rootlayout_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_mms_set_rootlayout_001(void);
+ static void utc_msg_mms_set_rootlayout_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_mms_set_rootlayout_001,1},
+ { utc_msg_mms_set_rootlayout_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_new_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_new_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- msgInfo = msg_new_message();\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_new_message_002()\r
-{\r
- MSG_ERROR_T err = -1;\r
-\r
- msgInfo = msg_new_message();\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_new_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_new_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ msgInfo = msg_new_message();
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_new_message_002()
+{
+ MSG_ERROR_T err = -1;
+
+ msgInfo = msg_new_message();
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_new_message_001(void);\r
-static void utc_msg_new_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_new_message_001,1},\r
- { utc_msg_new_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_new_message_001(void);
+static void utc_msg_new_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_new_message_001,1},
+ { utc_msg_new_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_release_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_release_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_release_message(msgInfo);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_release_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_release_message(NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_release_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_release_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_release_message(msgInfo);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_release_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_release_message(NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reset_address.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reset_address_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_reset_address(msgInfo);\r
- if (err)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reset_address_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_reset_address(NULL);\r
- if (err)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reset_address.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reset_address_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_reset_address(msgInfo);
+ if (err)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reset_address_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_reset_address(NULL);
+ if (err)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_direction_info.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_direction_info_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_direction_info(msgInfo, MSG_DIRECTION_TYPE_MT);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_direction_info_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_direction_info(NULL, MSG_DIRECTION_TYPE_MT);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_direction_info.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_direction_info_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_direction_info(msgInfo, MSG_DIRECTION_TYPE_MT);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_direction_info_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_direction_info(NULL, MSG_DIRECTION_TYPE_MT);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_encode_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_encode_type_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_encode_type(msgInfo, MSG_ENCODE_GSM7BIT);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_encode_type_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_encode_type(NULL, MSG_ENCODE_GSM7BIT);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_encode_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_encode_type_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_encode_type(msgInfo, MSG_ENCODE_GSM7BIT);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_encode_type_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_encode_type(NULL, MSG_ENCODE_GSM7BIT);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_folder_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_folder_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_folder_id(msgInfo, MSG_INBOX_ID);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_folder_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_folder_id(NULL, MSG_INBOX_ID);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_folder_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_folder_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_folder_id(msgInfo, MSG_INBOX_ID);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_folder_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_folder_id(NULL, MSG_INBOX_ID);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_message_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_message_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_message_id(msgInfo, 1);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_message_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_message_id(NULL, 1);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_message_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_message_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_message_id(msgInfo, 1);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_message_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_message_id(NULL, 1);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_message_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_message_type_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_message_type(msgInfo, MSG_TYPE_SMS);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_message_type_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_message_type(NULL, MSG_TYPE_SMS);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_message_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_message_type_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_message_type(msgInfo, MSG_TYPE_SMS);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_message_type_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_message_type(NULL, MSG_TYPE_SMS);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_network_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_network_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_network_status(msgInfo, MSG_NETWORK_SEND_SUCCESS);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_network_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_network_status(NULL, MSG_NETWORK_SEND_SUCCESS);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_network_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_network_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_network_status(msgInfo, MSG_NETWORK_SEND_SUCCESS);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_network_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_network_status(NULL, MSG_NETWORK_SEND_SUCCESS);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_port.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_port_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_port(msgInfo, 656, 656);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_port_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_port(NULL, 656, 656);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_port.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_port_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_port(msgInfo, 656, 656);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_port_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_port(NULL, 656, 656);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_priority_info.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_priority_info_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_priority_info(msgInfo, MSG_MESSAGE_PRIORITY_NORMAL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_priority_info_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_priority_info(NULL, MSG_MESSAGE_PRIORITY_NORMAL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_priority_info.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_priority_info_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_priority_info(msgInfo, MSG_MESSAGE_PRIORITY_NORMAL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_priority_info_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_priority_info(NULL, MSG_MESSAGE_PRIORITY_NORMAL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_protect_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_protect_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_protect_status(msgInfo, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_protect_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_protect_status(NULL, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_protect_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_protect_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_protect_status(msgInfo, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_protect_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_protect_status(NULL, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_read_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_read_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_read_status(msgInfo, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_read_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_read_status(NULL, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_read_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_read_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_read_status(msgInfo, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_read_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_read_status(NULL, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_scheduled_time.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_scheduled_time_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t scheduledTime;\r
- time(&scheduledTime);\r
-\r
- err = msg_set_scheduled_time(msgInfo, scheduledTime);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_scheduled_time_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t scheduledTime;\r
- time(&scheduledTime);\r
-\r
- err = msg_set_scheduled_time(NULL, scheduledTime);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_scheduled_time.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_scheduled_time_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t scheduledTime;
+ time(&scheduledTime);
+
+ err = msg_set_scheduled_time(msgInfo, scheduledTime);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_scheduled_time_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t scheduledTime;
+ time(&scheduledTime);
+
+ err = msg_set_scheduled_time(NULL, scheduledTime);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_storage_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_storage_id_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_storage_id(msgInfo, MSG_STORAGE_PHONE);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_storage_id_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_storage_id(NULL, MSG_STORAGE_PHONE);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_storage_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_storage_id_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_storage_id(msgInfo, MSG_STORAGE_PHONE);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_storage_id_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_storage_id(NULL, MSG_STORAGE_PHONE);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_subject.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_subject_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_subject(msgInfo, "test subject");\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_subject_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_subject(NULL, "test subject");\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_subject.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_subject_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_subject(msgInfo, "test subject");
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_subject_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_subject(NULL, "test subject");
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_time.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_time_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t curTime = time(NULL);\r
-\r
- err = msg_set_time(msgInfo, curTime);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_time_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- time_t curTime = time(NULL);\r
-\r
- err = msg_set_time(NULL, curTime);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_time.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_time_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t curTime = time(NULL);
+
+ err = msg_set_time(msgInfo, curTime);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_time_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ time_t curTime = time(NULL);
+
+ err = msg_set_time(NULL, curTime);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_sms_get_message_body.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_sms_set_message_body(msgInfo, "test message", 12);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_sms_get_message_body_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_sms_get_message_body(msgInfo);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_sms_get_message_body_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- char * address = NULL;\r
-\r
- address = msg_sms_get_message_body(NULL);\r
- if (address == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_sms_get_message_body.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ msg_sms_set_message_body(msgInfo, "test message", 12);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_sms_get_message_body_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_sms_get_message_body(msgInfo);
+ if (address == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_sms_get_message_body_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ char * address = NULL;
+
+ address = msg_sms_get_message_body(NULL);
+ if (address == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_sms_set_message_body.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_sms_set_message_body_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_sms_set_message_body(msgInfo, "test message", 12);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_sms_set_message_body_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_sms_set_message_body(NULL, "test message", 12);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_sms_set_message_body.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_sms_set_message_body_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_sms_set_message_body(msgInfo, "test message", 12);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_sms_set_message_body_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_sms_set_message_body(NULL, "test message", 12);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <tet_api.h>
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_config.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-MSG_SETTING_S setting;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- memset(&setting, 0x00, sizeof(MSG_OPTION_TYPE_T)+sizeof(MSG_GENERAL_OPT_S));\r
-\r
- setting.type = MSG_GENERAL_OPT;\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_config_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_config(msgHandle, &setting);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_config_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_config(NULL, &setting);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_config.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+MSG_SETTING_S setting;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ memset(&setting, 0x00, sizeof(MSG_OPTION_TYPE_T)+sizeof(MSG_GENERAL_OPT_S));
+
+ setting.type = MSG_GENERAL_OPT;
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_config_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_config(msgHandle, &setting);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_config_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_config(NULL, &setting);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiSetting.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_get_config_001(void);\r
- static void utc_msg_get_config_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_get_config_001,1},\r
- { utc_msg_get_config_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiSetting.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_get_config_001(void);
+ static void utc_msg_get_config_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_get_config_001,1},
+ { utc_msg_get_config_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_set_config.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-MSG_SETTING_S setting;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- memset(&setting, 0x00, sizeof(MSG_OPTION_TYPE_T)+sizeof(MSG_GENERAL_OPT_S));\r
-\r
- setting.type = MSG_GENERAL_OPT;\r
-\r
- msg_get_config(msgHandle, &setting);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_set_config_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_config(msgHandle, &setting);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_set_config_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_set_config(NULL, &setting);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_set_config.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+MSG_SETTING_S setting;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ memset(&setting, 0x00, sizeof(MSG_OPTION_TYPE_T)+sizeof(MSG_GENERAL_OPT_S));
+
+ setting.type = MSG_GENERAL_OPT;
+
+ msg_get_config(msgHandle, &setting);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_set_config_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_config(msgHandle, &setting);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_set_config_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_set_config(NULL, &setting);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiSetting.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
- static void utc_msg_set_config_001(void);\r
- static void utc_msg_set_config_002(void);\r
-\r
-\r
-\r
- struct tet_testlist tet_testlist[] = {\r
- { utc_msg_set_config_001,1},\r
- { utc_msg_set_config_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiSetting.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+ static void utc_msg_set_config_001(void);
+ static void utc_msg_set_config_002(void);
+
+
+
+ struct tet_testlist tet_testlist[] = {
+ { utc_msg_set_config_001,1},
+ { utc_msg_set_config_002,2},
+ {NULL,0}
};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_add_folder.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_add_folder_001(void);\r
-static void utc_msg_add_folder_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_add_folder_001,1},\r
- { utc_msg_add_folder_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_add_folder_001(void);
+static void utc_msg_add_folder_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_add_folder_001,1},
+ { utc_msg_add_folder_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_add_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_add_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_message(msgHandle, msgInfo, &sendOpt);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_printf("msg_add_message fail [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_add_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_message(NULL, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_printf("msg_add_message success [%d]", err);\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_add_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_add_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_message(msgHandle, msgInfo, &sendOpt);
+ if (err < MSG_SUCCESS)
+ {
+ tet_printf("msg_add_message fail [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_add_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_message(NULL, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_printf("msg_add_message success [%d]", err);
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_add_message_001(void);\r
-static void utc_msg_add_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_add_message_001,1},\r
- { utc_msg_add_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_add_message_001(void);
+static void utc_msg_add_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_add_message_001,1},
+ { utc_msg_add_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_add_syncml_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SYNCML_MESSAGE_S syncMLMsg;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&syncMLMsg, 0x00, sizeof(MSG_SYNCML_MESSAGE_S));\r
-\r
- syncMLMsg.extId = 11;\r
- syncMLMsg.pinCode = 1111;\r
-\r
- syncMLMsg.msg = msg_new_message();\r
-\r
- msg_set_folder_id(syncMLMsg.msg, MSG_INBOX_ID);\r
- msg_set_message_type(syncMLMsg.msg, MSG_TYPE_SMS_SYNCML);\r
- msg_set_network_status(syncMLMsg.msg, MSG_NETWORK_RECEIVED);\r
- msg_set_direction_info(syncMLMsg.msg, MSG_DIRECTION_TYPE_MT);\r
-\r
- msg_add_address(syncMLMsg.msg, "+1004", MSG_RECIPIENTS_TYPE_TO);\r
-\r
- char msg_body[]="SyncML Message";\r
- msg_sms_set_message_body(syncMLMsg.msg, msg_body, strlen(msg_body));\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_add_syncml_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_syncml_message(msgHandle, &syncMLMsg);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_add_syncml_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_add_syncml_message(NULL, &syncMLMsg);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_add_syncml_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SYNCML_MESSAGE_S syncMLMsg;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&syncMLMsg, 0x00, sizeof(MSG_SYNCML_MESSAGE_S));
+
+ syncMLMsg.extId = 11;
+ syncMLMsg.pinCode = 1111;
+
+ syncMLMsg.msg = msg_new_message();
+
+ msg_set_folder_id(syncMLMsg.msg, MSG_INBOX_ID);
+ msg_set_message_type(syncMLMsg.msg, MSG_TYPE_SMS_SYNCML);
+ msg_set_network_status(syncMLMsg.msg, MSG_NETWORK_RECEIVED);
+ msg_set_direction_info(syncMLMsg.msg, MSG_DIRECTION_TYPE_MT);
+
+ msg_add_address(syncMLMsg.msg, "+1004", MSG_RECIPIENTS_TYPE_TO);
+
+ char msg_body[]="SyncML Message";
+ msg_sms_set_message_body(syncMLMsg.msg, msg_body, strlen(msg_body));
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_add_syncml_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_syncml_message(msgHandle, &syncMLMsg);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_add_syncml_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_add_syncml_message(NULL, &syncMLMsg);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_add_syncml_message_001(void);\r
-static void utc_msg_add_syncml_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_add_syncml_message_001,1},\r
- { utc_msg_add_syncml_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_add_syncml_message_001(void);
+static void utc_msg_add_syncml_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_add_syncml_message_001,1},
+ { utc_msg_add_syncml_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_count_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_COUNT_INFO_S count_info;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
- memset(&count_info, 0x00, sizeof(count_info));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_count_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_count_message(msgHandle, MSG_DRAFT_ID, &count_info);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_count_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_count_message(NULL, MSG_DRAFT_ID, &count_info);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_count_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_COUNT_INFO_S count_info;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+ memset(&count_info, 0x00, sizeof(count_info));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_count_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_count_message(msgHandle, MSG_DRAFT_ID, &count_info);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_count_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_count_message(NULL, MSG_DRAFT_ID, &count_info);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_count_message_001(void);\r
-static void utc_msg_count_message_001(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_count_message_001,1},\r
- { utc_msg_count_message_001,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_count_message_001(void);
+static void utc_msg_count_message_001(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_count_message_001,1},
+ { utc_msg_count_message_001,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_count_msg_by_contact.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_count_msg_by_contact_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_THREAD_LIST_INDEX_S addr_info;\r
- MSG_THREAD_COUNT_INFO_S msg_thread_count_list;\r
-\r
- memset(&addr_info, 0x00, sizeof(addr_info));\r
- memset(&msg_thread_count_list, 0x00, sizeof(msg_thread_count_list));\r
-\r
- err = msg_count_msg_by_contact(msgHandle, &addr_info, &msg_thread_count_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_count_msg_by_contact_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_THREAD_LIST_INDEX_S addr_info;\r
- MSG_THREAD_COUNT_INFO_S msg_thread_count_list;\r
-\r
- memset(&addr_info, 0x00, sizeof(addr_info));\r
- memset(&msg_thread_count_list, 0x00, sizeof(msg_thread_count_list));\r
-\r
- err = msg_count_msg_by_contact(NULL, &addr_info, &msg_thread_count_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_count_msg_by_contact.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_count_msg_by_contact_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_THREAD_LIST_INDEX_S addr_info;
+ MSG_THREAD_COUNT_INFO_S msg_thread_count_list;
+
+ memset(&addr_info, 0x00, sizeof(addr_info));
+ memset(&msg_thread_count_list, 0x00, sizeof(msg_thread_count_list));
+
+ err = msg_count_msg_by_contact(msgHandle, &addr_info, &msg_thread_count_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_count_msg_by_contact_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_THREAD_LIST_INDEX_S addr_info;
+ MSG_THREAD_COUNT_INFO_S msg_thread_count_list;
+
+ memset(&addr_info, 0x00, sizeof(addr_info));
+ memset(&msg_thread_count_list, 0x00, sizeof(msg_thread_count_list));
+
+ err = msg_count_msg_by_contact(NULL, &addr_info, &msg_thread_count_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_count_msg_by_contact_001(void);\r
-static void utc_msg_count_msg_by_contact_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_count_msg_by_contact_001,1},\r
- { utc_msg_count_msg_by_contact_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_count_msg_by_contact_001(void);
+static void utc_msg_count_msg_by_contact_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_count_msg_by_contact_001,1},
+ { utc_msg_count_msg_by_contact_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_count_msg_by_type.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_update_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- int count = 0;\r
-\r
- err = msg_count_msg_by_type(msgHandle, MSG_TYPE_SMS, &count);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_update_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- int count = 0;\r
-\r
- err = msg_count_msg_by_type(NULL, MSG_TYPE_SMS, &count);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_count_msg_by_type.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_update_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ int count = 0;
+
+ err = msg_count_msg_by_type(msgHandle, MSG_TYPE_SMS, &count);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_update_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ int count = 0;
+
+ err = msg_count_msg_by_type(NULL, MSG_TYPE_SMS, &count);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_update_message_001(void);\r
-static void utc_msg_update_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_update_message_001,1},\r
- { utc_msg_update_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_update_message_001(void);
+static void utc_msg_update_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_update_message_001,1},
+ { utc_msg_update_message_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_delete_all_msgs_in_folder.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_delete_all_msgs_in_folder_001(void);\r
-static void utc_msg_delete_all_msgs_in_folder_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_delete_all_msgs_in_folder_001,1},\r
- { utc_msg_delete_all_msgs_in_folder_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_delete_all_msgs_in_folder_001(void);
+static void utc_msg_delete_all_msgs_in_folder_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_delete_all_msgs_in_folder_001,1},
+ { utc_msg_delete_all_msgs_in_folder_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_delete_folder.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_delete_folder_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_folder(msgHandle, 10);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_delete_folder_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_folder(NULL, 10);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_delete_folder.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_delete_folder_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_folder(msgHandle, 10);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_delete_folder_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_folder(NULL, 10);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_delete_folder_001(void);\r
-static void utc_msg_delete_folder_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_delete_folder_001,1},\r
- { utc_msg_delete_folder_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_delete_folder_001(void);
+static void utc_msg_delete_folder_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_delete_folder_001,1},
+ { utc_msg_delete_folder_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_delete_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-int msgId = 0;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_LIST_S folder_list;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);\r
-\r
- msgId = msg_get_message_id(folder_list.msgInfo[0]);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_delete_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_message(msgHandle, msgId);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_delete_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_message(NULL, msgId);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_delete_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+int msgId = 0;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_LIST_S folder_list;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);
+
+ msgId = msg_get_message_id(folder_list.msgInfo[0]);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_delete_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_message(msgHandle, msgId);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_delete_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_message(NULL, msgId);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_delete_message_001(void);\r
-static void utc_msg_delete_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_delete_message_001,1},\r
- { utc_msg_delete_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_delete_message_001(void);
+static void utc_msg_delete_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_delete_message_001,1},
+ { utc_msg_delete_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_delete_thread_message_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_delete_thread_message_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_thread_message_list(msgHandle, 0);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_delete_thread_message_list_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_delete_thread_message_list(NULL, 0);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_delete_thread_message_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_delete_thread_message_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_thread_message_list(msgHandle, 0);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_delete_thread_message_list_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_delete_thread_message_list(NULL, 0);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_delete_thread_message_list_001(void);\r
-static void utc_msg_delete_thread_message_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_delete_thread_message_list_001,1},\r
- { utc_msg_delete_thread_message_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_delete_thread_message_list_001(void);
+static void utc_msg_delete_thread_message_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_delete_thread_message_list_001,1},
+ { utc_msg_delete_thread_message_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_generate_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_generate_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_generate_message(msgHandle, MSG_TYPE_SMS, MSG_DRAFT_ID, 10);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_generate_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_generate_message(NULL, MSG_TYPE_SMS, MSG_DRAFT_ID, 10);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_generate_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_generate_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_generate_message(msgHandle, MSG_TYPE_SMS, MSG_DRAFT_ID, 10);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_generate_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_generate_message(NULL, MSG_TYPE_SMS, MSG_DRAFT_ID, 10);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_generate_message_001(void);\r
-static void utc_msg_generate_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_generate_message_001,1},\r
- { utc_msg_generate_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_generate_message_001(void);
+static void utc_msg_generate_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_generate_message_001,1},
+ { utc_msg_generate_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_get_conversation_view_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_conversation_view_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_LIST_S msg_conv_view_list;\r
-\r
- memset(&msg_conv_view_list, 0x00, sizeof(msg_conv_view_list));\r
-\r
- err = msg_get_conversation_view_list(msgHandle, 0, &msg_conv_view_list);\r
- msg_release_message_list(&msg_conv_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_conversation_view_list_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_LIST_S msg_conv_view_list;\r
-\r
- memset(&msg_conv_view_list, 0x00, sizeof(msg_conv_view_list));\r
-\r
- err = msg_get_conversation_view_list(NULL, 0, &msg_conv_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_get_conversation_view_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_conversation_view_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_LIST_S msg_conv_view_list;
+
+ memset(&msg_conv_view_list, 0x00, sizeof(msg_conv_view_list));
+
+ err = msg_get_conversation_view_list(msgHandle, 0, &msg_conv_view_list);
+ msg_release_message_list(&msg_conv_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_conversation_view_list_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_LIST_S msg_conv_view_list;
+
+ memset(&msg_conv_view_list, 0x00, sizeof(msg_conv_view_list));
+
+ err = msg_get_conversation_view_list(NULL, 0, &msg_conv_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_conversation_view_list_001(void);\r
-static void utc_msg_get_conversation_view_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_conversation_view_list_001,1},\r
- { utc_msg_get_conversation_view_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_conversation_view_list_001(void);
+static void utc_msg_get_conversation_view_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_conversation_view_list_001,1},
+ { utc_msg_get_conversation_view_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_get_folder_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_folder_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_FOLDER_LIST_S folder_list;\r
-\r
- memset(&folder_list, 0x00, sizeof(folder_list));\r
-\r
- err = msg_get_folder_list(msgHandle, &folder_list);\r
- msg_release_folder_list(&folder_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_folder_list_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_FOLDER_LIST_S folder_list;\r
-\r
- memset(&folder_list, 0x00, sizeof(folder_list));\r
-\r
- err = msg_get_folder_list(NULL, &folder_list);\r
- msg_release_folder_list(&folder_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_get_folder_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_folder_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_FOLDER_LIST_S folder_list;
+
+ memset(&folder_list, 0x00, sizeof(folder_list));
+
+ err = msg_get_folder_list(msgHandle, &folder_list);
+ msg_release_folder_list(&folder_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_folder_list_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_FOLDER_LIST_S folder_list;
+
+ memset(&folder_list, 0x00, sizeof(folder_list));
+
+ err = msg_get_folder_list(NULL, &folder_list);
+ msg_release_folder_list(&folder_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_folder_list_001(void);\r
-static void utc_msg_get_folder_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_folder_list_001,1},\r
- { utc_msg_get_folder_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_folder_list_001(void);
+static void utc_msg_get_folder_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_folder_list_001,1},
+ { utc_msg_get_folder_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_get_folder_view_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_folder_view_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
- MSG_LIST_S msg_folder_view_list;\r
-\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
- memset(&msg_folder_view_list, 0x00, sizeof(msg_folder_view_list));\r
-\r
- err = msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, &sort_rule, &msg_folder_view_list);\r
- msg_release_message_list(&msg_folder_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_folder_view_list_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
- MSG_LIST_S msg_folder_view_list;\r
-\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
- memset(&msg_folder_view_list, 0x00, sizeof(msg_folder_view_list));\r
-\r
- err = msg_get_folder_view_list(NULL, MSG_DRAFT_ID, &sort_rule, &msg_folder_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_get_folder_view_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_folder_view_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+ MSG_LIST_S msg_folder_view_list;
+
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+ memset(&msg_folder_view_list, 0x00, sizeof(msg_folder_view_list));
+
+ err = msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, &sort_rule, &msg_folder_view_list);
+ msg_release_message_list(&msg_folder_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_folder_view_list_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+ MSG_LIST_S msg_folder_view_list;
+
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+ memset(&msg_folder_view_list, 0x00, sizeof(msg_folder_view_list));
+
+ err = msg_get_folder_view_list(NULL, MSG_DRAFT_ID, &sort_rule, &msg_folder_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_folder_view_list_001(void);\r
-static void utc_msg_get_folder_view_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_folder_view_list_001,1},\r
- { utc_msg_get_folder_view_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_folder_view_list_001(void);
+static void utc_msg_get_folder_view_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_folder_view_list_001,1},
+ { utc_msg_get_folder_view_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_mem_size.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_mem_size_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- int memsize = 0;\r
-\r
- err = msg_get_mem_size(msgHandle, &memsize);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_mem_size_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- int memsize = 0;\r
-\r
- err = msg_get_mem_size(NULL, &memsize);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_mem_size.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_mem_size_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ int memsize = 0;
+
+ err = msg_get_mem_size(msgHandle, &memsize);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_mem_size_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ int memsize = 0;
+
+ err = msg_get_mem_size(NULL, &memsize);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_mem_size_001(void);\r
-static void utc_msg_get_mem_size_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_mem_size_001,1},\r
- { utc_msg_get_mem_size_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_mem_size_001(void);
+static void utc_msg_get_mem_size_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_mem_size_001,1},
+ { utc_msg_get_mem_size_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_get_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-int msgId = 0;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_LIST_S folder_list;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);\r
-\r
- msgId = msg_get_message_id(folder_list.msgInfo[0]);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message(msgHandle, msgId, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_message(NULL, msgId, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_get_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+int msgId = 0;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_LIST_S folder_list;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);
+
+ msgId = msg_get_message_id(folder_list.msgInfo[0]);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message(msgHandle, msgId, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_message(NULL, msgId, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_message_001(void);\r
-static void utc_msg_get_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_message_001,1},\r
- { utc_msg_get_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_message_001(void);
+static void utc_msg_get_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_message_001,1},
+ { utc_msg_get_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_get_quick_panel_data.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_quick_panel_data_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- //err = msg_get_quick_panel_data(msgHandle, MSG_QUICKPANEL_SMS, msgInfo);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_quick_panel_data_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_get_quick_panel_data(NULL, MSG_QUICKPANEL_SMS, msgInfo);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_get_quick_panel_data.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_quick_panel_data_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ //err = msg_get_quick_panel_data(msgHandle, MSG_QUICKPANEL_SMS, msgInfo);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_quick_panel_data_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_get_quick_panel_data(NULL, MSG_QUICKPANEL_SMS, msgInfo);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_quick_panel_data_001(void);\r
-static void utc_msg_get_quick_panel_data_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_quick_panel_data_001,1},\r
- { utc_msg_get_quick_panel_data_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_quick_panel_data_001(void);
+static void utc_msg_get_quick_panel_data_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_quick_panel_data_001,1},
+ { utc_msg_get_quick_panel_data_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_get_thread_view_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_get_thread_view_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
- MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
-\r
- err = msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_get_thread_view_list_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
- MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
-\r
- err = msg_get_thread_view_list(NULL, &sort_rule, &msg_thread_view_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_get_thread_view_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_get_thread_view_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+ MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+
+ err = msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+ msg_release_thread_view_list(&msg_thread_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_get_thread_view_list_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+ MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+
+ err = msg_get_thread_view_list(NULL, &sort_rule, &msg_thread_view_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_get_thread_view_list_001(void);\r
-static void utc_msg_get_thread_view_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_get_thread_view_list_001,1},\r
- { utc_msg_get_thread_view_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_get_thread_view_list_001(void);
+static void utc_msg_get_thread_view_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_get_thread_view_list_001,1},
+ { utc_msg_get_thread_view_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_move_msg_to_folder.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_move_msg_to_folder_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_move_msg_to_folder(msgHandle, 0, MSG_DRAFT_ID);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_move_msg_to_folder_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_move_msg_to_folder(NULL, 0, MSG_DRAFT_ID);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_move_msg_to_folder.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_move_msg_to_folder_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_move_msg_to_folder(msgHandle, 0, MSG_DRAFT_ID);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_move_msg_to_folder_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_move_msg_to_folder(NULL, 0, MSG_DRAFT_ID);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_move_msg_to_folder_001(void);\r
-static void utc_msg_move_msg_to_folder_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_move_msg_to_folder_001,1},\r
- { utc_msg_move_msg_to_folder_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_move_msg_to_folder_001(void);
+static void utc_msg_move_msg_to_folder_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_move_msg_to_folder_001,1},
+ { utc_msg_move_msg_to_folder_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_move_msg_to_storage.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_move_msg_to_storage_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_message(msgHandle, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_move_msg_to_storage_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_message(NULL, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_move_msg_to_storage.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_move_msg_to_storage_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_message(msgHandle, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_move_msg_to_storage_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_message(NULL, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_move_msg_to_storage_001(void);\r
-static void utc_msg_move_msg_to_storage_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_move_msg_to_storage_001,1},\r
- { utc_msg_move_msg_to_storage_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_move_msg_to_storage_001(void);
+static void utc_msg_move_msg_to_storage_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_move_msg_to_storage_001,1},
+ { utc_msg_move_msg_to_storage_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_release_folder_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_release_folder_list_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_FOLDER_LIST_S folder_list;\r
-\r
- memset(&folder_list, 0x00, sizeof(folder_list));\r
-\r
- msg_get_folder_list(msgHandle, &folder_list);\r
- msg_release_folder_list(&folder_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_release_folder_list_002()\r
-{\r
- MSG_ERROR_T err = -1;\r
- MSG_FOLDER_LIST_S folder_list;\r
-\r
- memset(&folder_list, 0x00, sizeof(folder_list));\r
-\r
- //err = msg_get_folder_list(NULL, &folder_list);\r
- //msg_release_folder_list(&folder_list);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_release_folder_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_release_folder_list_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_FOLDER_LIST_S folder_list;
+
+ memset(&folder_list, 0x00, sizeof(folder_list));
+
+ msg_get_folder_list(msgHandle, &folder_list);
+ msg_release_folder_list(&folder_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_release_folder_list_002()
+{
+ MSG_ERROR_T err = -1;
+ MSG_FOLDER_LIST_S folder_list;
+
+ memset(&folder_list, 0x00, sizeof(folder_list));
+
+ //err = msg_get_folder_list(NULL, &folder_list);
+ //msg_release_folder_list(&folder_list);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_release_folder_list_001(void);\r
-static void utc_msg_release_folder_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_release_folder_list_001,1},\r
- { utc_msg_release_folder_list_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_release_folder_list_001(void);
+static void utc_msg_release_folder_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_release_folder_list_001,1},
+ { utc_msg_release_folder_list_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_release_thread_view_list.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_release_thread_view_list_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- //msg_release_thread_view_list(&msg_thread_view_list);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_release_thread_view_list_002()\r
-{\r
- int err = -1;\r
-\r
- //msg_release_thread_view_list(&msg_thread_view_list);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_release_thread_view_list.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_release_thread_view_list_001()
+{
+ int err = MSG_SUCCESS;
+
+ //msg_release_thread_view_list(&msg_thread_view_list);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_release_thread_view_list_002()
+{
+ int err = -1;
+
+ //msg_release_thread_view_list(&msg_thread_view_list);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_release_thread_view_list_001(void);\r
-static void utc_msg_release_thread_view_list_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_release_thread_view_list_001,1},\r
- { utc_msg_release_thread_view_list_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_release_thread_view_list_001(void);
+static void utc_msg_release_thread_view_list_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_release_thread_view_list_001,1},
+ { utc_msg_release_thread_view_list_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reset_database.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reset_database_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_reset_database(msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reset_database_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_reset_database(NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reset_database.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reset_database_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_reset_database(msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reset_database_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_reset_database(NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_reset_database_001(void);\r
-static void utc_msg_reset_database_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reset_database_001,1},\r
- { utc_msg_reset_database_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_reset_database_001(void);
+static void utc_msg_reset_database_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reset_database_001,1},
+ { utc_msg_reset_database_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_address.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_address_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* addr = NULL;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- addr = msg_thread_view_get_address(msg_thread_view_list.msgThreadInfo[0]);\r
- if (addr == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_address_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* addr = NULL;\r
-\r
- addr = msg_thread_view_get_address(NULL);\r
- if (addr == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_address.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_address_001()
+{
+ int err = MSG_SUCCESS;
+ char* addr = NULL;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ addr = msg_thread_view_get_address(msg_thread_view_list.msgThreadInfo[0]);
+ if (addr == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_address_002()
+{
+ int err = MSG_SUCCESS;
+ char* addr = NULL;
+
+ addr = msg_thread_view_get_address(NULL);
+ if (addr == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_address_001(void);\r
-static void utc_msg_thread_view_get_address_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_address_001,1},\r
- { utc_msg_thread_view_get_address_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_address_001(void);
+static void utc_msg_thread_view_get_address_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_address_001,1},
+ { utc_msg_thread_view_get_address_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_contact_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_contact_id_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_contact_id(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_contact_id_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_contact_id(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_contact_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_contact_id_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_contact_id(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_contact_id_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_contact_id(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_contact_id_001(void);\r
-static void utc_msg_thread_view_get_contact_id_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_contact_id_001,1},\r
- { utc_msg_thread_view_get_contact_id_002,2},\r
- {NULL,0}\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_contact_id_001(void);
+static void utc_msg_thread_view_get_contact_id_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_contact_id_001,1},
+ { utc_msg_thread_view_get_contact_id_002,2},
+ {NULL,0}
};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_data.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_data_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* data = NULL;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- data = msg_thread_view_get_data(msg_thread_view_list.msgThreadInfo[0]);\r
- if (data == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_data_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* data = NULL;\r
-\r
- data = msg_thread_view_get_data(NULL);\r
- if (data == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_data.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_data_001()
+{
+ int err = MSG_SUCCESS;
+ char* data = NULL;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ data = msg_thread_view_get_data(msg_thread_view_list.msgThreadInfo[0]);
+ if (data == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_data_002()
+{
+ int err = MSG_SUCCESS;
+ char* data = NULL;
+
+ data = msg_thread_view_get_data(NULL);
+ if (data == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_data_001(void);\r
-static void utc_msg_thread_view_get_data_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_data_001,1},\r
- { utc_msg_thread_view_get_data_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_data_001(void);
+static void utc_msg_thread_view_get_data_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_data_001,1},
+ { utc_msg_thread_view_get_data_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_direction.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_direction_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_direction(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_direction_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_direction(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_direction.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_direction_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_direction(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_direction_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_direction(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_direction_001(void);\r
-static void utc_msg_thread_view_get_direction_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_direction_001,1},\r
- { utc_msg_thread_view_get_direction_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_direction_001(void);
+static void utc_msg_thread_view_get_direction_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_direction_001,1},
+ { utc_msg_thread_view_get_direction_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_image_path.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_image_path_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* path = NULL;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- path = msg_thread_view_get_image_path(msg_thread_view_list.msgThreadInfo[0]);\r
- if (path == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_image_path_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* path = NULL;\r
-\r
- path = msg_thread_view_get_image_path(NULL);\r
- if (path == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_image_path.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_image_path_001()
+{
+ int err = MSG_SUCCESS;
+ char* path = NULL;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ path = msg_thread_view_get_image_path(msg_thread_view_list.msgThreadInfo[0]);
+ if (path == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_image_path_002()
+{
+ int err = MSG_SUCCESS;
+ char* path = NULL;
+
+ path = msg_thread_view_get_image_path(NULL);
+ if (path == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_image_path_001(void);\r
-static void utc_msg_thread_view_get_image_path_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_image_path_001,1},\r
- { utc_msg_thread_view_get_image_path_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_image_path_001(void);
+static void utc_msg_thread_view_get_image_path_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_image_path_001,1},
+ { utc_msg_thread_view_get_image_path_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_mms_cnt.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_mms_cnt_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_mms_cnt(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_mms_cnt_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_mms_cnt(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_mms_cnt.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_mms_cnt_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_mms_cnt(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_mms_cnt_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_mms_cnt(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_mms_cnt_001(void);\r
-static void utc_msg_thread_view_get_mms_cnt_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_mms_cnt_001,1},\r
- { utc_msg_thread_view_get_mms_cnt_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_mms_cnt_001(void);
+static void utc_msg_thread_view_get_mms_cnt_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_mms_cnt_001,1},
+ { utc_msg_thread_view_get_mms_cnt_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_name.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_name_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* name = NULL;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- name = msg_thread_view_get_name(msg_thread_view_list.msgThreadInfo[0]);\r
- if (name == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_name_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- char* name = NULL;\r
-\r
- name = msg_thread_view_get_name(NULL);\r
- if (name == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_name.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_name_001()
+{
+ int err = MSG_SUCCESS;
+ char* name = NULL;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ name = msg_thread_view_get_name(msg_thread_view_list.msgThreadInfo[0]);
+ if (name == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_name_002()
+{
+ int err = MSG_SUCCESS;
+ char* name = NULL;
+
+ name = msg_thread_view_get_name(NULL);
+ if (name == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_name_001(void);\r
-static void utc_msg_thread_view_get_name_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_name_001,1},\r
- { utc_msg_thread_view_get_name_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_name_001(void);
+static void utc_msg_thread_view_get_name_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_name_001,1},
+ { utc_msg_thread_view_get_name_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_sms_cnt.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_sms_cnt_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_sms_cnt(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_sms_cnt_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_sms_cnt(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_sms_cnt.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_sms_cnt_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_sms_cnt(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_sms_cnt_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_sms_cnt(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_sms_cnt_001(void);\r
-static void utc_msg_thread_view_get_sms_cnt_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_sms_cnt_001,1},\r
- { utc_msg_thread_view_get_sms_cnt_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_sms_cnt_001(void);
+static void utc_msg_thread_view_get_sms_cnt_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_sms_cnt_001,1},
+ { utc_msg_thread_view_get_sms_cnt_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_thread_id.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_thread_id_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_thread_id(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_thread_id_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_thread_id(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_thread_id.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_thread_id_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_thread_id(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_thread_id_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_thread_id(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_thread_id_001(void);\r
-static void utc_msg_thread_view_get_thread_id_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_thread_id_001,1},\r
- { utc_msg_thread_view_get_thread_id_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_thread_id_001(void);
+static void utc_msg_thread_view_get_thread_id_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_thread_id_001,1},
+ { utc_msg_thread_view_get_thread_id_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_time.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_time_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- time_t* time = NULL;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- time = msg_thread_view_get_time(msg_thread_view_list.msgThreadInfo[0]);\r
- if (time == NULL)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_time_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- time_t* time = NULL;\r
-\r
- time = msg_thread_view_get_time(NULL);\r
- if (time == NULL)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_time.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_time_001()
+{
+ int err = MSG_SUCCESS;
+ time_t* time = NULL;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ time = msg_thread_view_get_time(msg_thread_view_list.msgThreadInfo[0]);
+ if (time == NULL)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_time_002()
+{
+ int err = MSG_SUCCESS;
+ time_t* time = NULL;
+
+ time = msg_thread_view_get_time(NULL);
+ if (time == NULL)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_time_001(void);\r
-static void utc_msg_thread_view_get_time_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_time_001,1},\r
- { utc_msg_thread_view_get_time_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_time_001(void);
+static void utc_msg_thread_view_get_time_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_time_001,1},
+ { utc_msg_thread_view_get_time_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_thread_view_get_unread_cnt.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-MSG_THREAD_VIEW_LIST_S msg_thread_view_list;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-\r
- memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));\r
- memset(&sort_rule, 0x00, sizeof(sort_rule));\r
-\r
- msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_release_thread_view_list(&msg_thread_view_list);\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_thread_view_get_unread_cnt_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- if(msg_thread_view_list.nCount == 0)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- err = msg_thread_view_get_unread_cnt(msg_thread_view_list.msgThreadInfo[0]);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_thread_view_get_unread_cnt_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_thread_view_get_unread_cnt(NULL);\r
- if (err < MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_thread_view_get_unread_cnt.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+MSG_THREAD_VIEW_LIST_S msg_thread_view_list;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+
+ memset(&msg_thread_view_list, 0x00, sizeof(msg_thread_view_list));
+ memset(&sort_rule, 0x00, sizeof(sort_rule));
+
+ msg_get_thread_view_list(msgHandle, NULL, &msg_thread_view_list);
+}
+void cleanup(void)
+{
+ msg_release_thread_view_list(&msg_thread_view_list);
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_thread_view_get_unread_cnt_001()
+{
+ int err = MSG_SUCCESS;
+
+ if(msg_thread_view_list.nCount == 0)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ err = msg_thread_view_get_unread_cnt(msg_thread_view_list.msgThreadInfo[0]);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_thread_view_get_unread_cnt_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_thread_view_get_unread_cnt(NULL);
+ if (err < MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_thread_view_get_unread_cnt_001(void);\r
-static void utc_msg_thread_view_get_unread_cnt_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_thread_view_get_unread_cnt_001,1},\r
- { utc_msg_thread_view_get_unread_cnt_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_thread_view_get_unread_cnt_001(void);
+static void utc_msg_thread_view_get_unread_cnt_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_thread_view_get_unread_cnt_001,1},
+ { utc_msg_thread_view_get_unread_cnt_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_update_folder.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_update_folder_001(void);\r
-static void utc_msg_update_folder_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_update_folder_001,1},\r
- { utc_msg_update_folder_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_update_folder_001(void);
+static void utc_msg_update_folder_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_update_folder_001,1},
+ { utc_msg_update_folder_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_update_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_update_message_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_message(msgHandle, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_update_message_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_message(NULL, msgInfo, &sendOpt);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_update_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_update_message_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_message(msgHandle, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_update_message_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_message(NULL, msgInfo, &sendOpt);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_update_message_001(void);\r
-static void utc_msg_update_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_update_message_001,1},\r
- { utc_msg_update_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_update_message_001(void);
+static void utc_msg_update_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_update_message_001,1},
+ { utc_msg_update_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_update_protected_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- msg_set_message_id(msgInfo, 0);\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_update_protected_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_protected_status(msgHandle, 0, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_update_protected_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_protected_status(NULL, 0, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_update_protected_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ msg_set_message_id(msgInfo, 0);
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_update_protected_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_protected_status(msgHandle, 0, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_update_protected_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_protected_status(NULL, 0, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_update_protected_status_001(void);\r
-static void utc_msg_update_protected_status_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_update_protected_status_001,1},\r
- { utc_msg_update_protected_status_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_update_protected_status_001(void);
+static void utc_msg_update_protected_status_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_update_protected_status_001,1},
+ { utc_msg_update_protected_status_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_update_read_status.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-int msgId = 0;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msgInfo = msg_new_message();\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-\r
- msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);\r
-\r
- msgId = msg_add_message(msgHandle, msgInfo, &sendOpt);\r
-\r
- tet_printf("msgId is [%d]", msgId);\r
-\r
- //msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);\r
-\r
- //msgId = msg_folder_view_get_message_id(folder_list.msgCommInfo[0]);\r
-\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_update_read_status_001()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_read_status(msgHandle, msgId, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_update_read_status_002()\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_update_read_status(NULL, msgId, true);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_update_read_status.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+int msgId = 0;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msgInfo = msg_new_message();
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+
+ msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);
+
+ msgId = msg_add_message(msgHandle, msgInfo, &sendOpt);
+
+ tet_printf("msgId is [%d]", msgId);
+
+ //msg_get_folder_view_list(msgHandle, MSG_DRAFT_ID, NULL, &folder_list);
+
+ //msgId = msg_folder_view_get_message_id(folder_list.msgCommInfo[0]);
+
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_update_read_status_001()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_read_status(msgHandle, msgId, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_update_read_status_002()
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_update_read_status(NULL, msgId, true);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiStorage.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_update_read_status_001(void);\r
-static void utc_msg_update_read_status_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_update_read_status_001,1},\r
- { utc_msg_update_read_status_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiStorage.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_update_read_status_001(void);
+static void utc_msg_update_read_status_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_update_read_status_001,1},
+ { utc_msg_update_read_status_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_forward_message.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_mms_forward_message_001(void);\r
-static void utc_msg_mms_forward_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_mms_forward_message_001,1},\r
- { utc_msg_mms_forward_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_mms_forward_message_001(void);
+static void utc_msg_mms_forward_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_mms_forward_message_001,1},
+ { utc_msg_mms_forward_message_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_reject_message.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_mms_reject_message_001(void);\r
-static void utc_msg_mms_reject_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_mms_reject_message_001,1},\r
- { utc_msg_mms_reject_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_mms_reject_message_001(void);
+static void utc_msg_mms_reject_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_mms_reject_message_001,1},
+ { utc_msg_mms_reject_message_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_retrieve_message.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_mms_retrieve_message_001(void);\r
-static void utc_msg_mms_retrieve_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_mms_retrieve_message_001,1},\r
- { utc_msg_mms_retrieve_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_mms_retrieve_message_001(void);
+static void utc_msg_mms_retrieve_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_mms_retrieve_message_001,1},
+ { utc_msg_mms_retrieve_message_002,2},
+ {NULL,0}
+};
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "utc_msg_mms_send_message.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_mms_send_message_001(void);\r
-static void utc_msg_mms_send_message_001(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_mms_send_message_001,1},\r
- { utc_msg_mms_send_message_001,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_mms_send_message_001(void);
+static void utc_msg_mms_send_message_001(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_mms_send_message_001,1},
+ { utc_msg_mms_send_message_001,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_mms_send_read_report.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_mms_send_read_report_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- //err = msg_mms_send_read_report(msgHandle, 0, MSG_READ_REPORT_IS_READ);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_mms_send_read_report_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_mms_send_read_report(NULL, 0, MSG_READ_REPORT_IS_READ);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_mms_send_read_report.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_mms_send_read_report_001()
+{
+ int err = MSG_SUCCESS;
+
+ //err = msg_mms_send_read_report(msgHandle, 0, MSG_READ_REPORT_IS_READ);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_mms_send_read_report_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_mms_send_read_report(NULL, 0, MSG_READ_REPORT_IS_READ);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-static void utc_msg_mms_send_read_report_001(void);\r
-static void utc_msg_mms_send_read_report_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_mms_send_read_report_001,1},\r
- { utc_msg_mms_send_read_report_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+static void utc_msg_mms_send_read_report_001(void);
+static void utc_msg_mms_send_read_report_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_mms_send_read_report_001,1},
+ { utc_msg_mms_send_read_report_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reg_lbs_message_callback.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void lbsCB(MSG_HANDLE_T hMsgHandle, const char* pPushHeader, const char* pPushBody, int pushBodyLen, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reg_lbs_message_callback_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_lbs_message_callback(msgHandle, &lbsCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reg_lbs_message_callback_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_lbs_message_callback(NULL, &lbsCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reg_lbs_message_callback.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void lbsCB(MSG_HANDLE_T hMsgHandle, const char* pPushHeader, const char* pPushBody, int pushBodyLen, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reg_lbs_message_callback_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_lbs_message_callback(msgHandle, &lbsCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reg_lbs_message_callback_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_lbs_message_callback(NULL, &lbsCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void lbsCB(MSG_HANDLE_T hMsgHandle, const char* pPushHeader, const char* pPushBody, int pushBodyLen, void *pUserParam);\r
-static void utc_msg_reg_lbs_message_callback_001(void);\r
-static void utc_msg_reg_lbs_message_callback_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reg_lbs_message_callback_001,1},\r
- { utc_msg_reg_lbs_message_callback_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void lbsCB(MSG_HANDLE_T hMsgHandle, const char* pPushHeader, const char* pPushBody, int pushBodyLen, void *pUserParam);
+static void utc_msg_reg_lbs_message_callback_001(void);
+static void utc_msg_reg_lbs_message_callback_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reg_lbs_message_callback_001,1},
+ { utc_msg_reg_lbs_message_callback_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reg_mms_conf_message_callback.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void incomingMmsConfCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reg_mms_conf_message_callback_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_mms_conf_message_callback(msgHandle, &incomingMmsConfCB, NULL, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reg_mms_conf_message_callback_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_mms_conf_message_callback(NULL, &incomingMmsConfCB, NULL, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reg_mms_conf_message_callback.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void incomingMmsConfCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reg_mms_conf_message_callback_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_mms_conf_message_callback(msgHandle, &incomingMmsConfCB, NULL, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reg_mms_conf_message_callback_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_mms_conf_message_callback(NULL, &incomingMmsConfCB, NULL, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void incomingMmsConfCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam);\r
-static void utc_msg_reg_mms_conf_message_callback_001(void);\r
-static void utc_msg_reg_mms_conf_message_callback_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reg_mms_conf_message_callback_001,1},\r
- { utc_msg_reg_mms_conf_message_callback_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void incomingMmsConfCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam);
+static void utc_msg_reg_mms_conf_message_callback_001(void);
+static void utc_msg_reg_mms_conf_message_callback_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reg_mms_conf_message_callback_001,1},
+ { utc_msg_reg_mms_conf_message_callback_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reg_sent_status_callback.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reg_sent_status_callback_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reg_sent_status_callback_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_sent_status_callback(NULL, &sentStatusCB, (void*)"sent status callback");\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reg_sent_status_callback.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reg_sent_status_callback_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reg_sent_status_callback_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_sent_status_callback(NULL, &sentStatusCB, (void*)"sent status callback");
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_reg_sent_status_callback_001(void);\r
-static void utc_msg_reg_sent_status_callback_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reg_sent_status_callback_001,1},\r
- { utc_msg_reg_sent_status_callback_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_reg_sent_status_callback_001(void);
+static void utc_msg_reg_sent_status_callback_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reg_sent_status_callback_001,1},
+ { utc_msg_reg_sent_status_callback_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reg_sms_message_callback.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void incomingSmsCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reg_sms_message_callback_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_sms_message_callback(msgHandle, &incomingSmsCB, 0, (void*)"sms message callback");\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reg_sms_message_callback_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_sms_message_callback(NULL, &incomingSmsCB, 0, (void*)"sms message callback");\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reg_sms_message_callback.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void incomingSmsCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam)
+{
+ return;
+}
+
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reg_sms_message_callback_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_sms_message_callback(msgHandle, &incomingSmsCB, 0, (void*)"sms message callback");
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reg_sms_message_callback_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_sms_message_callback(NULL, &incomingSmsCB, 0, (void*)"sms message callback");
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void incomingSmsCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam);\r
-static void utc_msg_reg_sms_message_callback_001(void);\r
-static void utc_msg_reg_sms_message_callback_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reg_sms_message_callback_001,1},\r
- { utc_msg_reg_sms_message_callback_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void incomingSmsCB(MSG_HANDLE_T Handle, msg_message_t msg, void *pUserParam);
+static void utc_msg_reg_sms_message_callback_001(void);
+static void utc_msg_reg_sms_message_callback_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reg_sms_message_callback_001,1},
+ { utc_msg_reg_sms_message_callback_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_reg_syncml_message_callback.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void syncMLCB(MSG_HANDLE_T hMsgHandle, MSG_SYNCML_MESSAGE_TYPE_T msgType, const char* pPushHeader, int PushHeaderLen, const char* pPushBody, int PushBodyLen, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_reg_syncml_message_callback_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_syncml_message_callback(msgHandle, &syncMLCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_reg_syncml_message_callback_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_reg_syncml_message_callback(NULL, &syncMLCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_reg_syncml_message_callback.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void syncMLCB(MSG_HANDLE_T hMsgHandle, MSG_SYNCML_MESSAGE_TYPE_T msgType, const char* pPushHeader, int PushHeaderLen, const char* pPushBody, int PushBodyLen, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_reg_syncml_message_callback_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_syncml_message_callback(msgHandle, &syncMLCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_reg_syncml_message_callback_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_reg_syncml_message_callback(NULL, &syncMLCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_reg_syncml_message_callback_001(void);\r
-static void utc_msg_reg_syncml_message_callback_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_reg_syncml_message_callback_001,1},\r
- { utc_msg_reg_syncml_message_callback_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_reg_syncml_message_callback_001(void);
+static void utc_msg_reg_syncml_message_callback_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_reg_syncml_message_callback_001,1},
+ { utc_msg_reg_syncml_message_callback_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include "utc_msg_sms_send.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-\r
-void sentStatusCB(MSG_SENT_STATUS_S *pStatus, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
-\r
-}\r
-void cleanup(void)\r
-{\r
-\r
-}\r
-\r
-void utc_msg_sms_send_001()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_sms_send("01000000000,01000000000", "1234567890", sentStatusCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_sms_send_002()\r
-{\r
- int err = MSG_SUCCESS;\r
-\r
- err = msg_sms_send(NULL, "1234567890", sentStatusCB, NULL);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+#include "utc_msg_sms_send.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+
+void sentStatusCB(MSG_SENT_STATUS_S *pStatus, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+
+}
+void cleanup(void)
+{
+
+}
+
+void utc_msg_sms_send_001()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_sms_send("01000000000,01000000000", "1234567890", sentStatusCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_sms_send_002()
+{
+ int err = MSG_SUCCESS;
+
+ err = msg_sms_send(NULL, "1234567890", sentStatusCB, NULL);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_sms_send_001(void);\r
-static void utc_msg_sms_send_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_sms_send_001,1},\r
- { utc_msg_sms_send_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_sms_send_001(void);
+static void utc_msg_sms_send_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_sms_send_001,1},
+ { utc_msg_sms_send_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_sms_send_message.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_set_message_type(msgInfo, MSG_TYPE_SMS);\r
-\r
- msg_sms_set_message_body(msgInfo, "1234567890", 10);\r
-\r
- msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_sms_send_message_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- MSG_REQUEST_S req;\r
-\r
- memset(&req, 0x00, sizeof(req));\r
-\r
- req.msg = msgInfo;\r
- req.sendOpt = sendOpt;\r
-\r
- err = msg_sms_send_message(msgHandle, &req);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_sms_send_message_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- MSG_REQUEST_S req;\r
-\r
- memset(&req, 0x00, sizeof(req));\r
-\r
- req.msg = msgInfo;\r
- req.sendOpt = sendOpt;\r
-\r
- err = msg_sms_send_message(NULL, &req);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_sms_send_message.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");
+
+ msgInfo = msg_new_message();
+
+ msg_set_message_type(msgInfo, MSG_TYPE_SMS);
+
+ msg_sms_set_message_body(msgInfo, "1234567890", 10);
+
+ msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_sms_send_message_001()
+{
+ int err = MSG_SUCCESS;
+ MSG_REQUEST_S req;
+
+ memset(&req, 0x00, sizeof(req));
+
+ req.msg = msgInfo;
+ req.sendOpt = sendOpt;
+
+ err = msg_sms_send_message(msgHandle, &req);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_sms_send_message_002()
+{
+ int err = MSG_SUCCESS;
+ MSG_REQUEST_S req;
+
+ memset(&req, 0x00, sizeof(req));
+
+ req.msg = msgInfo;
+ req.sendOpt = sendOpt;
+
+ err = msg_sms_send_message(NULL, &req);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_sms_send_message_001(void);\r
-static void utc_msg_sms_send_message_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_sms_send_message_001,1},\r
- { utc_msg_sms_send_message_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_sms_send_message_001(void);
+static void utc_msg_sms_send_message_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_sms_send_message_001,1},
+ { utc_msg_sms_send_message_002,2},
+ {NULL,0}
+};
-/*\r
-*\r
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.\r
-*\r
-* This file is part of msg-service.\r
-*\r
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>\r
-* Sangkoo Kim <sangkoo.kim@samsung.com>\r
-* Seunghwan Lee <sh.cat.lee@samsung.com>\r
-* SoonMin Jung <sm0415.jung@samsung.com>\r
-* Jae-Young Lee <jy4710.lee@samsung.com>\r
-* KeeBum Kim <keebum.kim@samsung.com>\r
-*\r
-* PROPRIETARY/CONFIDENTIAL\r
-*\r
-* This software is the confidential and proprietary information of\r
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not\r
-* disclose such Confidential Information and shall use it only in\r
-* accordance with the terms of the license agreement you entered\r
-* into with SAMSUNG ELECTRONICS.\r
-*\r
-* SAMSUNG make no representations or warranties about the suitability\r
-* of the software, either express or implied, including but not limited\r
-* to the implied warranties of merchantability, fitness for a particular\r
-* purpose, or non-infringement. SAMSUNG shall not be liable for any\r
-* damages suffered by licensee as a result of using, modifying or\r
-* distributing this software or its derivatives.\r
-*\r
-*/
-
-#include "utc_msg_submit_req.h"\r
-\r
-static MSG_HANDLE_T msgHandle = NULL;\r
-msg_message_t msgInfo;\r
-MSG_SENDINGOPT_S sendOpt;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)\r
-{\r
- return;\r
-}\r
-\r
-void startup(void)\r
-{\r
- MSG_ERROR_T err = MSG_SUCCESS;\r
- MSG_SORT_RULE_S sort_rule;\r
-\r
- err = msg_open_msg_handle(&msgHandle);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");\r
-\r
- msgInfo = msg_new_message();\r
-\r
- msg_set_message_type(msgInfo, MSG_TYPE_SMS);\r
-\r
- msg_sms_set_message_body(msgInfo, "1234567890", 10);\r
-\r
- msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);\r
-\r
- memset(&sendOpt, 0x00, sizeof(sendOpt));\r
-\r
- sendOpt.bSetting = false;\r
-}\r
-void cleanup(void)\r
-{\r
- msg_close_msg_handle(&msgHandle);\r
-}\r
-\r
-void utc_msg_submit_req_001()\r
-{\r
- int err = MSG_SUCCESS;\r
- MSG_REQUEST_S req;\r
-\r
- memset(&req, 0x00, sizeof(req));\r
-\r
- req.msg = msgInfo;\r
- req.sendOpt = sendOpt;\r
-\r
- err = msg_submit_req(msgHandle, &req);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_printf("err is [%d]", err);\r
- tet_result(TET_FAIL);\r
- return;\r
- }\r
-\r
- tet_result(TET_PASS);\r
-}\r
-\r
-void utc_msg_submit_req_002()\r
-{\r
- int err = MSG_SUCCESS;\r
- MSG_REQUEST_S req;\r
-\r
- memset(&req, 0x00, sizeof(req));\r
-\r
- req.msg = msgInfo;\r
- req.sendOpt = sendOpt;\r
-\r
- err = msg_submit_req(NULL, &req);\r
- if (err != MSG_SUCCESS)\r
- {\r
- tet_result(TET_PASS);\r
- return;\r
- }\r
-\r
- tet_result(TET_FAIL);\r
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "utc_msg_submit_req.h"
+
+static MSG_HANDLE_T msgHandle = NULL;
+msg_message_t msgInfo;
+MSG_SENDINGOPT_S sendOpt;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam)
+{
+ return;
+}
+
+void startup(void)
+{
+ MSG_ERROR_T err = MSG_SUCCESS;
+ MSG_SORT_RULE_S sort_rule;
+
+ err = msg_open_msg_handle(&msgHandle);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ msg_reg_sent_status_callback(msgHandle, &sentStatusCB, (void*)"sent status callback");
+
+ msgInfo = msg_new_message();
+
+ msg_set_message_type(msgInfo, MSG_TYPE_SMS);
+
+ msg_sms_set_message_body(msgInfo, "1234567890", 10);
+
+ msg_add_address(msgInfo, "01000000000", MSG_RECIPIENTS_TYPE_TO);
+
+ memset(&sendOpt, 0x00, sizeof(sendOpt));
+
+ sendOpt.bSetting = false;
+}
+void cleanup(void)
+{
+ msg_close_msg_handle(&msgHandle);
+}
+
+void utc_msg_submit_req_001()
+{
+ int err = MSG_SUCCESS;
+ MSG_REQUEST_S req;
+
+ memset(&req, 0x00, sizeof(req));
+
+ req.msg = msgInfo;
+ req.sendOpt = sendOpt;
+
+ err = msg_submit_req(msgHandle, &req);
+ if (err != MSG_SUCCESS)
+ {
+ tet_printf("err is [%d]", err);
+ tet_result(TET_FAIL);
+ return;
+ }
+
+ tet_result(TET_PASS);
+}
+
+void utc_msg_submit_req_002()
+{
+ int err = MSG_SUCCESS;
+ MSG_REQUEST_S req;
+
+ memset(&req, 0x00, sizeof(req));
+
+ req.msg = msgInfo;
+ req.sendOpt = sendOpt;
+
+ err = msg_submit_req(NULL, &req);
+ if (err != MSG_SUCCESS)
+ {
+ tet_result(TET_PASS);
+ return;
+ }
+
+ tet_result(TET_FAIL);
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-#include <tet_api.h>\r
-\r
-#include "MapiMessage.h"\r
-#include "MapiTransport.h"\r
-\r
-static void startup(), cleanup();\r
-void (*tet_startup) () = startup;\r
-void (*tet_cleanup) () = cleanup;\r
-\r
-void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);\r
-static void utc_msg_submit_req_001(void);\r
-static void utc_msg_submit_req_002(void);\r
-\r
-\r
-\r
-struct tet_testlist tet_testlist[] =\r
-{\r
- { utc_msg_submit_req_001,1},\r
- { utc_msg_submit_req_002,2},\r
- {NULL,0}\r
-};\r
+#include <tet_api.h>
+
+#include "MapiMessage.h"
+#include "MapiTransport.h"
+
+static void startup(), cleanup();
+void (*tet_startup) () = startup;
+void (*tet_cleanup) () = cleanup;
+
+void sentStatusCB(MSG_HANDLE_T Handle, MSG_SENT_STATUS_S *pStatus, void *pUserParam);
+static void utc_msg_submit_req_001(void);
+static void utc_msg_submit_req_002(void);
+
+
+
+struct tet_testlist tet_testlist[] =
+{
+ { utc_msg_submit_req_001,1},
+ { utc_msg_submit_req_002,2},
+ {NULL,0}
+};
* Git : public/pkgs/m/msg-service
* Tag : msg-service_0.8.7-5
- -- Jaeyun Jeong <jyjeong@samsung.com> Fri, 16 Mar 2012 17:54:21 +0900
-
-msg-service (0.8.7-4) unstable; urgency=low
-
- * Modify plugin configuration file location for FOTA.
- * Remove the db query which create sample data from msg-service.spec.
- * Git : public/pkgs/m/msg-service
- * Tag : msg-service_0.8.7-4
-
- -- Jaeyun Jeong <jyjeong@samsung.com> Wed, 14 Mar 2012 20:11:41 +0900
-
-msg-service (0.8.7-3) unstable; urgency=low
-
- * Fix TC execute failure.
- * Fix S1-1419(Removed mms raw file issue after rebooting)
- * Git : public/pkgs/m/msg-service
- * Tag : msg-service_0.8.7-3
-
- -- Jaeyun Jeong <jyjeong@samsung.com> Mon, 27 Feb 2012 21:19:29 +0900
-
-msg-service (0.8.7-2) unstable; urgency=low
-
- * Remove white spaces.
- * Global lists for mms are removed
- * Changed MsgFW's interface are applied for TC
- * Git : public/pkgs/m/msg-service
- * Tag : msg-service_0.8.7-2
-
- -- Soonmin Jung <sm0415.jung@samsung.com> Tue, 21 Feb 2012 15:30:26 +0900
-
-msg-service (0.8.7-1) unstable; urgency=low
-
- * Code for removing MMS temp folder applied.
- * Bug fix request from java mms.
- * Fix bug related with Nabi S1-1253.
- * Git : public/pkgs/m/msg-service
- * Tag : msg-service_0.8.7-1
-
- -- KeeBum Kim <keebum.kim@samsung.com> Fri, 17 Feb 2012 16:11:38 +0900
-
-msg-service (0.8.7-0) unstable; urgency=low
-
- * apply file wrapper
- * Change search API to support Bada API set.
- * Apply keep copy option to SMS.
- * Git : public/pkgs/m/msg-service
- * Tag : msg-service_0.8.7-0
-
- -- KeeBum Kim <keebum.kim@samsung.com> Thu, 09 Feb 2012 18:04:24 +0900
-
+ -- Jaeyun Jeong <jyjeong@samsung.com> Fri, 16 Mar 2012 17:54:21 +0900
\ No newline at end of file
Section: libs
Priority: extra
Maintainer: Jaeyun Jeong <jyjeong@samsung.com>, Sangkoo Kim <sangkoo.kim@samsung.com>, Seunghwan Lee <sh.cat.lee@samsung.com>, SoonMin Jung <sm0415.jung@samsung.com>, Jae-Young Lee <jy4710.lee@samsung.com>, KeeBum Kim <keebum.kim@samsung.com>
-Build-Depends: debhelper (>= 5), libnetwork-dev, libslp-setting-dev, libglib2.0-dev, libslp-tapi-dev, libslp-db-util-dev, libwbxml2-dev, libxml2-dev, libmm-player-dev, dlog-dev, libcontacts-service-dev, drm-service-dev, libslp-pm-dev, libmm-fileinfo-dev, libdevman-haptic-dev, libalarm-dev, capi-appfw-application-dev, libmm-session-sdk-dev, libmm-session-dev, libcurl-dev, libnotification-dev, libsecurity-server-client-dev, libmm-utility-dev, libsvi-dev, libmedia-thumbnail-dev
+Build-Depends: debhelper (>= 5), libnetwork-dev, libslp-setting-dev, libglib2.0-dev, libslp-tapi-dev, libslp-db-util-dev, libwbxml2-dev, libxml2-dev, libmm-player-dev, dlog-dev, libcontacts-service-dev, drm-client-dev, drm-trusted-dev, libslp-pm-dev, libmm-fileinfo-dev, libdevman-haptic-dev, libalarm-dev, capi-appfw-application-dev, libmm-session-sdk-dev, libmm-session-dev, libcurl-dev, libnotification-dev, libsecurity-server-client-dev, libmm-utility-dev, libsvi-dev, libmedia-thumbnail-dev
Standards-Version: 0.1.0
Homepage: N/A
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
// for sl message browser launch
#include <app_service.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
INCLUDE FILES
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgPluginConfig.h"
#include "MsgException.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <dlfcn.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgPluginManager.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgUtilStorage.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <queue>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCmdHandler.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <time.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_CMD_TYPES_H
#define MSG_CMD_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_CPP_TYPES_H__
#define __MSG_CPP_TYPES_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_INTERNAL_TYPES_H
#define MSG_INTERNAL_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_MMS_TYPES_H
#define MSG_MMS_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* @file MsgPluginInterface.h
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MsgThdSafeQ_H__
#define __MsgThdSafeQ_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_SETTING_TYPES_H
#define MSG_SETTING_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_STORAGE_TYPES_H
#define MSG_STORAGE_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_THREAD_H__
#define __MSG_THREAD_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_TRANSPORT_TYPES_H
#define MSG_TRANSPORT_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_TYPES_H
#define MSG_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_CMD_HANDLER_H
#define MSG_CMD_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_DELIVER_HANDLER_H
#define MSG_DELIVER_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_PLUGIN_CONFIG_H
#define MSG_PLUGIN_CONFIG_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_PLUGIN_MANAGER_H
#define MSG_PLUGIN_MANAGER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_SETTING_HANDLER_H
#define MSG_SETTING_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_STORAGE_HANDLER_H
#define MSG_STORAGE_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_SUBMIT_HANDLER_H
#define MSG_SUBMIT_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_TRANSACTION_MANAGER_H
#define MSG_TRANSACTION_MANAGER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* @file MapiControl.h
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* @file MapiMessage.h
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MAPI_SETTING_H
#define MAPI_SETTING_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* @file MapiStorage.h
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* @file MapiTransport.h
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_HELPER_H
#define MSG_HELPER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_HANDLE_H
#define MSG_HANDLE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_PROXY_LISTENER_H__
#define __MSG_PROXY_LISTENER_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_CONTACT_H
#define MSG_CONTACT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_DEBUG_H__
#define __MSG_DEBUG_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_DRM_WRAPPER_H_
#define __MSG_DRM_WRAPPER_H_
extern "C" {
#endif
-typedef void* MSG_DRMHANDLE;
-
-typedef enum {
- MMS_DRM_RIGHT_PLAY, //video
- MSG_DRM_RIGHT_DISPLAY, //image
- MSG_DRM_RIGHT_EXECUTE, //game
- MSG_DRM_RIGHT_PRINT,
- MSG_DRM_RIGHT_EXPORT,
-} MSG_DRM_RIGHT_TYPE;
-
typedef enum {
MSG_MODE_FILE,
MSG_MODE_STREAM
bool MsgDrmRegisterFile(MSG_DRM_OPENMODE eMode, char *pBuffer, int nSize);
bool MsgDrmUnregisterFile(char *szFilename);
-
bool MsgDrmIsDrmFile(const char *szFilePath);
-
bool MsgDrmGetMimeTypeEx(const char *szFileName, char *szMimeType, int nMimeTypeLen);
bool MsgDrmGetContentID(const char *szFileName, char *szContentID, int nContentIDLen);
bool MsgDrmGetDrmType(const char *szFileName, MSG_DRM_TYPE *eDRMType);
-
-
-bool MsgDrmOpen(MSG_DRM_OPENMODE eMode, const char *pBuffer, int nSize, MSG_DRMHANDLE *pHandle);
-bool MsgDrmClose(MSG_DRMHANDLE);
-bool MsgDrmGetMimeType(MSG_DRMHANDLE pHandle, char *szMimeType, int nMimeTypeLen);
-int MsgDrmGetStreamSize(MSG_DRMHANDLE pHandle);
-bool MsgDrmGetStream(MSG_DRMHANDLE pHandle, int nStreamSize, unsigned char *pStream);
-
-bool MsgDrmIsAvailable(MSG_DRMHANDLE pHandle);
-bool MsgDrmConsumeRights(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType, long nMiliSecs);
-bool MsgDrmOnStart(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType);
-bool MsgDrmOnPause(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType);
-bool MsgDrmOnResume(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType);
-bool MsgDrmOnStop(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType);
-
-
bool MsgDrmConvertDmtoDcfType(char *inputFile, char *outputFile);
-bool MsgDrmIsConvertedFL(char *szFilePath);
+
#ifdef __cplusplus
}
#endif
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_EXCEPTION_H
#define MSG_EXCEPTION_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_GCONF_WRAPPER_H
#define MSG_GCONF_WRAPPER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __IPCSocket_H__
#define __IPCSocket_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_MEMORY_H__
#define __MSG_MEMORY_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_MMS_MESSAGE_H
#define MSG_MMS_MESSAGE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef __MSG_MUTEX_H__
#define __MSG_MUTEX_H__
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_QUICKPANEL_WRAPPER_H
#define MSG_QUICKPANEL_WRAPPER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_SOUND_PLAYER_H
#define MSG_SOUND_PLAYER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_SQLITE_WRAPPER_H
#define MSG_SQLITE_WRAPPER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_UTIL_FILE_H
#define MSG_UTIL_FILE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_UTIL_FUNCTION_H
#define MSG_UTIL_FUNCTION_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_UTIL_STORAGE_H
#define MSG_UTIL_STORAGE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgTypes.h"
#include "MsgMmsTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <pthread.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <glib.h>
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(mms_plugin_pkgs REQUIRED glib-2.0 network libxml-2.0 drm-service libcurl mm-fileinfo mmutil-jpeg vconf dlog media-thumbnail)
+pkg_check_modules(mms_plugin_pkgs REQUIRED glib-2.0 network libxml-2.0 drm-client libcurl mm-fileinfo mmutil-jpeg vconf dlog media-thumbnail)
FOREACH(flag ${mms_plugin_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MmsPluginWmLngPack.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MmsPluginWmLngPack.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MmsPluginWmLngPack.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MmsPluginWmLngPack.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginAvCodec.h"
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginCodec.h"
#include "MsgMmsTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginConnManWrapper.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdlib.h>
#include <ctype.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include "MmsPluginMIME.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include<stdio.h>
#include <string.h>
#ifdef __SUPPORT_DRM__
#include "MmsPluginDrm.h"
#include "MsgDrmWrapper.h"
-#include "drm-service.h"
#endif
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <string.h>
+#include <drm_client_types.h>
+#include <drm_client.h>
#include "MmsPluginDrm.h"
#include "MmsPluginCodec.h"
#include "MsgMmsTypes.h"
#include "MsgDrmWrapper.h"
#include "MsgDebug.h"
-#include "drm-service.h"
+
#ifdef __SUPPORT_DRM__
return false;
}
- char szMimeType[DRM_MAX_TYPE_LEN + 1];
- char szContentID[DRM_MAX_CID_LEN + 1];
+ char szMimeType[DRM_MAX_LEN_MIME + 1];
+ char szContentID[DRM_MAX_LEN_CID + 1];
MSG_DRM_TYPE drmType = MSG_DRM_NONE;
MsgDrmGetDrmType(szFilePath, &drmType);
- MsgDrmGetMimeTypeEx(szFilePath, szMimeType, DRM_MAX_TYPE_LEN + 1);
- MsgDrmGetContentID(szFilePath, szContentID, DRM_MAX_CID_LEN + 1);
+ MsgDrmGetMimeTypeEx(szFilePath, szMimeType, sizeof(szMimeType));
+ MsgDrmGetContentID(szFilePath, szContentID, sizeof(szContentID));
MSG_DEBUG("drmType: %d", drmType);
switch (drmType) {
pMsgType->drmInfo.contentType = (MsgContentType)_MsgGetCode(MSG_TYPE, szMimeType);
- drm_dcf_header_t dcfHdrInfo;
- drm_svc_get_dcf_header_info(szFilePath, &dcfHdrInfo);
+ drm_content_info_s dcfHdrInfo;
+ bzero(&dcfHdrInfo, sizeof(drm_content_info_s));
+ drm_get_content_info(szFilePath, &dcfHdrInfo);
+
+ drm_file_info_s fileInfo;
+ bzero(&fileInfo, sizeof(drm_file_info_s));
+ drm_get_file_info(szFilePath,&fileInfo);
- if (dcfHdrInfo.version == DRM_OMA_DRMV1_RIGHTS) {
- pMsgType->drmInfo.szContentName = MsgRemoveQuoteFromFilename(dcfHdrInfo.headerUnion.headerV1.contentName);
- pMsgType->drmInfo.szContentDescription = MsgStrCopy(dcfHdrInfo.headerUnion.headerV1.contentDescription);
+ if (fileInfo.oma_info.version == DRM_OMA_DRMV1_RIGHTS) {
+ pMsgType->drmInfo.szContentName = MsgRemoveQuoteFromFilename(dcfHdrInfo.title);
+ pMsgType->drmInfo.szContentDescription = MsgStrCopy(dcfHdrInfo.description);
}
break;
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <time.h>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include<stdio.h>
#include<stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginHttp.h"
#include "MmsPluginUserAgent.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdlib.h>
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <string>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <glib.h>
#include <pthread.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginSMILValidate.h"
#include "MsgDebug.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include<stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdlib.h>
#include <sys/stat.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include "MmsPluginEventHandler.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <glib.h>
#include <curl/curl.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_CODEC_H
#define MMS_PLUGIN_CODEC_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMSPLUGINCONNMANWRAPPER_H
#define MMSPLUGINCONNMANWRAPPER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#define MMS_INVALID_MSG_ID -1
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_DEBUG_H
#define MMS_PLUGIN_DEBUG_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgMmsTypes.h"
#include "MmsPluginMessage.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_EVENT_HANDLER_H
#define MMS_PLUGIN_EVENT_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMSPLUGINHTTP_H
#define MMSPLUGINHTTP_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_INTERNAL_H
#define MMS_PLUGIN_INTERNAL_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef _UTY_MIME_H_
#define _UTY_MIME_H_
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_MAIN_H
#define MMS_PLUGIN_MAIN_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_MESSAGE_H
#define MMS_PLUGIN_MESSAGE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_SMIL_VALIDATE_H
#define MMS_PLUGIN_SMIL_VALIDATE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MmsPluginMessage.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_STORAGE_H
#define MMS_PLUGIN_STORAGE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMS_PLUGIN_TRANSPORT_H
#define MMS_PLUGIN_TRANSPORT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMSTPDUTYPES_H
#define MMSTPDUTYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MMSPLUGINUSERAGENT_H
#define MMSPLUGINUSERAGENT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef _MMS_PLUGIN_WM_LNG_PACK_H_
#define _MMS_PLUGIN_WM_LNG_PACK_H_
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(sms_plugin_pkgs REQUIRED glib-2.0 tapi libxml-2.0 libwbxml2 drm-service dlog vconf)
+pkg_check_modules(sms_plugin_pkgs REQUIRED glib-2.0 tapi libxml-2.0 libwbxml2 drm-client dlog vconf)
FOREACH(flag ${sms_plugin_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <glib.h>
#include <pthread.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <time.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include<time.h>
#include<stdio.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgException.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <glib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgCppTypes.h"
#include "SmsPluginWapPushHandler.h"
-#include "drm-service.h"
+#include <drm_client.h>
static unsigned short wapPushPortList [] = {0x0b84, 0x0b85, 0x23F0, 0x23F1, 0x23F2, 0x23F3, 0xC34F};
void SmsPluginWapPushHandler::handleDrmVer1(char* pPushBody, int PushBodyLen)
{
- DRM_RESULT drmRt = DRM_RESULT_SUCCESS;
+ int drmRt = DRM_RETURN_SUCCESS;
char* cid = NULL;
AutoPtr<char> buf(&cid);
MSG_DEBUG("Received DRM RIGHTS OBJECT Type WAP Push Message.");
+ drm_request_type_e request_type = DRM_REQUEST_TYPE_REGISTER_LICENSE;
+ drm_register_lic_info_s lic_req_info;
+ drm_register_lic_resp_s lic_resp_info;
- drmRt = drm_svc_register_ro( (unsigned char*)pPushBody, (unsigned int)PushBodyLen,
- DRM_OMA_DRMV1_RIGHTS, (unsigned char**)&cid,
- NULL,
- DRM_ROAP_INIT_FROM_WAPPUSH,
- NULL);
+ bzero(&lic_req_info, sizeof(drm_register_lic_info_s));
+ bzero(&lic_resp_info, sizeof(drm_register_lic_resp_s));
+ bzero(lic_req_info.lic_data, sizeof(lic_req_info.lic_data));
- if (drmRt == DRM_RESULT_SUCCESS) {
+ memcpy(lic_req_info.lic_data, pPushBody, PushBodyLen);
+
+ lic_req_info.lic_version = DRM_OMA_DRMV1_RIGHTS;
+ lic_req_info.roap_init_src = DRM_ROAP_INIT_FROM_WAPPUSH;
+ lic_req_info.operation_callback.callback = NULL;
+
+ drmRt = drm_process_request(request_type, &lic_req_info, &lic_resp_info);
+ if (drmRt == DRM_RETURN_SUCCESS) {
MSG_DEBUG("DRM successfully registed to drm-service.");
- return;
} else {
MSG_DEBUG("Fail to regist DRM to drm-service.");
- return;
}
+
+ return;
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_CALLBACK_H
#define SMS_PLUGIN_CALLBACK_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_CBMSG_HANDLER_H
#define SMS_PLUGIN_CBMSG_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_CONCAT_HANDLER_H
#define SMS_PLUGIN_CONCAT_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_EVENT_HANDLER_H
#define SMS_PLUGIN_EVENT_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_MAIN_H
#define SMS_PLUGIN_MAIN_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_PARAMCODEC_H
#define SMS_PLUGIN_PARAMCODEC_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_SAT_HANDLER_H
#define SMS_PLUGIN_SAT_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_SETTING_H
#define SMS_PLUGIN_SETTING_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_SIMMSG_H
#define SMS_PLUGIN_SIMMSG_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_STORAGE_H
#define SMS_PLUGIN_STORAGE_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_TEXT_CONVERT_H
#define SMS_PLUGIN_TEXT_CONVERT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_TPDU_CODEC_H
#define SMS_PLUGIN_TPDU_CODEC_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_TRANSPORT_H
#define SMS_PLUGIN_TRANSPORT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_TYPES_H
#define SMS_PLUGIN_TYPES_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_UA_MANAGER_H
#define SMS_PLUGIN_UA_MANAGER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_UDCODEC_H
#define SMS_PLUGIN_UDCODEC_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef SMS_PLUGIN_WAPPUSH_HANDLER_H
#define SMS_PLUGIN_WAPPUSH_HANDLER_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
#include <stdlib.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgUtilFunction.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgUtilFile.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <time.h>
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <errno.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#ifndef MSG_TEST_CONVERT_H
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/*==================================================================================================
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(utils_pkgs REQUIRED glib-2.0 vconf db-util contacts-service dlog pmapi mm-session alarm-service notification drm-service)
+pkg_check_modules(utils_pkgs REQUIRED glib-2.0 vconf db-util contacts-service dlog pmapi mm-session alarm-service notification drm-client drm-trusted)
FOREACH(flag ${utils_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
extern "C"
{
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include <sys/syscall.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgDrmWrapper.h"
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
-#include "drm-service.h"
-
-
-typedef struct {
- DRM_RIGHTS_CONSUME_HANDLE hRightsConsume;
- MSG_DRM_TYPE eDRMType; //to have a drm type
- char *szOpenedDRMFileName;
-} MSG_OPENEDDRM_INFO_T;
-
+#include <drm_client_types.h>
+#include <drm_client.h>
+#include <drm_trusted_client_types.h>
+#include <drm_trusted_client.h>
#define MSG_MAX_DRM_FILE_PATH MSG_FILEPATH_LEN_MAX
-
bool MsgDrmRegisterFile(MSG_DRM_OPENMODE eMode, char *pBuffer, int nSize)
{
if (eMode == MSG_MODE_STREAM) {
MSG_DEBUG("buffer = %s, nSize = %d", pBuffer, nSize);
- if (!drm_svc_is_drm_file(pBuffer)) { // Check whether DRM file or not
+ drm_bool_type_e isDrm;
+ int eDRMResult = drm_is_drm_file(pBuffer, &isDrm);
+
+ if (eDRMResult != DRM_RETURN_SUCCESS || isDrm != DRM_TRUE) {
MSG_DEBUG("file is not drm file");
return false;
}
- DRM_RESULT eDRMResult = drm_svc_register_file(pBuffer); // Register a DCF file
- if (DRM_RESULT_SUCCESS != eDRMResult) {
- MSG_DEBUG("drm_svc_register_file is failed : %d", eDRMResult);
+ drm_request_type_e request_type = DRM_REQUEST_TYPE_REGISTER_FILE;
+
+ eDRMResult = drm_process_request(request_type, pBuffer, NULL);
+ if (DRM_RETURN_SUCCESS != eDRMResult) {
+ MSG_DEBUG("drm_process_request is failed : %d", eDRMResult);
return false;
}
-
+ MSG_END();
return true;
}
MSG_DEBUG("szFilename = %s", szFilename);
- DRM_RESULT eDRMResult = drm_svc_unregister_file(szFilename, DRM_TRUE); // Unregister a DCF file
- if (DRM_RESULT_SUCCESS != eDRMResult) {
- MSG_DEBUG("drm_svc_unregister_file : %d", eDRMResult);
+ drm_request_type_e request_type = DRM_REQUEST_TYPE_UNREGISTER_FILE;
+
+ int eDRMResult = drm_process_request(request_type, szFilename, NULL); // Unregister a DCF file
+ if (DRM_RETURN_SUCCESS != eDRMResult) {
+ MSG_DEBUG("drm_process_request : %d", eDRMResult);
return false;
}
bool MsgDrmIsDrmFile(const char *szFilePath)
{
- if (drm_svc_is_drm_file(szFilePath) == DRM_FALSE) {
+ drm_bool_type_e isDrm;
+ int eDRMResult = drm_is_drm_file(szFilePath, &isDrm);
+
+ if (eDRMResult != DRM_RETURN_SUCCESS || isDrm != DRM_TRUE) {
MSG_DEBUG("file is not drm file");
return false;
}
if (strstr(inputFile, ".dm")) {
MSG_DEBUG("Current File extension is .dm %s", inputFile);
- DRM_RESULT ret;
- DRM_CONVERT_HANDLE hConvert = NULL;
- unsigned long written;
+ int ret;
FILE *fp = MsgOpenFile(inputFile, "rb");//Check fp
return false;
}
- char *buffer = (char *)malloc(bufLen);
+ unsigned char *buffer = (unsigned char*)malloc(bufLen);
int readed_size = 0;
int pathLen = strlen(inputFile);
return false;
}
- ret = drm_svc_open_convert(outputFile, DRM_TRUE, &hConvert);//Check return value
- if (ret != DRM_RESULT_SUCCESS) {
+ DRM_TRUSTED_CONVERT_HANDLE hConvert = NULL;
+ drm_trusted_opn_conv_info_s trusted_open_conv_input;
+ bzero(&trusted_open_conv_input, sizeof(drm_trusted_opn_conv_info_s));
+
+ strncpy(trusted_open_conv_input.filePath, outputFile, DRM_TRUSTED_MAX_FILEPATH_LEN);
+ trusted_open_conv_input.install_RO = DRM_TRUSTED_TRUE;
+
+ ret = drm_trusted_open_convert(&trusted_open_conv_input, &hConvert);
+ if (ret != DRM_RETURN_SUCCESS) {
free(buffer);
MsgCloseFile(fp);
- MSG_DEBUG("drm_svc_open_convert() return = failed (%d)", ret);
+ MSG_DEBUG("drm_trusted_open_convert() return = failed (%d)", ret);
strncpy(outputFile, inputFile, MSG_MAX_DRM_FILE_PATH);
return false;
}
- /*We can call drm_svc_write_convert in loop if file size is large*/
- ret = drm_svc_write_convert(hConvert, (unsigned char *)buffer, bufLen, &written);//check for error
- if (ret != DRM_RESULT_SUCCESS) {
+ drm_trusted_write_conv_info_s trusted_write_conv_input;
+ drm_trusted_write_conv_resp_s trusted_write_conv_output;
+
+ bzero(&trusted_write_conv_input, sizeof(drm_trusted_write_conv_info_s));
+ bzero(&trusted_write_conv_output, sizeof(drm_trusted_write_conv_resp_s));
+
+ trusted_write_conv_input.data = buffer;
+ trusted_write_conv_input.data_len = bufLen;
+
+ /*We can call drm_trusted_write_convert in loop if file size is large*/
+ ret = drm_trusted_write_convert(&trusted_write_conv_input, &trusted_write_conv_output, hConvert);
+ if (ret != DRM_RETURN_SUCCESS) {
free(buffer);
MsgCloseFile(fp);
- MSG_DEBUG("drm_svc_write_convert() return = failed (%d)", ret);
+ MSG_DEBUG("drm_trusted_write_convert() return = failed (%d)", ret);
strncpy(outputFile, inputFile, MSG_MAX_DRM_FILE_PATH);
return false;
}
- ret = drm_svc_close_convert(hConvert);//check for error
- if (ret != DRM_RESULT_SUCCESS) {
+ ret = drm_trusted_close_convert(&hConvert);
+ if (ret != DRM_RETURN_SUCCESS) {
free(buffer);
MsgCloseFile(fp);
- MSG_DEBUG("drm_svc_close_convert() return = failed (%d)", ret);
+ MSG_DEBUG("drm_trusted_close_convert() return = failed (%d)", ret);
strncpy(outputFile, inputFile, MSG_MAX_DRM_FILE_PATH);
return false;
}
return true;
}
-bool MsgDrmIsConvertedFL(char *szFilePath)
-{
- int ret = 0;
-
- if (szFilePath == NULL) {
- MSG_DEBUG("szFilePath is NULL.");
- return false;
- }
-
- MSG_DEBUG("szFilePath = [%s]", szFilePath);
-
- ret = drm_svc_is_converted_fl(szFilePath);
-
- if (ret != DRM_RESULT_SUCCESS) {
- MSG_DEBUG("Drm2IsConvertedEmbeddedFile returns false ret = %d", ret);
- return false;
- }
-
- return true;
-}
-
-int MsgDrmGetStreamSize(MSG_DRMHANDLE pHandle)
-{ // Get DRM buffer size
- MSG_DEBUG("start");
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return 0;
- }
-
- drm_file_attribute_t tDRMAttribute = {0,};
- DRM_RESULT eDRMResult = drm_svc_get_fileattribute(pOpenDRMInfo->szOpenedDRMFileName, &tDRMAttribute); // Get attribute of DRM File
- MSG_DEBUG("drm_svc_get_fileattribute : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- return tDRMAttribute.size;
- }
- MSG_DEBUG("end : Fail");
- return 0;
-}
-
-bool MsgDrmGetStream(MSG_DRMHANDLE pHandle, int nStreamSize, unsigned char *pStream)
-{ // Get DRM buffer
- MSG_DEBUG("start %d", nStreamSize);
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- DRM_RESULT eDRMResult = DRM_RESULT_UNKNOWN_ERROR;
- DRM_FILE_HANDLE hFileHandle = NULL;
- eDRMResult = drm_svc_open_file(pOpenDRMInfo->szOpenedDRMFileName, DRM_PERMISSION_ANY, &hFileHandle); // Opens a DRM file
- MSG_DEBUG("drm_svc_open_file(%s) : %d", pOpenDRMInfo->szOpenedDRMFileName, eDRMResult);
-
- unsigned int nRealReadSize = 0;
- if (hFileHandle) {
- eDRMResult = drm_svc_read_file(hFileHandle, pStream, nStreamSize, &nRealReadSize); // Read the Decrypted Data from File Handle
- drm_svc_close_file(hFileHandle); // Close a DRM File which was opened before
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("end : Success");
- return true;
- }
- }
- MSG_DEBUG("\n end : Fail \n=========================================\n");
- return false;
-}
-
-bool MsgDrmOpen(MSG_DRM_OPENMODE eMode, const char *pBuffer, int nSize, MSG_DRMHANDLE *pHandle)
-{
- MSG_DEBUG("start (%d, %s, %d)", eMode, pBuffer, nSize);
- if (eMode == MSG_MODE_STREAM) {
- MSG_DEBUG("end : Fail(eMode == MSG_MODE_STREAM)");
- return false;
- }
-
- char szFullFilePath[MSG_MAX_DRM_FILE_PATH] = {0,};
- char szFinalFullFilePath[MSG_MAX_DRM_FILE_PATH] = {0,};
- memset(szFullFilePath, 0x00, sizeof(char) * MSG_MAX_DRM_FILE_PATH);
- if (pBuffer)
- strncpy(szFullFilePath, pBuffer, strlen(pBuffer));
-
- MsgDrmConvertDmtoDcfType(szFullFilePath, szFinalFullFilePath);
-
- if (!drm_svc_is_drm_file(szFinalFullFilePath)) { // Check whether DRM file or not
- MSG_DEBUG("return eDRM_NOT_DRM_FILE");
- *pHandle = NULL;
- return false;
- }
-
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)malloc(sizeof(MSG_OPENEDDRM_INFO_T));
- if (pOpenDRMInfo) {
- memset(pOpenDRMInfo, 0x0, sizeof(MSG_OPENEDDRM_INFO_T));
- pOpenDRMInfo->szOpenedDRMFileName = (char *)malloc(sizeof(char) * (strlen(szFinalFullFilePath) + 1));
- if (pOpenDRMInfo->szOpenedDRMFileName) {
- memset(pOpenDRMInfo->szOpenedDRMFileName, 0x0, sizeof(char) * (strlen(szFinalFullFilePath) + 1));
- strncpy(pOpenDRMInfo->szOpenedDRMFileName, szFinalFullFilePath, strlen(szFinalFullFilePath));
- pOpenDRMInfo->eDRMType = MSG_DRM_NONE;
- *pHandle = (MSG_DRMHANDLE)pOpenDRMInfo;
- MSG_DEBUG("end : Success");
-
- return true;
- }
- free(pOpenDRMInfo);
- }
- MSG_DEBUG("end : Fail");
- return false;
-}
-
-bool MsgDrmClose(MSG_DRMHANDLE pHandle)
-{ // Close DRM
- MSG_DEBUG("start");
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
- //free allocated memory from MsgDrmOpen
- if (pOpenDRMInfo->szOpenedDRMFileName) {
- free(pOpenDRMInfo->szOpenedDRMFileName);
- pOpenDRMInfo->szOpenedDRMFileName = NULL;
- }
-
- free(pOpenDRMInfo);
-
- MSG_DEBUG("end : Success");
- return true;
-}
-
-bool MsgDrmGetMimeType(MSG_DRMHANDLE pHandle, char *szMimeType, int nMimeTypeLen)
-{
- MSG_DEBUG("start");
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- drm_content_info_t tdcfContentinfo;
- memset(&tdcfContentinfo, 0x00, sizeof(drm_content_info_t));
- DRM_RESULT eDRMResult = drm_svc_get_content_info(pOpenDRMInfo->szOpenedDRMFileName, &tdcfContentinfo); // Get attribute of DRM File
- MSG_DEBUG("drm_svc_get_content_info : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("end Success (%s)", tdcfContentinfo.contentType);
- snprintf(szMimeType, nMimeTypeLen, "%s", tdcfContentinfo.contentType);
- return true;
- }
- MSG_DEBUG("end : Fail");
- return false;
-}
-
bool MsgDrmGetDrmType(const char *szFileName, MSG_DRM_TYPE *eDRMType)
{
if (szFileName == NULL || eDRMType == NULL) {
return false;
}
- if (drm_svc_get_drm_type(szFileName) == DRM_FILE_TYPE_OMA) {
- drm_dcf_info_t drmInfo;
- DRM_RESULT eDRMResult = drm_svc_get_dcf_file_info(szFileName, &drmInfo); // Get information of DRM contents
- if (DRM_RESULT_SUCCESS != eDRMResult) {
- MSG_DEBUG("drm_svc_get_dcf_file_info is Fail eDRMResult = %d", eDRMResult);
+ drm_file_type_e file_type;
+ int result = drm_get_file_type(szFileName, &file_type);
+ if (result != DRM_RETURN_SUCCESS) {
+ MSG_DEBUG("drm_get_file_type is failed %d", result);
+ return false;
+ }
+
+ if (file_type == DRM_TYPE_OMA_V1) {
+ drm_file_info_s drmInfo;
+ bzero(&drmInfo, sizeof(drm_file_info_s));
+ int eDRMResult = drm_get_file_info(szFileName, &drmInfo);
+ if (DRM_RETURN_SUCCESS != eDRMResult) {
+ MSG_DEBUG("drm_get_file_info is Fail eDRMResult = %d", eDRMResult);
return false;
}
// Convert DRM_METHOD into MSG_DRM_TYPE
- switch (drmInfo.method) {
- case DRM_METHOD_FL:
+ switch (drmInfo.oma_info.method) {
+ case DRM_METHOD_TYPE_FORWARD_LOCK:
*eDRMType = MSG_DRM_FORWARD_LOCK;
break;
- case DRM_METHOD_CD:
+ case DRM_METHOD_TYPE_COMBINED_DELIVERY:
*eDRMType = MSG_DRM_COMBINED_DELIVERY;
break;
- case DRM_METHOD_SSD:
- *eDRMType = MSG_DRM_SEPARATE_DELIVERY;
- break;
- case DRM_METHOD_SD:
+ case DRM_METHOD_TYPE_SEPARATE_DELIVERY:
*eDRMType = MSG_DRM_SEPARATE_DELIVERY;
break;
default:
}
MSG_DEBUG("eDRMType : %d", *eDRMType);
} else {
- MSG_DEBUG("This is not a DRM_FILE_TYPE_OMA type");
+ MSG_DEBUG("This is not a DRM_TYPE_OMA_V1 type");
return false;
}
return true;
}
-bool MsgDrmConsumeRights(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType, long nMiliSecs)
-{
- MSG_DEBUG("start %d, %ld", eRightType, nMiliSecs);
- MSG_DEBUG("end : Success");
- return true;
-}
-
-bool MsgDrmIsAvailable(MSG_DRMHANDLE pHandle)
-{
- MSG_DEBUG("start");
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- if (pOpenDRMInfo->eDRMType == MSG_DRM_FORWARD_LOCK) { //fl Àº ro ¾øÀ̵µ »ç¿ë°¡´É
- MSG_DEBUG("end : Success");
- return true;
- }
-
- DRM_PERMISSION_TYPE ePerType = DRM_PERMISSION_ANY;
- drm_best_rights_t tBestRight; //ro ÀÖ´ÂÁö ¿©ºÎ¸¸ ¾Ë¸é µÇ¹Ç·Î drm_svc_get_best_ro ·Î üũÇϵµ·Ï ¼öÁ¤
- memset(&tBestRight, 0x00, sizeof(drm_best_rights_t));
- bool eReturn = false;
- DRM_RESULT eDRMResult = drm_svc_get_best_ro(pOpenDRMInfo->szOpenedDRMFileName, ePerType, &tBestRight); // Check the valided Rights or not by DCF file
- MSG_DEBUG("drm_svc_get_best_ro : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult && tBestRight.rightStatus == DRM_RIGHT_VALID) {
- eReturn = true;
- MSG_DEBUG("end : Success");
- } else {
- MSG_DEBUG("end : Fail");
- }
- return eReturn;
-}
-
-bool MsgDrmOnStart(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType)
-{ // Start consume
- MSG_DEBUG("start %d", eRightType);
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- if (pOpenDRMInfo->eDRMType == MSG_DRM_FORWARD_LOCK) {
- MSG_DEBUG("end : Success");
- return true;
- }
-
- DRM_PERMISSION_TYPE eDRMUsage = DRM_PERMISSION_ANY;
- DRM_RIGHTS_CONSUME_HANDLE hRightsConsume = 0;
- switch (eRightType) {
- case MMS_DRM_RIGHT_PLAY:
- eDRMUsage = DRM_PERMISSION_PLAY;
- break;
- case MSG_DRM_RIGHT_DISPLAY:
- eDRMUsage = DRM_PERMISSION_DISPLAY;
- break;
- case MSG_DRM_RIGHT_EXECUTE:
- eDRMUsage = DRM_PERMISSION_EXECUTE;
- break;
- case MSG_DRM_RIGHT_PRINT:
- eDRMUsage = DRM_PERMISSION_PRINT;
- break;
- case MSG_DRM_RIGHT_EXPORT:
- eDRMUsage = DRM_PERMISSION_EXPORT_MOVE; // DRM_PERMISSION_EXPORT_COPY µµ »ç¿ëÇؾßÇÔ
- break;
- }
- DRM_RESULT eDRMResult = drm_svc_open_consumption(pOpenDRMInfo->szOpenedDRMFileName, eDRMUsage, &hRightsConsume); // Open for consumption
- MSG_DEBUG("drm_svc_open_consumption : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS != eDRMResult) {
- MSG_DEBUG("end : Fail");
- return false;
- }
- pOpenDRMInfo->hRightsConsume = hRightsConsume;
- eDRMResult = drm_svc_start_consumption(pOpenDRMInfo->hRightsConsume); // Start the consumption
- MSG_DEBUG("drm_svc_start_consumption : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("end : Success");
- return true;
- }
- MSG_DEBUG("end : Fail");
- return false;
-}
-
-bool MsgDrmOnPause(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType)
-{
- MSG_DEBUG("start %d", eRightType);
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- if (pOpenDRMInfo->eDRMType == MSG_DRM_FORWARD_LOCK) {
- MSG_DEBUG("end : Success");
- return true;
- }
-
- DRM_RESULT eDRMResult = drm_svc_pause_consumption(pOpenDRMInfo->hRightsConsume); // Pause the consumption
- MSG_DEBUG("drm_svc_pause_consumption : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("end : Success");
- return true;
- }
- MSG_DEBUG("end : Fail");
- return false;
-}
-
-bool MsgDrmOnResume(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType)
-{
- MSG_DEBUG("start %d", eRightType);
- MSG_DEBUG("end : Success");
- return true;
-}
-
-bool MsgDrmOnStop(MSG_DRMHANDLE pHandle, MSG_DRM_RIGHT_TYPE eRightType)
-{
- MSG_DEBUG("start %d", eRightType);
- MSG_OPENEDDRM_INFO_T *pOpenDRMInfo = (MSG_OPENEDDRM_INFO_T *)pHandle;
- if (pOpenDRMInfo == NULL) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- if (pOpenDRMInfo->eDRMType == MSG_DRM_FORWARD_LOCK) {
- MSG_DEBUG("end : Success");
- return true;
- }
-
- DRM_RESULT eDRMResult = drm_svc_stop_consumption(pOpenDRMInfo->hRightsConsume); // Stop the consumption
- MSG_DEBUG("drm_svc_stop_consumption : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS != eDRMResult) {
- MSG_DEBUG("end : Fail");
- return false;
- }
-
- eDRMResult = drm_svc_close_consumption(&(pOpenDRMInfo->hRightsConsume)); // Close the consumption
- MSG_DEBUG("drm_svc_close_consumption : %d", eDRMResult);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- pOpenDRMInfo->hRightsConsume = 0;
- MSG_DEBUG("end : Success");
- return true;
- }
- MSG_DEBUG("end : Fail");
- return false;
-}
-
bool MsgDrmGetMimeTypeEx(const char *szFileName, char *szMimeType, int nMimeTypeLen)
{
if (!szFileName || !szMimeType || !nMimeTypeLen) {
strncpy(strTemp, szFileName, strlen(szFileName));
- drm_content_info_t tdcfContentinfo;
- memset(&tdcfContentinfo, 0x00, sizeof(drm_content_info_t));
- DRM_RESULT eDRMResult = drm_svc_get_content_info(strTemp, &tdcfContentinfo); // Get attribute of DRM File
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("contentType = %s", tdcfContentinfo.contentType);
- snprintf(szMimeType, nMimeTypeLen, "%s", tdcfContentinfo.contentType);
+ drm_content_info_s tdcfContentinfo;
+ memset(&tdcfContentinfo, 0x00, sizeof(drm_content_info_s));
+ int eDRMResult = drm_get_content_info(strTemp, &tdcfContentinfo); // Get attribute of DRM File
+ if (DRM_RETURN_SUCCESS == eDRMResult) {
+ MSG_DEBUG("contentType = %s", tdcfContentinfo.mime_type);
+ snprintf(szMimeType, nMimeTypeLen, "%s", tdcfContentinfo.mime_type);
- return true;
} else {
- MSG_DEBUG("drm_svc_get_content_info is failed %d", eDRMResult);
+ MSG_DEBUG("drm_get_content_info is failed %d", eDRMResult);
+ return false;
}
- return false;
+ return true;
}
bool MsgDrmGetContentID(const char *szFileName, char *szContentID, int nContentIDLen)
strncpy(strTemp, szFileName, sizeof(strTemp));
- drm_content_info_t tdcfContentinfo;
- memset(&tdcfContentinfo, 0x00, sizeof(drm_content_info_t));
- DRM_RESULT eDRMResult = drm_svc_get_content_info(strTemp, &tdcfContentinfo);
- if (DRM_RESULT_SUCCESS == eDRMResult) {
- MSG_DEBUG("contentID = %s", tdcfContentinfo.contentID);
- snprintf(szContentID, nContentIDLen, "%s", tdcfContentinfo.contentID);
+ drm_content_info_s content_info;
+ memset(&content_info, 0x00, sizeof(drm_content_info_s));
- return true;
+ int result = drm_get_content_info(strTemp, &content_info);
+ if (DRM_RETURN_SUCCESS == result) {
+ MSG_DEBUG("contentID = %s", content_info.content_id);
+ snprintf(szContentID, nContentIDLen, "%s", content_info.content_id);
} else {
- MSG_DEBUG("drm_svc_get_content_info is failed %d", eDRMResult);
+ MSG_DEBUG("drm_get_content_info is failed %d", result);
+ return false;
}
- return false;
+ return true;
}
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgException.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <sys/socket.h>
#include <sys/un.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <malloc.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <string.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <fcntl.h> /* O_RDWR */
#include <sys/mman.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgContact.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <wait.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <stddef.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include <stdio.h>
#include <stddef.h>
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgUtilFunction.h"
-/*
-*
-* Copyright (c) 2000-2012 Samsung Electronics Co., Ltd. All Rights Reserved.
-*
-* This file is part of msg-service.
-*
-* Contact: Jaeyun Jeong <jyjeong@samsung.com>
-* Sangkoo Kim <sangkoo.kim@samsung.com>
-* Seunghwan Lee <sh.cat.lee@samsung.com>
-* SoonMin Jung <sm0415.jung@samsung.com>
-* Jae-Young Lee <jy4710.lee@samsung.com>
-* KeeBum Kim <keebum.kim@samsung.com>
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of
-* SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
-* disclose such Confidential Information and shall use it only in
-* accordance with the terms of the license agreement you entered
-* into with SAMSUNG ELECTRONICS.
-*
-* SAMSUNG make no representations or warranties about the suitability
-* of the software, either express or implied, including but not limited
-* to the implied warranties of merchantability, fitness for a particular
-* purpose, or non-infringement. SAMSUNG shall not be liable for any
-* damages suffered by licensee as a result of using, modifying or
-* distributing this software or its derivatives.
-*
-*/
+ /*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.tizenopensource.org/license
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
#include "MsgDebug.h"
#include "MsgUtilFile.h"