Tizen 2.0 Release
[platform/core/messaging/email-service.git] / email-core / include / email-core-signal.h
1 /*\r
2 *  email-service\r
3 *\r
4 * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. All rights reserved.\r
5 *\r
6 * Contact: Kyuho Jo <kyuho.jo@samsung.com>, Sunghyun Kwon <sh0701.kwon@samsung.com>\r
7 *\r
8 * Licensed under the Apache License, Version 2.0 (the "License");\r
9 * you may not use this file except in compliance with the License.\r
10 * You may obtain a copy of the License at\r
11 *\r
12 * http://www.apache.org/licenses/LICENSE-2.0\r
13 *\r
14 * Unless required by applicable law or agreed to in writing, software\r
15 * distributed under the License is distributed on an "AS IS" BASIS,\r
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17 * See the License for the specific language governing permissions and\r
18 * limitations under the License.\r
19 *\r
20 */\r
21 \r
22 /*\r
23  * email-core-signal.h\r
24  *\r
25  *  Created on: 2012. 11. 22.\r
26  *      Author: kyuho.jo@samsung.com\r
27  */\r
28 \r
29 #ifndef EMAIL_CORE_SIGNAL_H_\r
30 #define EMAIL_CORE_SIGNAL_H_\r
31 \r
32 #include "email-internal-types.h"\r
33 #include "email-core-tasks.h"\r
34 \r
35 INTERNAL_FUNC int emcore_initialize_signal();\r
36 \r
37 INTERNAL_FUNC int emcore_finalize_signal();\r
38 \r
39 /* emcore_notify_storage_event - Notification for storage related operations */\r
40 INTERNAL_FUNC int emcore_notify_storage_event(email_noti_on_storage_event event_type, int data1, int data2 , char *data3, int data4);\r
41 \r
42 /* emcore_notify_network_event - Notification for network related operations */\r
43 INTERNAL_FUNC int emcore_notify_network_event(email_noti_on_network_event event_type, int data1, char *data2, int data3, int data4);\r
44 \r
45 /* emcore_notify_response_to_api - Notification for response to API */\r
46 INTERNAL_FUNC int emcore_notify_response_to_api(email_event_type_t event_type, int data1, int data2);\r
47 \r
48 INTERNAL_FUNC int emcore_send_task_status_signal(email_task_type_t input_task_type, int input_task_id, email_task_status_type_t input_task_status, int input_param_1, int input_param_2);\r
49 \r
50 #endif /* EMAIL_CORE_SIGNAL_H_ */\r