[Internal: merge sync-agent]
[platform/core/system/sync-agent.git] / include / data-adapter / interface_item.h
index f027074..15e2bb9 100755 (executable)
@@ -37,17 +37,13 @@ extern "C" {
  * @brief      Structure of framework item instance
  */
        typedef struct {
-               char *item_id;
-                       /**< F/W item id */
-               int data_store_id;
-                               /**< service data connector pluIn's ID described in F/W config file  */
-               int account_id;
-                       /**< F/W account id */
-               char *folder_id;/**< F/W folder id */
-               char *service_id;
-                               /**< service item id */
-               char *access_name;
-                               /**< name of accessor */
+               char *item_id;                          /**< F/W item id */
+               int data_store_id;                      /**< service data connector pluIn's ID described in F/W config file  */
+               int account_id;                         /**< F/W account id */
+               char *folder_id;                        /**< F/W folder id */
+               char *service_id;                       /**< service item id */
+               char *parent_service_id;        /**< parent F/W item id for exdate items => normal item : NULL / exdate parent item : -1 / exdate child item : parent service id */
+               char *access_name;                      /**< name of accessor */
        } sync_agent_da_item_s;
 
 /**
@@ -560,6 +556,17 @@ extern "C" {
        sync_agent_da_return_e sync_agent_get_item_count(int data_store_id, int *item_count);
 
 /**
+ * @brief                      get updated exdate item id list in item table where service type
+ * @param[in]          fw_id                                           item's framework id
+ * @param[in]          list                                                    list as returned updated exdate item_id list
+ * @return             sync_agent_da_return_e
+ * @retval             SYNC_AGENT_DA_SUCCESS           success
+ * @retval             error value                                     fail
+
+ */
+       sync_agent_da_return_e sync_agent_get_updated_exdate_item_id_list(char *fw_id, GList ** list);
+
+/**
  *     @}
  */