SET(VISIBILITY "-DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"")
#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VISIBILITY} -fvisibility=hidden")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections -Wno-error=deprecated-declarations")
ADD_DEFINITIONS("-DSERVICE_ADAPTOR_DEBUGGING")
ADD_DEFINITIONS("-D_SERVICE_ADAPTOR_IPC_CLIENT")
#define FUNC_STOP() do { sac_debug_func(FONT_COLOR_BOLDBLACK"<<==<<== Stop\n%s"FONT_COLOR_RESET, __FUNCTION__); } while (0)
#define FUNC_END() do { sac_debug_func(FONT_COLOR_BOLDBLACK"<<<<<<<< End\n%s"FONT_COLOR_RESET, __FUNCTION__); } while (0)
+#define DEPRECATED_LOG(api) do { \
+ LOGW("DEPRECATION WARNING: %s() is deprecated and will be removed " \
+ "from next release. Use %s() instead.", api); \
+ } while(0)
#ifdef __cplusplus
}
int service_adaptor_get_last_result(int *err)
{
+ DEPRECATED_LOG(__FUNCTION__);
FUNC_START();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_adaptor_get_last_error_message(char **message)
{
+ DEPRECATED_LOG(__FUNCTION__);
FUNC_START();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
SERVICE_ADAPTOR_CLIENT_PUBLIC_API
int service_adaptor_create(service_adaptor_h *handle)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_h service = NULL;
SERVICE_ADAPTOR_CLIENT_PUBLIC_API
int service_adaptor_destroy(service_adaptor_h handle)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_plugin_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if (NULL == handle) {
const char *plugin_uri,
service_plugin_h *plugin)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_info("API Called <%s>", __FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_plugin_destroy(service_plugin_h plugin)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if (NULL == plugin) {
const char *key,
const char *value)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if ((NULL == handle) || (NULL == handle->optional_property)) {
int service_plugin_remove_property(service_plugin_h handle,
const char *key)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if ((NULL == handle) || (NULL == handle->optional_property)) {
const char *key,
char **value)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if (NULL == handle) {
int service_plugin_start(service_plugin_h handle,
int service_flag)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int app_ret = 0;
int service_plugin_stop(service_plugin_h handle)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if (NULL == handle) {
const char *upload_path,
service_storage_task_h *task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
const char *download_path,
service_storage_task_h *task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
int thumbnail_size,
service_storage_task_h *task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
int service_storage_destroy_task(service_storage_task_h task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
int service_storage_start_task(service_storage_task_h task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
int service_storage_cancel_task(service_storage_task_h task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_adaptor_error_s error;
service_storage_task_progress_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_unset_task_progress_cb(service_storage_task_h task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_storage_task_state_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_unset_task_state_changed_cb(service_storage_task_h task)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_storage_file_list_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if ((NULL == plugin) || (NULL == callback) || (NULL == dir_path)) {
int service_storage_file_list_clone(service_storage_file_list_h src_list,
service_storage_file_list_h *dst_list)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_list_destroy(service_storage_file_list_h list)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_clone(service_storage_file_h src_file,
service_storage_file_h *dst_file)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_destroy(service_storage_file_h file)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_list_get_length(service_storage_file_list_h list,
int *length)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_storage_file_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_get_logical_path(service_storage_file_h file,
char **path)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_get_physical_path(service_storage_file_h file,
char **path)
{
-
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_is_dir(service_storage_file_h file,
bool *is_dir)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
int service_storage_file_get_size(service_storage_file_h file,
unsigned long long *size)
{
+ DEPRECATED_LOG(__FUNCTION__);
sac_api_start();
int ret = SERVICE_ADAPTOR_ERROR_NONE;
service_storage_result_cb callback,
void *user_data)
{
+ DEPRECATED_LOG(__FUNCTION__);
int ret = SERVICE_ADAPTOR_ERROR_NONE;
if ((NULL == plugin) || (NULL == callback) || (NULL == remove_path)) {
/**
* @ingroup CAPI_SOCIAL_FRAMEWORK
- * @defgroup SERVICE_ADAPTOR_MODULE Service Adaptor
+ * @defgroup SERVICE_ADAPTOR_MODULE Service Adaptor (Deprecated)
* @brief The @ref SERVICE_ADAPTOR_MODULE API provides developer with common interfaces like using local service for various service infra.
*
* @section SERVICE_ADAPTOR_MODULE_HEADER Required Header
/**
* @ingroup SERVICE_ADAPTOR_MODULE
- * @defgroup SERVICE_PLUGIN_MODULE Service Plugin
+ * @defgroup SERVICE_PLUGIN_MODULE Service Plugin (Deprecated)
* @brief The @ref SERVICE_PLUGIN_MODULE API provides functions to manage the <b>plugin set</b>'s property and state
*
* @section SERVICE_PLUGIN_MODULE_HEADER Required Header
/**
* @ingroup SERVICE_PLUGIN_MODULE
- * @defgroup SERVICE_ADAPTOR_STORAGE_MODULE Storage
+ * @defgroup SERVICE_ADAPTOR_STORAGE_MODULE Storage (Deprecated)
* @brief Provide functions for access and managing storage service
* @section SERVICE_ADAPTOR_STORAGE_MODULE_HEADER Require Header
* \#include <service_adaptor_client.h>
/**
+ * @deprecated Deprecated since 3.0
* @brief Enumerations of result code for Service Adaptor
*/
typedef enum {
} service_adaptor_error_e;
/**
+* @deprecated Deprecated since 3.0
* @brief The handle for connection and managing plugin handle of Service Adaptor
* @details The handle can be created by service_adaptor_create()<br>
* When a handle is no longer needed, use service_adaptor_destroy()
typedef struct _service_adaptor_s *service_adaptor_h;
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for service_adaptor_foreach_plugin API
*
* @param[in] plugin_uri The service plugin's unique uri, this value be set by plugin
==================================================================================================*/
/**
+* @deprecated Deprecated since 3.0
* @brief Create Service Adaptor
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_adaptor_create(service_adaptor_h *service_adaptor);
+int service_adaptor_create(service_adaptor_h *service_adaptor) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Destroy Service Adaptor
* @details It must called after a program no longer needs any function of Service Adaptor
* @since_tizen 2.4
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
* @pre @a service_adaptor must be issued by service_adaptor_create()
*/
-int service_adaptor_destroy(service_adaptor_h service_adaptor);
+int service_adaptor_destroy(service_adaptor_h service_adaptor) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Foreach the list of plugin
* @details Iterate to all installed plugin
* @since_tizen 2.4
*/
int service_adaptor_foreach_plugin(service_adaptor_h service_adaptor,
service_adaptor_plugin_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Create service plugin handle
* @details Create plugin handle using @a plugin_uri
* @since_tizen 2.4
*/
int service_adaptor_create_plugin(service_adaptor_h service_adaptor,
const char *plugin_uri,
- service_plugin_h *plugin);
+ service_plugin_h *plugin) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets service specfic last result
* @details This function retrieves the last error code that be issued from plugin.<br>
* When if API function returns #SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED, gets using this function.
* @retval #SERVICE_ADAPTOR_ERROR_NO_DATA There is no result
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_adaptor_get_last_result(int *err);
+int service_adaptor_get_last_result(int *err) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets service specfic last result error message
* @details This function retrieves the last error code that be issued from plugin.<br>
* When if API function returns #SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED, gets using this function.
* @retval #SERVICE_ADAPTOR_ERROR_NO_DATA There is no error message
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_adaptor_get_last_error_message(char **message);
+int service_adaptor_get_last_error_message(char **message) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets Plugin Property
* @since_tizen 2.4
*
*/
int service_plugin_get_property(service_plugin_h plugin,
const char *key,
- char **value);
+ char **value) TIZEN_DEPRECATED_API;
/**
* @}
*/
/**
+ * @deprecated Deprecated since 3.0
* @brief Type of service in plugin
*/
typedef enum {
} service_plugin_service_type_e;
/**
+* @deprecated Deprecated since 3.0
* @brief Definition for the service_plugin property: The application id be issued from service provider for 3rd party developer.
* @since_tizen 2.4
* @see service_plugin_add_property()
#define SERVICE_PLUGIN_PROPERTY_APP_KEY "http://tizen.org/service-adaptor/plugin/property/app_key"
/**
+* @deprecated Deprecated since 3.0
* @brief Definition for the service_plugin property: The application password be issued from service provider for 3rd party developer.
* @since_tizen 2.4
* @see service_plugin_add_property()
#define SERVICE_PLUGIN_PROPERTY_APP_SECRET "http://tizen.org/service-adaptor/plugin/property/app_secret"
/**
+* @deprecated Deprecated since 3.0
* @brief Definition for the service_plugin property: The user id for using specific service.
* @since_tizen 2.4
* @see service_plugin_add_property()
/**
+* @deprecated Deprecated since 3.0
* @brief The Plugn handle for Service Adaptor
* @details The handle can be created by service_adaptor_create_plugin()<br>
* When a handle is no longer needed, use service_plugin_destroy()
typedef struct _service_plugin_s *service_plugin_h;
/**
+* @deprecated Deprecated since 3.0
* @brief Destroy Service Adaptor
* @details It must called after a program no longer needs APIs of specfic plugin
* @since_tizen 2.4
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
* @pre @a plugin must be issued by service_adaptor_create_plugin()
*/
-int service_plugin_destroy(service_plugin_h plugin);
+int service_plugin_destroy(service_plugin_h plugin) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Add Plugin Property
* @details The plguin property is used for plugin's basic or optional requirement.<br>
* This value is not used in Adaptor layer, but it can be uesd to important Key for plugin with service provider.<br>
*/
int service_plugin_add_property(service_plugin_h plugin,
const char *key,
- const char *value);
+ const char *value) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Remove Plugin Property
* @since_tizen 2.4
*
* @see SERVICE_PLUGIN_PROPERTY_USER_ID
*/
int service_plugin_remove_property(service_plugin_h plugin,
- const char *key);
+ const char *key) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets Plugin Property
* @since_tizen 2.4
*
*/
int service_plugin_get_property(service_plugin_h plugin,
const char *key,
- char **value);
+ char **value) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Requests start initalization for service plugin
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
int service_plugin_start(service_plugin_h plugin,
- int service_mask);
+ int service_mask) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Requests stop manually for service plugin
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
* @pre service_plugin_start()
*/
-int service_plugin_stop(service_plugin_h plugin);
+int service_plugin_stop(service_plugin_h plugin) TIZEN_DEPRECATED_API;
/**
* @}
*/
/**
+* @deprecated Deprecated since 3.0
* @brief The handle of async task for storage service
* @see #service_storage_create_download_task()
* @see #service_storage_create_upload_task()
typedef struct _service_storage_task_s *service_storage_task_h;
/**
+* @deprecated Deprecated since 3.0
* @brief The handle of file or directory in storage
* @see #service_storage_file_clone()
* @see #service_storage_file_destroy()
typedef struct _service_storage_file_s *service_storage_file_h;
/**
+* @deprecated Deprecated since 3.0
* @brief The list handle of file or directory in storage
* @see #service_storage_file_list_clone()
* @see #service_storage_file_list_destroy()
typedef struct _service_storage_file_list_s *service_storage_file_list_h;
/**
+ * @deprecated Deprecated since 3.0
* @brief Type of storage task
*/
typedef enum {
} service_storage_task_state_e;
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for changing state of storage task
*
* @param[in] state The state of storage task
void *user_data);
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for progress of storage task
*
* @param[in] progress The progressed amount of storage task
void *user_data);
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for getting async storage operation result
*
* @param[in] result Result code for storage async operation (see #service_adaptor_error_e)
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for getting file list API
*
* @param[in] result Result code for #service_storage_get_file_list() (see #service_adaptor_error_e)
void *user_data);
/**
+* @deprecated Deprecated since 3.0
* @brief Callback for service_storage_file_list_foreach_file API
*
* @param[in] file The handle of file
void *user_data);
/**
+* @deprecated Deprecated since 3.0
* @brief Gets file list from storage, asynchronously.
* @since_tizen 2.4
* @privlevel public
int service_storage_get_file_list(service_plugin_h plugin,
const char *dir_path,
service_storage_file_list_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Removes file or directory in storage
* @since_tizen 2.4
* @privlevel public
int service_storage_remove(service_plugin_h plugin,
const char *remove_path,
service_storage_result_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Creates storage task for upload file to storage
* @since_tizen 2.4
* @privlevel public
int service_storage_create_upload_task(service_plugin_h plugin,
const char *file_path,
const char *upload_path,
- service_storage_task_h *task);
+ service_storage_task_h *task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Creates storage task for download file from storage
* @since_tizen 2.4
* @privlevel public
int service_storage_create_download_task(service_plugin_h plugin,
const char *storage_path,
const char *download_path,
- service_storage_task_h *task);
+ service_storage_task_h *task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Creates storage task for download thumbnail from storage
* @since_tizen 2.4
* @privlevel public
const char *storage_path,
const char *download_path,
int thumbnail_size,
- service_storage_task_h *task);
+ service_storage_task_h *task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Destroys storage task
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED Failed in Plugin internal
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_storage_destroy_task(service_storage_task_h task);
+int service_storage_destroy_task(service_storage_task_h task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Starts storage task, asynchronously.
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED Failed in Plugin internal
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_storage_start_task(service_storage_task_h task);
+int service_storage_start_task(service_storage_task_h task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Cancels storage task, asynchronously.
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_PLUGIN_FAILED Failed in Plugin internal
* @retval #SERVICE_ADAPTOR_ERROR_UNKNOWN Unknown error
*/
-int service_storage_cancel_task(service_storage_task_h task);
+int service_storage_cancel_task(service_storage_task_h task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Sets a callback function to be invoked when progress of the task running.
* @since_tizen 2.4
*
*/
int service_storage_set_task_progress_cb(service_storage_task_h task,
service_storage_task_progress_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Unsets the progress callback function.
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_NONE Successful
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
-int service_storage_unset_task_progress_cb(service_storage_task_h task);
+int service_storage_unset_task_progress_cb(service_storage_task_h task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Sets a callback function to be invoked when change of the task running state.
* @since_tizen 2.4
*
*/
int service_storage_set_task_state_changed_cb(service_storage_task_h task,
service_storage_task_state_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Unsets the state changed callback function.
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_NONE Successful
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
-int service_storage_unset_task_state_changed_cb(service_storage_task_h task);
+int service_storage_unset_task_state_changed_cb(service_storage_task_h task) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Clones the file list handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
int service_storage_file_list_clone(service_storage_file_list_h src_list,
- service_storage_file_list_h *dst_list);
+ service_storage_file_list_h *dst_list) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Destroys the file list handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_NONE Successful
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
-int service_storage_file_list_destroy(service_storage_file_list_h list);
+int service_storage_file_list_destroy(service_storage_file_list_h list) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets length of the file list handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
int service_storage_file_list_get_length(service_storage_file_list_h list,
- int *length);
+ int *length) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Foreach All of the file from file list
* @since_tizen 2.4
*
*/
int service_storage_file_list_foreach_file(service_storage_file_list_h list,
service_storage_file_cb callback,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Clones the file handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
int service_storage_file_clone(service_storage_file_h src_file,
- service_storage_file_h *dst_file);
+ service_storage_file_h *dst_file) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Destroys the file handle
* @details This function must be used for cloned file handle.
* @since_tizen 2.4
* @retval #SERVICE_ADAPTOR_ERROR_NONE Successful
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
-int service_storage_file_destroy(service_storage_file_h file);
+int service_storage_file_destroy(service_storage_file_h file) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets whether directory or file for file handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
int service_storage_file_is_dir(service_storage_file_h file,
- bool *is_dir);
+ bool *is_dir) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets size of handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_INVALID_PARAMETER Invalid parameter
*/
int service_storage_file_get_size(service_storage_file_h file,
- unsigned long long *size);
+ unsigned long long *size) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets logical path from file handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_NO_DATA There is no data
*/
int service_storage_file_get_logical_path(service_storage_file_h file,
- char **path);
+ char **path) TIZEN_DEPRECATED_API;
/**
+* @deprecated Deprecated since 3.0
* @brief Gets physical path from file handle
* @since_tizen 2.4
*
* @retval #SERVICE_ADAPTOR_ERROR_NO_DATA There is no data
*/
int service_storage_file_get_physical_path(service_storage_file_h file,
- char **path);
+ char **path) TIZEN_DEPRECATED_API;
/**
* @}