diff options
author | Bang Kwang min <justine.bang@samsung.com> | 2012-08-24 11:07:28 +0900 |
---|---|---|
committer | Bang Kwang min <justine.bang@samsung.com> | 2012-08-24 11:07:28 +0900 |
commit | b1669907025392712c82b95fb42ff4fa3d932464 (patch) | |
tree | faef93340074763c5002c5f3b2e18a20fde33535 /include | |
parent | 2557ee9eb550edc5b3053f46a8ee61d53a5236f7 (diff) | |
download | download-provider-b1669907025392712c82b95fb42ff4fa3d932464.tar.gz download-provider-b1669907025392712c82b95fb42ff4fa3d932464.tar.bz2 download-provider-b1669907025392712c82b95fb42ff4fa3d932464.zip |
Code Sync with Private GIT
changes)
fix the defects found by prevent tool
remove mutex lock/unlock in case of invalid id
support the status of download in case of getting new connection with requestid
clear db, register notification when stopped the download
Update notification function
Enable to set the defined file name by user
event thread does not deal in some state
fix the lockup by mutex and the crash by invaild socket event
Resolve a bug of return type
modified: CMakeLists.txt
modified: include/download-provider-db.h
modified: include/download-provider-notification.h
modified: include/download-provider.h
modified: packaging/download-provider.spec
modified: src/download-provider-db.c
modified: src/download-provider-ipc.c
modified: src/download-provider-notification.c
modified: src/download-provider-receiver.c
modified: src/download-provider-utils.c
Diffstat (limited to 'include')
-rw-r--r-- | include/download-provider-db.h | 3 | ||||
-rw-r--r-- | include/download-provider-notification.h | 1 | ||||
-rw-r--r-- | include/download-provider.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/include/download-provider-db.h b/include/download-provider-db.h index 957c613..a2ef14b 100644 --- a/include/download-provider-db.h +++ b/include/download-provider-db.h @@ -42,11 +42,14 @@ int download_provider_db_requestinfo_remove(int uniqueid); int download_provider_db_requestinfo_update_column(download_clientinfo *clientinfo, download_db_column_type type); download_dbinfo_list *download_provider_db_get_list(int state); +download_dbinfo *download_provider_db_get_info(int requestid); void download_provider_db_list_free(download_dbinfo_list *list); +void download_provider_db_info_free(download_dbinfo *info); int download_provider_db_list_count(int state); download_request_info *download_provider_db_get_requestinfo(download_dbinfo *dbinfo); int download_provider_db_history_new(download_clientinfo *clientinfo); int download_provider_db_history_remove(int uniqueid); int download_provider_db_history_limit_rows(); +download_dbinfo *download_provider_db_history_get_info(int requestid); #endif diff --git a/include/download-provider-notification.h b/include/download-provider-notification.h index 6f526c4..d464daf 100644 --- a/include/download-provider-notification.h +++ b/include/download-provider-notification.h @@ -6,5 +6,6 @@ int set_downloadinginfo_appfw_notification(download_clientinfo *clientinfo); int set_downloadedinfo_appfw_notification(download_clientinfo *clientinfo); int destroy_appfw_notification(download_clientinfo *clientinfo); +void clear_downloadinginfo_appfw_notification(void); #endif diff --git a/include/download-provider.h b/include/download-provider.h index d97d273..a088a11 100644 --- a/include/download-provider.h +++ b/include/download-provider.h @@ -98,6 +98,7 @@ extern "C" { download_flexible_string url; download_flexible_string install_path; download_flexible_string filename; + download_flexible_string service_data; download_flexible_double_string headers; } download_request_info; |