2.0_alpha release commit
[framework/messaging/email-service.git] / email-core / include / email-core-event.h
index 6ee7a28..5476d2b 100755 (executable)
@@ -40,36 +40,36 @@ extern "C"
 {
 #endif /* __cplusplus */
 
-void emcore_execute_event_callback(emf_action_t action, int total, int done, int status, int account_id, int mail_id, int handle, int error);
+void emcore_execute_event_callback(email_action_t action, int total, int done, int status, int account_id, int mail_id, int handle, int error);
 int  emcore_get_active_queue_idx(void);
 int  emcore_check_send_mail_thread_status();
 
 INTERNAL_FUNC int          emcore_get_current_thread_type();
-INTERNAL_FUNC int          emcore_register_event_callback(emf_action_t action, emf_event_callback callback, void *event_data);
-INTERNAL_FUNC int          emcore_unregister_event_callback(emf_action_t action, emf_event_callback callback);
-INTERNAL_FUNC int          emcore_get_pending_event(emf_action_t action, int account_id, int mail_id, emf_event_status_type_t *status);
+INTERNAL_FUNC int          emcore_register_event_callback(email_action_t action, email_event_callback callback, void *event_data);
+INTERNAL_FUNC int          emcore_unregister_event_callback(email_action_t action, email_event_callback callback);
+INTERNAL_FUNC int          emcore_get_pending_event(email_action_t action, int account_id, int mail_id, email_event_status_type_t *status);
 INTERNAL_FUNC int          emcore_start_event_loop(int *err_code);
 INTERNAL_FUNC int          emcore_stop_event_loop(int *err_code);
-INTERNAL_FUNC int          emcore_insert_event(emf_event_t *event_data, int *handle, int *err_code);
+INTERNAL_FUNC int          emcore_insert_event(email_event_t *event_data, int *handle, int *err_code);
 INTERNAL_FUNC int          emcore_cancel_thread(int handle, void *arg, int *err_code);
-INTERNAL_FUNC int          emcore_send_event_loop_start(int *err_code);
+INTERNAL_FUNC int          emcore_start_event_loop_for_sending_mails(int *err_code);
 INTERNAL_FUNC int          emcore_send_event_loop_stop(int *err_code);
 INTERNAL_FUNC int          emcore_cancel_send_mail_thread(int handle, void *arg, int *err_code);
 INTERNAL_FUNC int          emcore_check_thread_status(void);
 INTERNAL_FUNC void         emcore_get_event_queue_status(int *on_sending, int *on_receiving);
-INTERNAL_FUNC int          emcore_insert_send_event(emf_event_t *event_data, int *handle, int *err_code);
-INTERNAL_FUNC int          emcore_get_receiving_event_queue(emf_event_t **event_queue, int *event_count, int *err);
+INTERNAL_FUNC int          emcore_insert_event_for_sending_mails(email_event_t *event_data, int *handle, int *err_code);
+INTERNAL_FUNC int          emcore_get_receiving_event_queue(email_event_t **event_queue, int *event_count, int *err);
 INTERNAL_FUNC int          emcore_cancel_all_threads_of_an_account(int account_id);
-INTERNAL_FUNC int          emcore_free_event(emf_event_t *event_data);
+INTERNAL_FUNC int          emcore_free_event(email_event_t *event_data);
 
 #ifdef __FEATURE_PARTIAL_BODY_DOWNLOAD__
 /*  Please contact -> Himanshu [h.gahlaut@samsung.com] for any explanation in code here under this MACRO */
-INTERNAL_FUNC int          emcore_insert_partial_body_thread_event(emf_event_partial_body_thd *partial_body_thd_event, int *error_code);
+INTERNAL_FUNC int          emcore_insert_partial_body_thread_event(email_event_partial_body_thd *partial_body_thd_event, int *error_code);
 INTERNAL_FUNC int          emcore_is_partial_body_thd_que_empty();
 INTERNAL_FUNC int          emcore_is_partial_body_thd_que_full();
-INTERNAL_FUNC int          emcore_partial_body_thread_loop_start(int *err_code);
+INTERNAL_FUNC int          emcore_start_thread_for_downloading_partial_body(int *err_code);
 INTERNAL_FUNC int          emcore_clear_partial_body_thd_event_que(int *err_code);
-INTERNAL_FUNC int          emcore_free_partial_body_thd_event(emf_event_partial_body_thd *partial_body_thd_event, int *error_code);
+INTERNAL_FUNC int          emcore_free_partial_body_thd_event(email_event_partial_body_thd *partial_body_thd_event, int *error_code);
 INTERNAL_FUNC unsigned int emcore_get_partial_body_thd_id();
 INTERNAL_FUNC int          emcore_get_pbd_thd_state();
 unsigned int emcore_get_receiving_thd_id();