summaryrefslogtreecommitdiff
path: root/src/include/common
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2020-03-13 09:59:11 +0900
committerMinje Ahn <minje.ahn@samsung.com>2020-03-13 12:04:03 +0900
commit3834baae423f56fb249d7e76af552ae74bc56d51 (patch)
tree8671489b501948cb11676e986f8ca0404827ed9b /src/include/common
parent8a5dd18fcc73a8df0cbc1e4fd39b7e7cb68e5703 (diff)
downloadlibmedia-service-3834baae423f56fb249d7e76af552ae74bc56d51.tar.gz
libmedia-service-3834baae423f56fb249d7e76af552ae74bc56d51.tar.bz2
libmedia-service-3834baae423f56fb249d7e76af552ae74bc56d51.zip
Folder related functions cleanup
Change-Id: Ief056a3f17116ebfff3fd8ada38f55f432676018
Diffstat (limited to 'src/include/common')
-rwxr-xr-xsrc/include/common/media-svc-media-folder.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/common/media-svc-media-folder.h b/src/include/common/media-svc-media-folder.h
index 50bc6a6..28007a3 100755
--- a/src/include/common/media-svc-media-folder.h
+++ b/src/include/common/media-svc-media-folder.h
@@ -26,12 +26,11 @@
#include <stdbool.h>
#include <media-util.h>
-int _media_svc_get_folder_id_by_foldername(sqlite3 *handle, const char *storage_id, const char *folder_name, char *folder_id, uid_t uid);
+int _media_svc_get_folder_id_by_path(sqlite3 *handle, const char *storage_id, const char *path, char *folder_id);
int _media_svc_update_folder_modified_time_by_folder_uuid(const char *folder_uuid, const char *folder_path, uid_t uid);
-int _media_svc_get_and_append_folder(sqlite3 *handle, bool is_direct, const char *storage_id, const char *path, ms_user_storage_type_e storage_type, char *folder_id, uid_t uid);
int _media_svc_get_and_append_folder_id_by_path(sqlite3 *handle, bool is_direct, const char *storage_id, const char *path, ms_user_storage_type_e storage_type, char *folder_id, uid_t uid);
int _media_svc_get_and_append_folder_id_by_folder_path(sqlite3 *handle, const char *storage_id, const char *path, ms_user_storage_type_e storage_type, uid_t uid);
int _media_svc_set_folder_validity(sqlite3 *handle, bool is_direct, const char *storage_id, const char *start_path, int validity, bool is_recursive, uid_t uid);
-int _media_svc_count_folder_with_path(sqlite3 *handle, const char *storage_id, const char *path, int *count);
+int _media_svc_check_folder_by_path(sqlite3 *handle, const char *storage_id, const char *path);
#endif /*_MEDIA_SVC_MEDIA_FOLDER_H_*/