summaryrefslogtreecommitdiff
path: root/include/service-engine/se_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/service-engine/se_storage.h')
-rwxr-xr-xinclude/service-engine/se_storage.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/service-engine/se_storage.h b/include/service-engine/se_storage.h
index ecf45d6..5b29611 100755
--- a/include/service-engine/se_storage.h
+++ b/include/service-engine/se_storage.h
@@ -131,9 +131,9 @@ se_error_type_e write_sync_resource_info(int account_id, int content_type, int l
* @param[out] string type, server ip
* @param[out] string type, id
* @param[out] string type, password
- * @param[out] string type, sync mode
- * @param[out] string type, sync type
- * @param[out] string type, interval
+ * @param[out] int type, sync mode
+ * @param[out] int type, sync type
+ * @param[out] int type, interval
* @param[out] int type, last_session_status
* @param[out] int type, last_session_time
*
@@ -152,7 +152,7 @@ se_error_type_e write_sync_resource_info(int account_id, int content_type, int l
* @code
* @endcode
*/
-bool get_profile_data(int account_id, char **profile_name, char **addr, char **id, char **password, char **sync_mode, char **sync_type, char **interval, int *last_session_status, int *last_session_time);
+bool get_profile_data(int account_id, char **profile_name, char **addr, char **id, char **password, int *sync_mode, int *sync_type, int *interval, int *last_session_status, int *last_session_time);
/**
* @par Description: API to get profile datastore information(enable, source uri, target uri, id, password) from config_tbl
@@ -166,7 +166,7 @@ bool get_profile_data(int account_id, char **profile_name, char **addr, char **i
* @param[in] int type, account id
* @param[in] int type, content type(TYPE_CONTACT, TYPE_CALENDAR, TYPE_MEMO)
* @param[out] string type, enabled
- * @param[out] string type, source uri
+ * @param[out] int type, source uri
* @param[out] string type, target uri
* @param[out] string type, id
* @param[out] string type, password
@@ -185,7 +185,7 @@ bool get_profile_data(int account_id, char **profile_name, char **addr, char **i
* @code
* @endcode
*/
-bool get_profile_sync_category(int account_id, int content_type, int *enabled, char **src_uri, char **tgt_uri, char **id, char **password);
+bool get_profile_sync_category(int account_id, int content_type, int *enabled, int *src_uri, char **tgt_uri, char **id, char **password);
/**
* @par Description: API to get profile sync statistics for each content type from config_tbl