* @details A Content Screening API handle (or CSR CS handle) is obtained by this method.
* The handle is required for subsequent CSR CS API calls.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a handle should be released using csr_cs_context_destroy().
* @remarks Multiple handles can be obtained.
* @param[out] handle A pointer of CSR CS context handle
* @partner
* @brief Releases all system resources associated with a Content Screening API handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @return #CSR_ERROR_NONE on success,
* otherwise a negative error value
* User can allow, disallow, and remove detected malware by popup.
* Selection can be different between malware's severity.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks This option is disabled(#CSR_CS_ASK_USER_NO) as a default.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] ask_user Popup option to set or unset
* @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."
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Meaningful only when ask user option is set by csr_cs_set_ask_user().
* @remarks The message will be printed on popup for user.
* @remarks Default popup message will be used if it isn't set.
* @partner
* @brief Sets a maximum core usage during scanning.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks If a core usage is not set, #CSR_CS_CORE_USAGE_DEFAULT will be used.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] usage A maximum core usage during scanning
* @partner
* @brief Sets a scan on cloud option.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Scan on cloud option is turned off as a default.
* @remarks If an engine does not support "scanning on cloud", this option is silently ignored.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @partner
* @brief Sets a callback function for the case that a file scan is completed.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Callback for asynchronous scan functions.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] callback A callback function for each file or application scanning done without any malware.
* @partner
* @brief Sets a callback function for detection of a malware.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Callback for asynchronous scan functions.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] callback A callback function for each file or application scanning done with malware detected
* @partner
* @brief Sets a callback function for scanning completed without an error.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Callback for asynchronous scan functions.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] callback A callback function for scanning completed successfully
* @partner
* @brief Sets a callback function for scanning cancelled.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Callback for asynchronous scan functions.
* @remarks Client can cancel asynchronous scanning by csr_cs_cancel_scanning().
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @partner
* @brief Sets a callback function for scanning stopped with an error.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Callback for asynchronous scan functions.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @param[in] callback A callback function for scanning stopped due to an error
* @partner
* @brief Cancels a running scanning task, asynchronously.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks Only for asynchronous scan functions.
* @param[in] handle CSR CS context handle returned by csr_cs_context_create()
* @return #CSR_ERROR_NONE on success,
* @partner
* @brief Extracts the severity of a detected malware from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @param[in] malware A detected malware handle returned by csr_cs_scan_data(),
* csr_cs_scan_file() or csr_cs_malware_list_get_malware()
* @param[out] severity A pointer of the severity of a detected malware
* @partner
* @brief Extracts the name of a detected malware from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a name must be released using free().
* @param[in] malware A detected malware handle
* @param[out] name A pointer of the name of a detected malware
* @partner
* @brief Extracts an url that contains detailed information on vendor's web site from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a detailed_url must be released using free().
* @param[in] malware A detected malware handle
* @param[out] detailed_url A pointer of an url that contains detailed information on
* @partner
* @brief Extracts the time stamp when a malware is detected from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @param[in] malware A detected malware handle
* @param[out] timestamp A pointer of the time stamp in milli second when a malware is detected
* @return #CSR_ERROR_NONE on success,
* @partner
* @brief Extracts the file name where a malware is detected from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a file_name must be released using free().
* @param[in] malware A detected malware handle
* @param[out] file_name A pointer of the file name where a malware is detected. The file name is null for csr_cs_scan_data()
* @partner
* @brief Extracts a user response of a popup from the detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @param[in] malware A detected malware handle
* @param[out] response A pointer of the user response
* @return #CSR_ERROR_NONE on success,
* @partner
* @brief Checks if a malware was detected in an application or in a file.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @param[in] malware A detected malware handle
* @param[out] is_app A pointer of a flag indicating the position where a malware was detected.
* @return #CSR_ERROR_NONE on success,
* @partner
* @brief Extracts the package id of an application where a malware is detected from detected malware handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a pkg_id must be released using free().
* @param[in] malware A detected malware handle
* @param[out] pkg_id A pointer of the package id where a malware is detected.
* @partner
* @brief Extracts the detected malware handle from the detected malware list handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.scan
* @remarks @a malware will be released when a context is released using csr_cs_context_destroy().
* @param[in] list A detected malware list handle returned by csr_cs_get_detected_malwares() or csr_cs_get_ignored_malwares()
* @param[in] index An index of a target detected malware handle to get
* @details A Web Protection API handle (or CSR WP handle) is obtained by this method.
* The handle is required for subsequent CSR WP API calls.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @remarks @a handle should be released using csr_wp_context_destroy().
* @remarks Multiple handles can be obtained.
* @param[out] handle A pointer of CSR WP context handle
* @partner
* @brief Releases all system resources associated with a Web Protection API handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @param[in] handle CSR WP context handle returned by csr_wp_context_create()
* @return #CSR_ERROR_NONE on success,
* otherwise a negative error value
* @details If #CSR_WP_ASK_USER_YES is set, a popup will be prompted to a user when a URL turns out risky.
* If #CSR_WP_ASK_USER_NO is set, no popup will be prompted even when a URL turns out risky.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @remarks This option is disabled(#CSR_WP_ASK_USER_NO) as a default.
* @param[in] handle CSR WP context handle returned by csr_wp_context_create()
* @param[in] ask_user A popup option in case for a risky URL
* @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".
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @remarks Meaningful only when ask user option is set by csr_wp_set_ask_user().
* @remarks The message will be printed on popup for user.
* @remarks Default popup message will be used if it isn't set.
* @partner
* @brief Extracts a risk level of the url from the result handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @param[in] result A result handle returned by csr_wp_check_url()
* @param[out] level A pointer of the risk level for the given URL
* @return #CSR_ERROR_NONE on success,
* @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
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @remarks @a detailed_url must be released using free().
* @param[in] result A result handle returned by csr_wp_check_url()
* @param[out] detailed_url A pointer of an url that contains detailed information about the risk
* @partner
* @brief Extracts a user response of a popup from the result handle.
* @since_tizen 3.0
+ * @privlevel partner
+ * @privilege %http://tizen.org/privilege/antivirus.webprotect
* @param[in] result A result handle returned by csr_wp_check_url()
* @param[out] response A pointer of the user response
* @return #CSR_ERROR_NONE on success,