4 * Copyright (c) 2012 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Kyuho Jo <kyuho.jo@samsung.com>, Sunghyun Kwon <sh0701.kwon@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __EMAIL_DAEMON_EVENT_H__
23 #define __EMAIL_DAEMON_EVENT_H__
28 #endif /* __cplusplus */
30 #include "email-types.h"
31 #include "email-internal-types.h"
33 INTERNAL_FUNC int emdaemon_start_event_loop(int *err_code);
34 INTERNAL_FUNC int emdaemon_start_event_loop_for_sending_mails(int *err_code);
35 INTERNAL_FUNC int emdaemon_start_thread_for_downloading_partial_body(int *err_code);
37 #ifdef __FEATURE_OPEN_SSL_MULTIHREAD_HANDLE__
38 INTERNAL_FUNC void emdaemon_setup_handler_for_open_ssl_multithread(void);
39 INTERNAL_FUNC void emdaemon_cleanup_handler_for_open_ssl_multithread(void);
40 #endif /* __FEATURE_OPEN_SSL_MULTIHREAD_HANDLE__ */
44 #endif /* __cplusplus */