diff options
Diffstat (limited to 'src/include/common/media-svc-media-folder.h')
-rwxr-xr-x | src/include/common/media-svc-media-folder.h | 5 |
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_*/ |