From: taesub kim Date: Wed, 19 Apr 2017 03:50:49 +0000 (+0900) Subject: Fix errors that could be returned X-Git-Tag: submit/tizen/20170419.041337^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F125807%2F1;p=platform%2Fcore%2Fapi%2Fconnection.git Fix errors that could be returned Change-Id: Id93463e01b4aae7055d99dd950c1c5dc17186126 Signed-off-by: Taesub Kim --- diff --git a/include/connection_profile.h b/include/connection_profile.h index 411c79c..07e0a58 100755 --- a/include/connection_profile.h +++ b/include/connection_profile.h @@ -214,6 +214,7 @@ typedef enum { * @retval #CONNECTION_ERROR_NONE Successful * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter * @retval #CONNECTION_ERROR_OUT_OF_MEMORY Out of memory + * @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission Denied * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported * @see connection_profile_destroy() * @see connection_profile_get_name() @@ -1129,7 +1130,6 @@ int connection_profile_set_cellular_pdn_type(connection_profile_h profile, conne * @retval #CONNECTION_ERROR_NONE Successful * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter * @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed - * @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission Denied * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not Supported */ int connection_profile_set_cellular_roam_pdn_type(connection_profile_h profile, connection_cellular_pdn_type_e type); diff --git a/include/net_connection.h b/include/net_connection.h index 9f90859..f506edf 100755 --- a/include/net_connection.h +++ b/include/net_connection.h @@ -1189,6 +1189,7 @@ int connection_foreach_ipv6_address(connection_h connection, connection_type_e c * @retval #CONNECTION_ERROR_NONE Successful * @retval #CONNECTION_ERROR_INVALID_PARAMETER Invalid parameter * @retval #CONNECTION_ERROR_OPERATION_FAILED Operation failed + * @retval #CONNECTION_ERROR_PERMISSION_DENIED Permission denied * @retval #CONNECTION_ERROR_NOT_SUPPORTED Not supported */ int connection_get_statistics(connection_h connection, connection_type_e connection_type,