Deprecate csr framework APIs 39/291539/2 accepted/tizen/unified/20230425.130133
authorSangwan Kwon <sangwan.kwon@samsung.com>
Tue, 18 Apr 2023 06:14:36 +0000 (15:14 +0900)
committerSangwan Kwon <sangwan.kwon@samsung.com>
Wed, 19 Apr 2023 01:00:51 +0000 (10:00 +0900)
Change-Id: I8cb651f56d8839b686a0c219f4aba3fbadfa97dd
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
doc/csr-framework_doc.h
src/include/csr/csr-content-screening-types.h
src/include/csr/csr-content-screening.h
src/include/csr/csr-error.h
src/include/csr/csr-web-protection-types.h
src/include/csr/csr-web-protection.h

index c9faf60..fc0383c 100644 (file)
@@ -19,7 +19,7 @@
 
 /**
  * @ingroup CAPI_SECURITY_FRAMEWORK
- * @defgroup CAPI_CSR_FRAMEWORK_MODULE CSR
+ * @defgroup CAPI_CSR_FRAMEWORK_MODULE CSR (Deprecated)
  * @brief The CSR (Content Screening & Reputation) is an anti malware module. It provides Content Screening Service and Web Protection Service to protect a device and an user.
  * @section CAPI_CSR_FRAMEWORK_MODULE_OVERVIEW Overview
  * <table>
index 0d52e25..78e03c6 100644 (file)
@@ -37,6 +37,7 @@ extern "C" {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for severity level of a detected malware.
  * @since_tizen 3.0
@@ -49,6 +50,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for the option of asking user about handling a detected malware.
  * @since_tizen 3.0
@@ -60,6 +62,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for the user response from popup.
  * @since_tizen 3.0
@@ -73,6 +76,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for the action types for the detected malware files.
  * @since_tizen 3.0
@@ -85,6 +89,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for maximum core usage during scanning.
  * @since_tizen 3.0
@@ -98,6 +103,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Content screening APIs context handle.
  * @since_tizen 3.0
@@ -106,6 +112,7 @@ typedef struct __csr_cs_context_s *csr_cs_context_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Detected malware handle.
  * @since_tizen 3.0
@@ -114,6 +121,7 @@ typedef struct __csr_cs_malware_s *csr_cs_malware_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Detected malware list handle.
  * @since_tizen 3.0
@@ -122,6 +130,7 @@ typedef struct __csr_cs_malware_list_s *csr_cs_malware_list_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Engine info handle.
  * @since_tizen 3.0
@@ -130,6 +139,7 @@ typedef struct __csr_cs_engine_s *csr_cs_engine_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Called when each file scanning is done without malware.
  * @since_tizen 3.0
@@ -146,6 +156,7 @@ typedef void (*csr_cs_file_scanned_cb)(const char *file_path, void *user_data);
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Called when each file scanning is done with malware.
  * @since_tizen 3.0
@@ -163,6 +174,7 @@ typedef void (*csr_cs_detected_cb)(csr_cs_malware_h malware, void *user_data);
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Called when scanning is finished successfully.
  * @since_tizen 3.0
@@ -178,6 +190,7 @@ typedef void (*csr_cs_completed_cb)(void *user_data);
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Called when scanning is cancelled by csr_cs_cancel_scanning().
  * @since_tizen 3.0
@@ -194,6 +207,7 @@ typedef void (*csr_cs_cancelled_cb)(void *user_data);
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Called when scanning is stopped with an error.
  * @details The following error codes can be delivered.\n
index 344a2fe..9e01594 100644 (file)
@@ -45,6 +45,7 @@ extern "C" {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Initializes and returns a Content Screening API handle.
  * @details A Content Screening API handle (or CSR CS handle) is obtained by this method.
@@ -63,10 +64,11 @@ extern "C" {
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_cs_context_destroy()
  */
-int csr_cs_context_create(csr_cs_context_h *handle);
+int csr_cs_context_create(csr_cs_context_h *handle) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Releases all system resources associated with a Content Screening API handle.
  * @since_tizen 3.0
@@ -81,10 +83,11 @@ int csr_cs_context_create(csr_cs_context_h *handle);
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_cs_context_create()
  */
-int csr_cs_context_destroy(csr_cs_context_h handle);
+int csr_cs_context_destroy(csr_cs_context_h handle) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a popup option for malware detected.
  * @details If #CSR_CS_ASK_USER_YES is set, a popup will be prompted to a user when a malware is detected.
@@ -106,10 +109,11 @@ int csr_cs_context_destroy(csr_cs_context_h handle);
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_set_ask_user(csr_cs_context_h handle, csr_cs_ask_user_e ask_user);
+int csr_cs_set_ask_user(csr_cs_context_h handle, csr_cs_ask_user_e ask_user) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a popup message of a client in case that a malware is detected.
  * @details Default message is "Malware which may harm your device is detected."
@@ -130,10 +134,11 @@ int csr_cs_set_ask_user(csr_cs_context_h handle, csr_cs_ask_user_e ask_user);
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_set_popup_message(csr_cs_context_h handle, const char *message);
+int csr_cs_set_popup_message(csr_cs_context_h handle, const char *message) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a maximum core usage during scanning.
  * @since_tizen 3.0
@@ -151,10 +156,11 @@ int csr_cs_set_popup_message(csr_cs_context_h handle, const char *message);
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_set_core_usage(csr_cs_context_h handle, csr_cs_core_usage_e usage);
+int csr_cs_set_core_usage(csr_cs_context_h handle, csr_cs_core_usage_e usage) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a scan on cloud option.
  * @since_tizen 3.0
@@ -172,10 +178,11 @@ int csr_cs_set_core_usage(csr_cs_context_h handle, csr_cs_core_usage_e usage);
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_set_scan_on_cloud(csr_cs_context_h handle, bool scan_on_cloud);
+int csr_cs_set_scan_on_cloud(csr_cs_context_h handle, bool scan_on_cloud) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Scans a data buffer for malware.
  * @details @a malware result of this method is not available for being judged by
@@ -210,10 +217,11 @@ int csr_cs_set_scan_on_cloud(csr_cs_context_h handle, bool scan_on_cloud);
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_scan_data(csr_cs_context_h handle, const unsigned char *data, size_t length, csr_cs_malware_h *malware);
+int csr_cs_scan_data(csr_cs_context_h handle, const unsigned char *data, size_t length, csr_cs_malware_h *malware) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Scans a file specified by file path for malware.
  * @since_tizen 3.0
@@ -250,10 +258,11 @@ int csr_cs_scan_data(csr_cs_context_h handle, const unsigned char *data, size_t
  * @see csr_cs_context_create()
  * @see csr_cs_context_destroy()
  */
-int csr_cs_scan_file(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware);
+int csr_cs_scan_file(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a callback function for the case that a file scan is completed.
  * @since_tizen 3.0
@@ -272,10 +281,11 @@ int csr_cs_scan_file(csr_cs_context_h handle, const char *file_path, csr_cs_malw
  * @see csr_cs_scan_dir_async()
  * @see csr_cs_scan_dirs_async()
  */
-int csr_cs_set_file_scanned_cb(csr_cs_context_h handle, csr_cs_file_scanned_cb callback);
+int csr_cs_set_file_scanned_cb(csr_cs_context_h handle, csr_cs_file_scanned_cb callback) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a callback function for detection of a malware.
  * @since_tizen 3.0
@@ -294,10 +304,11 @@ int csr_cs_set_file_scanned_cb(csr_cs_context_h handle, csr_cs_file_scanned_cb c
  * @see csr_cs_scan_dir_async()
  * @see csr_cs_scan_dirs_async()
  */
-int csr_cs_set_detected_cb(csr_cs_context_h handle, csr_cs_detected_cb callback);
+int csr_cs_set_detected_cb(csr_cs_context_h handle, csr_cs_detected_cb callback) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a callback function for scanning completed without an error.
  * @since_tizen 3.0
@@ -316,10 +327,11 @@ int csr_cs_set_detected_cb(csr_cs_context_h handle, csr_cs_detected_cb callback)
  * @see csr_cs_scan_dir_async()
  * @see csr_cs_scan_dirs_async()
  */
-int csr_cs_set_completed_cb(csr_cs_context_h handle, csr_cs_completed_cb callback);
+int csr_cs_set_completed_cb(csr_cs_context_h handle, csr_cs_completed_cb callback) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a callback function for scanning cancelled.
  * @since_tizen 3.0
@@ -340,10 +352,11 @@ int csr_cs_set_completed_cb(csr_cs_context_h handle, csr_cs_completed_cb callbac
  * @see csr_cs_scan_dirs_async()
  * @see csr_cs_cancel_scanning()
  */
-int csr_cs_set_cancelled_cb(csr_cs_context_h handle, csr_cs_cancelled_cb callback);
+int csr_cs_set_cancelled_cb(csr_cs_context_h handle, csr_cs_cancelled_cb callback) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a callback function for scanning stopped with an error.
  * @since_tizen 3.0
@@ -362,10 +375,11 @@ int csr_cs_set_cancelled_cb(csr_cs_context_h handle, csr_cs_cancelled_cb callbac
  * @see csr_cs_scan_dir_async()
  * @see csr_cs_scan_dirs_async()
  */
-int csr_cs_set_error_cb(csr_cs_context_h handle, csr_cs_error_cb callback);
+int csr_cs_set_error_cb(csr_cs_context_h handle, csr_cs_error_cb callback) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Scan files specified by an array of file paths for malware.
  * @details If scanning of the single file is done without detected malware,
@@ -417,10 +431,11 @@ int csr_cs_set_error_cb(csr_cs_context_h handle, csr_cs_error_cb callback);
  * @see csr_cs_set_error_cb()
  * @see csr_cs_cancel_scanning()
  */
-int csr_cs_scan_files_async(csr_cs_context_h handle, const char *file_paths[], size_t count, void *user_data);
+int csr_cs_scan_files_async(csr_cs_context_h handle, const char *file_paths[], size_t count, void *user_data) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Scans a directory specified by directory path for malware.
  * @details If scanning of the single file is done without detected malware,
@@ -472,10 +487,11 @@ int csr_cs_scan_files_async(csr_cs_context_h handle, const char *file_paths[], s
  * @see csr_cs_set_error_cb()
  * @see csr_cs_cancel_scanning()
  */
-int csr_cs_scan_dir_async(csr_cs_context_h handle, const char *dir_path, void *user_data);
+int csr_cs_scan_dir_async(csr_cs_context_h handle, const char *dir_path, void *user_data) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Scan directories specified by an array of directory paths for malware.
  * @details If scanning of the single file is done without detected malware,
@@ -528,10 +544,11 @@ int csr_cs_scan_dir_async(csr_cs_context_h handle, const char *dir_path, void *u
  * @see csr_cs_set_error_cb()
  * @see csr_cs_cancel_scanning()
  */
-int csr_cs_scan_dirs_async(csr_cs_context_h handle, const char *dir_paths[], size_t count, void *user_data);
+int csr_cs_scan_dirs_async(csr_cs_context_h handle, const char *dir_paths[], size_t count, void *user_data) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Cancels a running scanning task, asynchronously.
  * @since_tizen 3.0
@@ -549,10 +566,11 @@ int csr_cs_scan_dirs_async(csr_cs_context_h handle, const char *dir_paths[], siz
  * @see csr_cs_scan_dir_async()
  * @see csr_cs_scan_dirs_async()
  */
-int csr_cs_cancel_scanning(csr_cs_context_h handle);
+int csr_cs_cancel_scanning(csr_cs_context_h handle) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the severity of a detected malware from the detected malware handle.
  * @since_tizen 3.0
@@ -568,10 +586,11 @@ int csr_cs_cancel_scanning(csr_cs_context_h handle);
  * @retval #CSR_ERROR_INVALID_PARAMETER @a severity is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_severity(csr_cs_malware_h malware, csr_cs_severity_level_e *severity);
+int csr_cs_malware_get_severity(csr_cs_malware_h malware, csr_cs_severity_level_e *severity) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the name of a detected malware from the detected malware handle.
  * @since_tizen 3.0
@@ -587,10 +606,11 @@ int csr_cs_malware_get_severity(csr_cs_malware_h malware, csr_cs_severity_level_
  * @retval #CSR_ERROR_INVALID_PARAMETER @a name is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_name(csr_cs_malware_h malware, char **name);
+int csr_cs_malware_get_name(csr_cs_malware_h malware, char **name) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts an url that contains detailed information on vendor's web site from the detected malware handle.
  * @since_tizen 3.0
@@ -607,10 +627,11 @@ int csr_cs_malware_get_name(csr_cs_malware_h malware, char **name);
  * @retval #CSR_ERROR_INVALID_PARAMETER @a detailed_url is invalid.
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_detailed_url(csr_cs_malware_h malware, char **detailed_url);
+int csr_cs_malware_get_detailed_url(csr_cs_malware_h malware, char **detailed_url) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the time stamp when a malware is detected from the detected malware handle.
  * @since_tizen 3.0
@@ -625,10 +646,11 @@ int csr_cs_malware_get_detailed_url(csr_cs_malware_h malware, char **detailed_ur
  * @retval #CSR_ERROR_INVALID_PARAMETER @a timestamp is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_timestamp(csr_cs_malware_h malware, time_t *timestamp);
+int csr_cs_malware_get_timestamp(csr_cs_malware_h malware, time_t *timestamp) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the file name where a malware is detected from the detected malware handle.
  * @since_tizen 3.0
@@ -644,10 +666,11 @@ int csr_cs_malware_get_timestamp(csr_cs_malware_h malware, time_t *timestamp);
  * @retval #CSR_ERROR_INVALID_PARAMETER @a file_name is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_file_name(csr_cs_malware_h malware, char **file_name);
+int csr_cs_malware_get_file_name(csr_cs_malware_h malware, char **file_name) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts a user response of a popup from the detected malware handle.
  * @since_tizen 3.0
@@ -662,10 +685,11 @@ int csr_cs_malware_get_file_name(csr_cs_malware_h malware, char **file_name);
  * @retval #CSR_ERROR_INVALID_PARAMETER @a response is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_user_response(csr_cs_malware_h malware, csr_cs_user_response_e *response);
+int csr_cs_malware_get_user_response(csr_cs_malware_h malware, csr_cs_user_response_e *response) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Checks if a malware was detected in an application or in a file.
  * @since_tizen 3.0
@@ -680,10 +704,11 @@ int csr_cs_malware_get_user_response(csr_cs_malware_h malware, csr_cs_user_respo
  * @retval #CSR_ERROR_INVALID_PARAMETER @a is_app is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_is_app(csr_cs_malware_h malware, bool *is_app);
+int csr_cs_malware_is_app(csr_cs_malware_h malware, bool *is_app) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the package id of an application where a malware is detected from detected malware handle.
  * @since_tizen 3.0
@@ -700,10 +725,11 @@ int csr_cs_malware_is_app(csr_cs_malware_h malware, bool *is_app);
  * @retval #CSR_ERROR_INVALID_PARAMETER @a pkg_id is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_get_pkg_id(csr_cs_malware_h malware, char **pkg_id);
+int csr_cs_malware_get_pkg_id(csr_cs_malware_h malware, char **pkg_id) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @platform
  * @brief Judges how a detected malware file is handled.
  * @details Detected malware will be removed by #CSR_CS_ACTION_REMOVE action.
@@ -733,10 +759,11 @@ int csr_cs_malware_get_pkg_id(csr_cs_malware_h malware, char **pkg_id);
  * @retval #CSR_ERROR_REMOVE_FAILED Removing file or application is failed
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_judge_detected_malware(csr_cs_context_h handle, csr_cs_malware_h malware, csr_cs_action_e action);
+int csr_cs_judge_detected_malware(csr_cs_context_h handle, csr_cs_malware_h malware, csr_cs_action_e action) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Gets information on a detected malware file specified by file path.
  * @since_tizen 3.0
@@ -763,10 +790,11 @@ int csr_cs_judge_detected_malware(csr_cs_context_h handle, csr_cs_malware_h malw
  * @see csr_cs_scan_file()
  * @see csr_cs_detected_cb
  */
-int csr_cs_get_detected_malware(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware);
+int csr_cs_get_detected_malware(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Gets information on a detected malware files specified by directory path.
  * @since_tizen 3.0
@@ -791,10 +819,11 @@ int csr_cs_get_detected_malware(csr_cs_context_h handle, const char *file_path,
  * @retval #CSR_ERROR_DB DB transaction error
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_get_detected_malwares(csr_cs_context_h handle, const char *dir_paths[], size_t count, csr_cs_malware_list_h *list, size_t *list_count);
+int csr_cs_get_detected_malwares(csr_cs_context_h handle, const char *dir_paths[], size_t count, csr_cs_malware_list_h *list, size_t *list_count) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Gets information on a ignored malware file specified by file path.
  * @since_tizen 3.0
@@ -817,10 +846,11 @@ int csr_cs_get_detected_malwares(csr_cs_context_h handle, const char *dir_paths[
  * @retval #CSR_ERROR_DB DB transaction error
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_get_ignored_malware(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware);
+int csr_cs_get_ignored_malware(csr_cs_context_h handle, const char *file_path, csr_cs_malware_h *malware) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Gets information on ignored malware files specified by directory path.
  * @since_tizen 3.0
@@ -845,10 +875,11 @@ int csr_cs_get_ignored_malware(csr_cs_context_h handle, const char *file_path, c
  * @retval #CSR_ERROR_DB DB transaction error
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_get_ignored_malwares(csr_cs_context_h handle, const char *dir_paths[], size_t count, csr_cs_malware_list_h *list, size_t *list_count);
+int csr_cs_get_ignored_malwares(csr_cs_context_h handle, const char *dir_paths[], size_t count, csr_cs_malware_list_h *list, size_t *list_count) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts the detected malware handle from the detected malware list handle.
  * @since_tizen 3.0
@@ -865,7 +896,7 @@ int csr_cs_get_ignored_malwares(csr_cs_context_h handle, const char *dir_paths[]
  * @retval #CSR_ERROR_INVALID_PARAMETER @a index or @a malware is invalid
  * @retval #CSR_ERROR_SYSTEM System error
  */
-int csr_cs_malware_list_get_malware(csr_cs_malware_list_h list, size_t index, csr_cs_malware_h *malware);
+int csr_cs_malware_list_get_malware(csr_cs_malware_list_h list, size_t index, csr_cs_malware_h *malware) TIZEN_DEPRECATED_API;
 
 
 /**
index 449b746..8143fd3 100644 (file)
@@ -46,6 +46,7 @@ extern "C" {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for CSR Errors.
  * @since_tizen 3.0
index 3747e5e..b127413 100644 (file)
@@ -37,6 +37,7 @@ extern "C" {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief CSR WP context handle.
  * @since_tizen 3.0
@@ -45,6 +46,7 @@ typedef struct __csr_wp_context_s *csr_wp_context_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief CSR WP scan result handle.
  * @since_tizen 3.0
@@ -53,6 +55,7 @@ typedef struct __csr_wp_check_result_h *csr_wp_check_result_h;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for the options about prompting a popup to a user.
  * @since_tizen 3.0
@@ -64,6 +67,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for the user response for a popup.
  * @since_tizen 3.0
@@ -76,6 +80,7 @@ typedef enum {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Enumeration for risk level of a url.
  * @since_tizen 3.0
index 5666e95..30d9f38 100644 (file)
@@ -41,6 +41,7 @@ extern "C" {
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Initializes and returns a CSR Web Protection API handle.
  * @details A Web Protection API handle (or CSR WP handle) is obtained by this method.
@@ -59,10 +60,11 @@ extern "C" {
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_context_destroy()
  */
-int csr_wp_context_create(csr_wp_context_h *handle);
+int csr_wp_context_create(csr_wp_context_h *handle) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Releases all system resources associated with a Web Protection API handle.
  * @since_tizen 3.0
@@ -79,10 +81,11 @@ int csr_wp_context_create(csr_wp_context_h *handle);
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_context_create()
  */
-int csr_wp_context_destroy(csr_wp_context_h handle);
+int csr_wp_context_destroy(csr_wp_context_h handle) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a popup option for risky URL checked.
  * @details If #CSR_WP_ASK_USER_YES is set, a popup will be prompted to a user when a URL turns out risky.
@@ -101,10 +104,11 @@ int csr_wp_context_destroy(csr_wp_context_h handle);
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_context_create()
  */
-int csr_wp_set_ask_user(csr_wp_context_h handle, csr_wp_ask_user_e ask_user);
+int csr_wp_set_ask_user(csr_wp_context_h handle, csr_wp_ask_user_e ask_user) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Sets a popup message of a client in case for a risky URL.
  * @details Default message is "Risky URL which may harm your device is detected".
@@ -124,10 +128,11 @@ int csr_wp_set_ask_user(csr_wp_context_h handle, csr_wp_ask_user_e ask_user);
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_context_create()
  */
-int csr_wp_set_popup_message(csr_wp_context_h handle, const char *message);
+int csr_wp_set_popup_message(csr_wp_context_h handle, const char *message) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Checks URL reputation against the engine vendor's database.
  * @details Checks whether accessing the URL is risky or not and returns a result handle with the risk level for the URL.
@@ -159,10 +164,11 @@ int csr_wp_set_popup_message(csr_wp_context_h handle, const char *message);
  * @see csr_wp_set_ask_user()
  * @see csr_wp_set_popup_message()
  */
-int csr_wp_check_url(csr_wp_context_h handle, const char *url, csr_wp_check_result_h *result);
+int csr_wp_check_url(csr_wp_context_h handle, const char *url, csr_wp_check_result_h *result) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts a risk level of the url from the result handle.
  * @since_tizen 3.0
@@ -178,10 +184,11 @@ int csr_wp_check_url(csr_wp_context_h handle, const char *url, csr_wp_check_resu
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_check_url()
  */
-int csr_wp_result_get_risk_level(csr_wp_check_result_h result, csr_wp_risk_level_e *level);
+int csr_wp_result_get_risk_level(csr_wp_check_result_h result, csr_wp_risk_level_e *level) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts an url of vendor's web site that contains detailed information about the risk from the result handle.
  * @since_tizen 3.0
@@ -200,10 +207,11 @@ int csr_wp_result_get_risk_level(csr_wp_check_result_h result, csr_wp_risk_level
  * @retval #CSR_ERROR_SYSTEM System error
  * @see csr_wp_check_url()
  */
-int csr_wp_result_get_detailed_url(csr_wp_check_result_h result, char **detailed_url);
+int csr_wp_result_get_detailed_url(csr_wp_check_result_h result, char **detailed_url) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 7.5.
  * @partner
  * @brief Extracts a user response of a popup from the result handle.
  * @since_tizen 3.0
@@ -220,7 +228,7 @@ int csr_wp_result_get_detailed_url(csr_wp_check_result_h result, char **detailed
  * @see csr_wp_check_url()
  * @see #csr_wp_user_response_e
  */
-int csr_wp_result_get_user_response(csr_wp_check_result_h result, csr_wp_user_response_e *response);
+int csr_wp_result_get_user_response(csr_wp_check_result_h result, csr_wp_user_response_e *response) TIZEN_DEPRECATED_API;
 
 
 /**