summaryrefslogtreecommitdiff
path: root/src/include/common
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2019-01-29 10:56:45 +0900
committerMinje Ahn <minje.ahn@samsung.com>2019-01-31 11:14:31 +0900
commit7aca7414a06971e6f1467d7a7ece8328007ca5e8 (patch)
treee51264b460b8762ffd59e6971df6726e0b3a10f1 /src/include/common
parentb6d52f1ee953b3ccbd7aaa76db1d043a44dce16b (diff)
downloadlibmedia-service-7aca7414a06971e6f1467d7a7ece8328007ca5e8.tar.gz
libmedia-service-7aca7414a06971e6f1467d7a7ece8328007ca5e8.tar.bz2
libmedia-service-7aca7414a06971e6f1467d7a7ece8328007ca5e8.zip
When the media_info handle is returned, modify it to include the latest media information. (In the past, if the media info you requested was in the database, this API returned the media info without making sure it was up-to-date.) Change-Id: I714b9e62504641e15f4c2df8e8c7d8b49cb73cd8 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include/common')
-rwxr-xr-xsrc/include/common/media-svc-media.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/common/media-svc-media.h b/src/include/common/media-svc-media.h
index 091b496..0291193 100755
--- a/src/include/common/media-svc-media.h
+++ b/src/include/common/media-svc-media.h
@@ -29,6 +29,7 @@
#include "media-svc-util.h"
int _media_svc_count_record_with_path(sqlite3 *handle, const char *storage_id, const char *path, int *count);
+int _media_svc_get_modified_time(sqlite3 *handle, const char *storage_id, const char *path, int *modified_time);
int _media_svc_insert_item_with_data(sqlite3 *handle, const char *storage_id, media_svc_content_info_s *content_info, bool stack_query, uid_t uid);
int _media_svc_update_item_with_data(const char *storage_id, media_svc_content_info_s *content_info, uid_t uid);
int _media_svc_get_thumbnail_path_by_path(sqlite3 *handle, const char *path, char *thumbnail_path);