summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsanghyuk Ko <sanghyuk.ko@samsung.com>2013-04-30 13:30:41 +0900
committersanghyuk Ko <sanghyuk.ko@samsung.com>2013-04-30 15:36:42 +0900
commite1ec5a5a2de572cfdd9e1288da6ed6f64a5c317c (patch)
tree58402ddcbab717e7bb4c64ef6fb8122d15980daa /include
parent00c0dc15b7afd88eee0095d496602ec59ca6bae5 (diff)
downloadoma-ds-agent-e1ec5a5a2de572cfdd9e1288da6ed6f64a5c317c.tar.gz
oma-ds-agent-e1ec5a5a2de572cfdd9e1288da6ed6f64a5c317c.tar.bz2
oma-ds-agent-e1ec5a5a2de572cfdd9e1288da6ed6f64a5c317c.zip
[JIRA:N_SE-30007] Get profilesNum failed.
[Problem] - [Cause] - [Solution] - When synchronising, edit/delete request block. Change-Id: Ia79cdd01db49fc9472159d210f979d53d6032d29
Diffstat (limited to 'include')
-rwxr-xr-xinclude/framework/task/oma_ds_engine_controller_task.h33
1 files changed, 31 insertions, 2 deletions
diff --git a/include/framework/task/oma_ds_engine_controller_task.h b/include/framework/task/oma_ds_engine_controller_task.h
index f4b3ccc..c40cc40 100755
--- a/include/framework/task/oma_ds_engine_controller_task.h
+++ b/include/framework/task/oma_ds_engine_controller_task.h
@@ -36,6 +36,7 @@ typedef struct request_msg_info_s request_msg_info_t;
struct request_msg_info_s {
int sync_type;
unsigned int request_id;
+ int profile_id;
};
#define EC_MSG_TYPE_SYNC_TASK_REQUEST 1
@@ -675,7 +676,7 @@ sync_agent_ec_task_error_e cancel_sync_request_task_process(unsigned int param_c
sync_agent_ec_task_error_e reset_all_data_task_process(unsigned int param_cnt, sync_agent_ec_param_param_s ** param_array);
/**
- * @par Description: This API is callback function which runs when reset function is requested
+ * @par Description: This API is callback function which runs when all profiles data gets.
*
*
* @par Purpose:
@@ -765,6 +766,7 @@ sync_agent_ec_task_error_e refresh_from_service_task_process(unsigned int param_
* @par Important notes:
* @param[in] sync_type(SYNC_MODE_MANUAL, SYNC_MODE_PERIODIC, SYNC_MODE_SAN, SYNC_MODE_AUTOCONFIG)
* @param[in] request id
+ * @param[in] profile_id
* @param[out]
*
* @return
@@ -780,7 +782,7 @@ sync_agent_ec_task_error_e refresh_from_service_task_process(unsigned int param_
* @code
* @endcode
*/
-void insert_request_msg_info(int sync_type, unsigned int request_id);
+void insert_request_msg_info(int sync_type, unsigned int request_id, int profile_id);
/**
* @par Description: API to delete request_msg_info_t structure from list
@@ -836,6 +838,33 @@ void delete_request_msg_info(unsigned int request_id);
bool get_synchronizing_request_id(unsigned int *request_id);
/**
+ * @par Description: API to get synchronizing profile id
+ *
+ *
+ * @par Purpose:
+ * @par Typical use case:
+ * @par Method of function operation:
+ * @par Important notes:
+ * @param[in]
+ * @param[out] pProfile_id
+ *
+ * @return true on success
+ * false on error
+ *
+ * @par Errors:
+ *
+ * @pre None.
+ * @post
+ * @see
+ * @remarks None.
+ *
+ * @par Sample Code:
+ * @code
+ * @endcode
+ */
+bool get_synchronizing_profile_id(int *pProfile_id);
+
+/**
* @par Description: API to get manual sync request id and delete request_msg_info_t structure from list
*
*