Add missing description for NOT_SUPPORTED error 59/242059/2 accepted/tizen/unified/20200828.121551 submit/tizen/20200827.063013 submit/tizen/20200828.021752
authorCheoleun Moon <chleun.moon@samsung.com>
Mon, 24 Aug 2020 01:41:36 +0000 (10:41 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Tue, 25 Aug 2020 05:53:09 +0000 (05:53 +0000)
Change-Id: Ic6f16373197f3a0444e1c58057e85ef5768414c2

include/net_connection.h

index 17253e2..bac6d31 100755 (executable)
@@ -300,6 +300,7 @@ typedef enum {
  * @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_destroy()
  */
 int connection_create(connection_h* connection);
@@ -314,6 +315,7 @@ int connection_create(connection_h* connection);
  * @retval #CONNECTION_ERROR_NONE                  Successful
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  * @see connection_create()
  */
 int connection_destroy(connection_h connection);
@@ -383,6 +385,7 @@ typedef bool(*connection_ipv6_address_cb)(char *ipv6_address, void *user_data);
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_get_type(connection_h connection, connection_type_e* type);
 
@@ -401,6 +404,7 @@ int connection_get_type(connection_h connection, connection_type_e* type);
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER              Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED               Operation failed
  * @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED   Not supported address family
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_get_ip_address(connection_h connection,
                connection_address_family_e address_family, char** ip_address);
@@ -420,6 +424,7 @@ int connection_get_ip_address(connection_h connection,
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER              Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED               Operation failed
  * @retval #CONNECTION_ERROR_ADDRESS_FAMILY_NOT_SUPPORTED   Not supported address family
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_get_proxy(connection_h connection,
                connection_address_family_e address_family, char** proxy);
@@ -703,6 +708,7 @@ int connection_get_bt_state(connection_h connection, connection_bt_state_e* stat
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_set_type_changed_cb(connection_h connection,
                connection_type_changed_cb callback, void* user_data);
@@ -718,6 +724,7 @@ int connection_set_type_changed_cb(connection_h connection,
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_unset_type_changed_cb(connection_h connection);
 
@@ -734,6 +741,7 @@ int connection_unset_type_changed_cb(connection_h connection);
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_set_ip_address_changed_cb(connection_h connection,
                connection_address_changed_cb callback, void* user_data);
@@ -749,6 +757,7 @@ int connection_set_ip_address_changed_cb(connection_h connection,
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_unset_ip_address_changed_cb(connection_h connection);
 
@@ -765,6 +774,7 @@ int connection_unset_ip_address_changed_cb(connection_h connection);
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_set_proxy_address_changed_cb(connection_h connection,
                connection_address_changed_cb callback, void* user_data);
@@ -780,6 +790,7 @@ int connection_set_proxy_address_changed_cb(connection_h connection,
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_unset_proxy_address_changed_cb(connection_h connection);
 
@@ -869,6 +880,7 @@ int connection_update_profile(connection_h connection, connection_profile_h prof
  * @retval #CONNECTION_ERROR_OUT_OF_MEMORY         Out of memory
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
  * @retval #CONNECTION_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_get_profile_iterator(connection_h connection,
                connection_iterator_type_e type, connection_profile_iterator_h* profile_iterator);
@@ -885,6 +897,7 @@ int connection_get_profile_iterator(connection_h connection,
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
  * @retval #CONNECTION_ERROR_ITERATOR_END          End of iteration
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_profile_iterator_next(connection_profile_iterator_h profile_iterator,
                connection_profile_h* profile);
@@ -915,6 +928,7 @@ bool connection_profile_iterator_has_next(connection_profile_iterator_h profile_
  * @retval #CONNECTION_ERROR_NONE                  Successful
  * @retval #CONNECTION_ERROR_NOT_INITIALIZED       Not initialized
  * @retval #CONNECTION_ERROR_INVALID_PARAMETER     Invalid parameter
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_destroy_profile_iterator(connection_profile_iterator_h profile_iterator);
 
@@ -936,6 +950,7 @@ int connection_destroy_profile_iterator(connection_profile_iterator_h profile_it
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
  * @retval #CONNECTION_ERROR_NO_CONNECTION         There is no connection
  * @retval #CONNECTION_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  */
 int connection_get_current_profile(connection_h connection, connection_profile_h* profile);
 
@@ -1068,6 +1083,7 @@ typedef void(*connection_reset_cb)(connection_error_e result, void* user_data);
  * @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
  * @post connection_opened_cb() will be invoked.
  * @see connection_opened_cb()
  * @see connection_close_profile()
@@ -1095,6 +1111,7 @@ int connection_open_profile(connection_h connection, connection_profile_h profil
  * @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
  * @post connection_closed_cb() will be invoked.
  * @see connection_closed_cb()
  * @see connection_open_profile()
@@ -1154,6 +1171,7 @@ int connection_reset_profile(connection_h connection, connection_reset_option_e
  * @retval #CONNECTION_ERROR_ALREADY_EXISTS        Already exists
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
  * @retval #CONNECTION_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  * @see connection_profile_get_network_interface_name()
  */
 int connection_add_route(connection_h connection, const char* interface_name,
@@ -1180,6 +1198,7 @@ int connection_add_route(connection_h connection, const char* interface_name,
  * @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
  * @see connection_profile_get_network_interface_name()
  */
 int connection_remove_route(connection_h connection, const char* interface_name,
@@ -1208,6 +1227,7 @@ int connection_remove_route(connection_h connection, const char* interface_name,
  * @retval #CONNECTION_ERROR_ALREADY_EXISTS        Already exists
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
  * @retval #CONNECTION_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  * @see connection_profile_get_network_interface_name()
  */
 int connection_add_route_ipv6(connection_h connection, const char *interface_name,
@@ -1235,6 +1255,7 @@ int connection_add_route_ipv6(connection_h connection, const char *interface_nam
  * @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
  * @see connection_profile_get_network_interface_name()
  */
 int connection_remove_route_ipv6(connection_h connection, const char *interface_name,
@@ -1264,6 +1285,7 @@ int connection_remove_route_ipv6(connection_h connection, const char *interface_
  * @retval #CONNECTION_ERROR_ALREADY_EXISTS        Already exists
  * @retval #CONNECTION_ERROR_OPERATION_FAILED      Operation failed
  * @retval #CONNECTION_ERROR_PERMISSION_DENIED     Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED         Not supported
  * @see connection_profile_get_network_interface_name()
  */
 int connection_add_route_entry(connection_h connection,
@@ -1293,6 +1315,7 @@ int connection_add_route_entry(connection_h connection,
  * @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
  * @see connection_profile_get_network_interface_name()
  */
 int connection_remove_route_entry(connection_h connection,