From 89aef3563c43ea9474390450b121b70761da361c Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Tue, 21 Jun 2016 13:14:04 +0900 Subject: [PATCH] Add description for CSR_ERROR_USER_RESPONSE_FAILED Change-Id: I963881ec783e2cca2aae015a2c2fef17ddaa4f7a Signed-off-by: Kyungwook Tak --- src/include/csr/csr-content-screening.h | 11 ++++++++--- src/include/csr/csr-web-protection.h | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/include/csr/csr-content-screening.h b/src/include/csr/csr-content-screening.h index 593d451..618f03d 100644 --- a/src/include/csr/csr-content-screening.h +++ b/src/include/csr/csr-content-screening.h @@ -220,6 +220,8 @@ int csr_cs_set_scan_on_cloud(csr_cs_context_h handle, bool scan_on_cloud); * @retval #CSR_ERROR_NOT_SUPPORTED Device needed to run API is not supported * @retval #CSR_ERROR_SOCKET Socket error between client and server * @retval #CSR_ERROR_SERVER Server has been failed for some reason + * @retval #CSR_ERROR_USER_RESPONSE_FAILED Getting user response is failed. + * @a malware will be allocated on this error * @retval #CSR_ERROR_ENGINE_NOT_EXIST No engine exists * @retval #CSR_ERROR_ENGINE_DISABLED Engine is in disabled state * @retval #CSR_ERROR_ENGINE_NOT_ACTIVATED Engine is not activated @@ -260,9 +262,11 @@ int csr_cs_scan_data(csr_cs_context_h handle, const unsigned char *data, size_t * @retval #CSR_ERROR_PERMISSION_DENIED Access denied * @retval #CSR_ERROR_NOT_SUPPORTED Device needed to run API is not supported * @retval #CSR_ERROR_DB DB transaction error - * @retval #CSR_ERROR_REMOVE_FAILED File remove failed when malware exist and - * user select to remove by popup. @a malware - * will be allocated on this error unlike others. + * @retval #CSR_ERROR_REMOVE_FAILED Removing file or application is failed when + * malware exist and user select to remove by popup. + * @a malware will be allocated on this error + * @retval #CSR_ERROR_USER_RESPONSE_FAILED Getting user response is failed. + * @a malware will be allocated on this error * @retval #CSR_ERROR_FILE_DO_NOT_EXIST File not found * @retval #CSR_ERROR_SOCKET Socket error between client and server * @retval #CSR_ERROR_SERVER Server has been failed for some reason @@ -814,6 +818,7 @@ int csr_cs_malware_get_pkg_id(csr_cs_malware_h malware, char **pkg_id); * @retval #CSR_ERROR_SOCKET Socket error between client and server * @retval #CSR_ERROR_SERVER Server has been failed for some reason * @retval #CSR_ERROR_DB DB transaction error + * @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, diff --git a/src/include/csr/csr-web-protection.h b/src/include/csr/csr-web-protection.h index 7b98bc5..b1ff268 100644 --- a/src/include/csr/csr-web-protection.h +++ b/src/include/csr/csr-web-protection.h @@ -162,6 +162,8 @@ int csr_wp_set_popup_message(csr_wp_context_h handle, const char *message); * @retval #CSR_ERROR_INVALID_PARAMETER @a url or @a result is invalid * @retval #CSR_ERROR_SOCKET Socket error between client and server * @retval #CSR_ERROR_SERVER Server has been failed for some reason + * @retval #CSR_ERROR_USER_RESPONSE_FAILED Getting user response is failed. + * @a result will be allocated on this error * @retval #CSR_ERROR_ENGINE_NOT_EXIST No engine exists * @retval #CSR_ERROR_ENGINE_DISABLED Engine is in disabled state * @retval #CSR_ERROR_ENGINE_NOT_ACTIVATED Engine is not activated -- 2.7.4