summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/common/common_define_internal.h18
-rwxr-xr-xinclude/service-engine/se_storage.h2
2 files changed, 11 insertions, 9 deletions
diff --git a/include/common/common_define_internal.h b/include/common/common_define_internal.h
index 4c1ed97..75075e7 100755
--- a/include/common/common_define_internal.h
+++ b/include/common/common_define_internal.h
@@ -69,6 +69,7 @@
#define DEFINE_ALERT_REFRESH_FROM_SERVER_VALUE "205"
#define DEFINE_ALERT_REFRESH_FROM_CLIENT_VALUE "203"
+#define DEFINE_CONFIG_KEY_PROFILE_ID "Profile_id"
#define DEFINE_CONFIG_KEY_PROFILE_SERVER_ID "Server_id"
#define DEFINE_CONFIG_KEY_PROFILE_SYNC_MODE "Sync_mode"
#define DEFINE_CONFIG_KEY_PROFILE_SERVER_IP "Server_ip"
@@ -185,14 +186,15 @@ typedef enum {
}sync_type_e;
typedef enum {
- SYNC_INTERVAL_5_MINUTES = 0, /**< 5 minutes */
- SYNC_INTERVAL_15_MINUTES = 1, /**< 15 minutes */
- SYNC_INTERVAL_1_HOUR = 2, /**< 1 hour */
- SYNC_INTERVAL_4_HOURS = 3, /**< 4 hours */
- SYNC_INTERVAL_12_HOURS = 4, /**< 12 hours */
- SYNC_INTERVAL_1_DAY = 5, /**< 1 day */
- SYNC_INTERVAL_1_WEEK = 6, /**< 1 week */
- SYNC_INTERVAL_1_MONTH = 7 /**< 1 month */
+ SYNC_INTERVAL_NONE = 0, /**< None */
+ SYNC_INTERVAL_5_MINUTES = 1, /**< 5 minutes */
+ SYNC_INTERVAL_15_MINUTES = 2, /**< 15 minutes */
+ SYNC_INTERVAL_1_HOUR = 3, /**< 1 hour */
+ SYNC_INTERVAL_4_HOURS = 4, /**< 4 hours */
+ SYNC_INTERVAL_12_HOURS = 5, /**< 12 hours */
+ SYNC_INTERVAL_1_DAY = 6, /**< 1 day */
+ SYNC_INTERVAL_1_WEEK = 7, /**< 1 week */
+ SYNC_INTERVAL_1_MONTH = 8 /**< 1 month */
} sync_interval_e;
typedef enum {
diff --git a/include/service-engine/se_storage.h b/include/service-engine/se_storage.h
index 5b29611..697edc7 100755
--- a/include/service-engine/se_storage.h
+++ b/include/service-engine/se_storage.h
@@ -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, int *sync_mode, int *sync_type, int *interval, int *last_session_status, int *last_session_time);
+bool get_profile_data(int account_id, char **profile_dir_name, 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