4 * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
\r
6 * Contact: Kyuho Jo <kyuho.jo@samsung.com>, Sunghyun Kwon <sh0701.kwon@samsung.com>
\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
12 * http://www.apache.org/licenses/LICENSE-2.0
\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
23 * email-core-signal.h
\r
25 * Created on: 2012. 11. 22.
\r
26 * Author: kyuho.jo@samsung.com
\r
29 #ifndef EMAIL_CORE_SIGNAL_H_
\r
30 #define EMAIL_CORE_SIGNAL_H_
\r
32 #include "email-internal-types.h"
\r
33 #include "email-core-tasks.h"
\r
35 INTERNAL_FUNC int emcore_initialize_signal();
\r
37 INTERNAL_FUNC int emcore_finalize_signal();
\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
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
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
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
50 #endif /* EMAIL_CORE_SIGNAL_H_ */
\r