merge with master
[platform/core/system/sync-agent.git] / src / framework / data-adapter / agent.h
index 923fded..e894b88 100755 (executable)
@@ -506,6 +506,28 @@ sync_agent_da_item_s *da_get_item(SYNC_AGENT_DA_HANDLER * daci_handler, char *it
 sync_agent_da_return_e da_get_item_new(SYNC_AGENT_DA_HANDLER * daci_handler, char *item_id, sync_agent_da_item_s ** sync_agent_item);
 
 /**
+ * @brief Get data_store item id from item_tbl
+ * @param[in]  daci_handler sqlite3 handler pointer about thread
+ * @param[in]  item_id item id
+ * @param[in] sync_agent_item as returned by da_get_item_new() - item info
+ * @return Operation result
+ * @retval SYNC_AGENT_DA_SUCCESS success
+ * @retval negative value error
+ */
+sync_agent_da_return_e da_get_item_data_store_id_new(SYNC_AGENT_DA_HANDLER * daci_handler, char *item_id, sync_agent_da_item_s ** sync_agent_item);
+
+/**
+ * @brief Get account item id from item_tbl
+ * @param[in]  daci_handler sqlite3 handler pointer about thread
+ * @param[in]  item_id item id
+ * @param[in] sync_agent_item as returned by da_get_item_new() - item info
+ * @return Operation result
+ * @retval SYNC_AGENT_DA_SUCCESS success
+ * @retval negative value error
+ */
+sync_agent_da_return_e da_get_item_account_id_new(SYNC_AGENT_DA_HANDLER * daci_handler, char *item_id, sync_agent_da_item_s ** sync_agent_item);
+
+/**
  * @brief Get all item id from item_tbl
  * @param[in]  daci_handler sqlite3 handler pointer about thread
  * @return Operation result