Correct the classification of some APIs 44/186944/2 accepted/tizen/4.0/unified/20180904.002645 submit/tizen_4.0/20180817.034424 submit/tizen_4.0/20180830.041543
authorJaehyun Kim <jeik01.kim@samsung.com>
Thu, 16 Aug 2018 12:26:52 +0000 (21:26 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Thu, 16 Aug 2018 12:32:50 +0000 (21:32 +0900)
Change-Id: Ib5cb86aa8ad8255a4629feca97164b38dfd4c5c1
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
include/wifi-manager.h

index 5e2c67f159a3ab14ba22b69f5e0ca21cb1b920ac..9ed1281d388d152cc1d3b53da2422da52c67af25 100755 (executable)
@@ -2543,6 +2543,130 @@ int wifi_manager_ap_get_dns_address(wifi_manager_ap_h ap,
 int wifi_manager_ap_set_dns_address(wifi_manager_ap_h ap,
                int order, wifi_manager_address_family_e address_family, const char *dns_address);
 
+/**
+ * @brief Gets the DNS config type.
+ * @since_tizen 4.0
+ * @param[in] ap              The access point handle
+ * @param[in] address_family  The address family
+ * @param[out] type           The DNS config type
+ * @return 0 on success, otherwise negative error value.
+ * @retval #WIFI_MANAGER_ERROR_NONE               Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED   Operation failed
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED      Not supported
+ */
+int wifi_manager_ap_get_dns_config_type(wifi_manager_ap_h ap,
+               wifi_manager_address_family_e address_family, wifi_manager_dns_config_type_e *type);
+
+/**
+ * @brief Sets the DNS config type.
+ * @since_tizen 4.0
+ * @param[in] ap              The access point handle
+ * @param[in] address_family  The address family
+ * @param[in] type            The DNS config type
+ * @return 0 on success, otherwise negative error value.
+ * @retval #WIFI_MANAGER_ERROR_NONE               Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED   Operation failed
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED      Not supported
+ * @see wifi_manager_update_ap()
+ */
+int wifi_manager_ap_set_dns_config_type(wifi_manager_ap_h ap,
+               wifi_manager_address_family_e address_family, wifi_manager_dns_config_type_e type);
+
+/**
+ * @brief Gets the network prefix length.
+ * @since_tizen 4.0
+ * @param[in] ap              The access point handle
+ * @param[in] address_family  The address family
+ * @param[out] prefix_len     The network prefix length. \n
+ *                            In case of IPv4, it means netmask length \n
+ *                            (also called a prefix, e.g. 8, 16, 24, 32)
+ * @return 0 on success, otherwise negative error value.
+ * @retval #WIFI_MANAGER_ERROR_NONE                   Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER      Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED  Not supported
+ */
+int wifi_manager_ap_get_prefix_length(wifi_manager_ap_h ap,
+               wifi_manager_address_family_e address_family, int *prefix_len);
+
+/**
+ * @brief Sets the network prefix length.
+ * @since_tizen 4.0
+ * @param[in] ap              The access point handle
+ * @param[in] address_family  The address family
+ * @param[in] prefix_len      The network prefix length. \n
+ *                            In case of IPv4, it means netmask length \n
+ *                            (also called a prefix, e.g. 8, 16, 24, 32)
+ * @return 0 on success, otherwise negative error value.
+ * @retval #WIFI_MANAGER_ERROR_NONE                   Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER      Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED  Not supported
+ * @see wifi_manager_update_ap()
+ */
+int wifi_manager_ap_set_prefix_length(wifi_manager_ap_h ap,
+               wifi_manager_address_family_e address_family, int prefix_len);
+
+/**
+ * @brief Gets the Wi-Fi disconnect reason from the supplicant.
+ * @since_tizen 3.0
+ * @param[in] ap                    The access point handle
+ * @param[out] disconnect_reason    The supplicant disconnect reason
+ * @return 0 on success, otherwise negative error value
+ * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED     Operation failed
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
+ */
+int wifi_manager_ap_get_disconnect_reason(wifi_manager_ap_h ap,
+               wifi_manager_disconnect_reason_e *disconnect_reason);
+
+/**
+ * @brief Gets the error state.
+ * @since_tizen 4.0
+ * @param[in] ap              The access point handle
+ * @param[out] error_state    The Wi-Fi connection error state
+ * @return 0 on success, otherwise negative error value
+ * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_OPERATION    Invalid operation
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
+ */
+int wifi_manager_ap_get_error_state(wifi_manager_ap_h ap, wifi_manager_error_e *error_state);
+
+/**
+ * @brief Gets the Wi-Fi Association Status Code from the supplicant.
+ * @since_tizen 5.0
+ * @param[in] ap              The access point handle
+ * @param[out] status_code    The supplicant Wi-Fi association status code
+ * @return 0 on success, otherwise negative error value
+ * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_OPERATION    Invalid operation
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
+ */
+
+int wifi_manager_ap_get_assoc_status_code(wifi_manager_ap_h ap,
+               wifi_manager_assoc_status_code_e *status_code);
+
+/**
+ * @brief Gets the VSIE result of the AP.
+ * @since_tizen 5.0
+ * @remarks You must release @a vsie using free().
+ *
+ * @param[in] ap               The access point handle
+ * @param[out] vsie            The vendor specific information element
+ * @param[out] length          The VSIE length
+ *
+ * @return 0 on success, otherwise negative error value
+ * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
+ * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #WIFI_MANAGER_ERROR_OUT_OF_MEMORY        Out of memory
+ * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
+ */
+int wifi_manager_ap_get_vsie(wifi_manager_ap_h ap,
+               char **vsie, int *length);
+
 /**
 * @}
 */
@@ -2843,130 +2967,6 @@ int wifi_manager_ap_get_eap_auth_type(wifi_manager_ap_h ap, wifi_manager_eap_aut
  */
 int wifi_manager_ap_set_eap_auth_type(wifi_manager_ap_h ap, wifi_manager_eap_auth_type_e type);
 
-
-/**
- * @brief Gets the Wi-Fi disconnect reason from the supplicant.
- * @since_tizen 3.0
- * @param[in] ap                    The access point handle
- * @param[out] disconnect_reason    The supplicant disconnect reason
- * @return 0 on success, otherwise negative error value
- * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED     Operation failed
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
- */
-int wifi_manager_ap_get_disconnect_reason(wifi_manager_ap_h ap,
-                                                       wifi_manager_disconnect_reason_e *disconnect_reason);
-/**
- * @brief Gets the DNS config type.
- * @since_tizen 4.0
- * @param[in] ap              The access point handle
- * @param[in] address_family  The address family
- * @param[out] type           The DNS config type
- * @return 0 on success, otherwise negative error value.
- * @retval #WIFI_MANAGER_ERROR_NONE               Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED   Operation failed
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED      Not supported
- */
-int wifi_manager_ap_get_dns_config_type(wifi_manager_ap_h ap,
-               wifi_manager_address_family_e address_family, wifi_manager_dns_config_type_e *type);
-
-/**
- * @brief Sets the DNS config type.
- * @since_tizen 4.0
- * @param[in] ap              The access point handle
- * @param[in] address_family  The address family
- * @param[in] type            The DNS config type
- * @return 0 on success, otherwise negative error value.
- * @retval #WIFI_MANAGER_ERROR_NONE               Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER  Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_OPERATION_FAILED   Operation failed
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED      Not supported
- * @see wifi_manager_update_ap()
- */
-int wifi_manager_ap_set_dns_config_type(wifi_manager_ap_h ap,
-               wifi_manager_address_family_e address_family, wifi_manager_dns_config_type_e type);
-
-/**
- * @brief Gets the network prefix length.
- * @since_tizen 4.0
- * @param[in] ap              The access point handle
- * @param[in] address_family  The address family
- * @param[out] prefix_len     The network prefix length. \n
- *                            In case of IPv4, it means netmask length \n
- *                            (also called a prefix, e.g. 8, 16, 24, 32)
- * @return 0 on success, otherwise negative error value.
- * @retval #WIFI_MANAGER_ERROR_NONE                   Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER      Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED  Not supported
- */
-int wifi_manager_ap_get_prefix_length(wifi_manager_ap_h ap,
-               wifi_manager_address_family_e address_family, int *prefix_len);
-
-/**
- * @brief Sets the network prefix length.
- * @since_tizen 4.0
- * @param[in] ap              The access point handle
- * @param[in] address_family  The address family
- * @param[in] prefix_len      The network prefix length. \n
- *                            In case of IPv4, it means netmask length \n
- *                            (also called a prefix, e.g. 8, 16, 24, 32)
- * @return 0 on success, otherwise negative error value.
- * @retval #WIFI_MANAGER_ERROR_NONE                   Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER      Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED  Not supported
- * @see wifi_manager_update_ap()
- */
-int wifi_manager_ap_set_prefix_length(wifi_manager_ap_h ap,
-               wifi_manager_address_family_e address_family, int prefix_len);
-
-/**
- * @brief Gets the error state.
- * @since_tizen 4.0
- * @param[in] ap              The access point handle
- * @param[out] error_state    The Wi-Fi connection error state
- * @return 0 on success, otherwise negative error value
- * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_OPERATION    Invalid operation
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
- */
-int wifi_manager_ap_get_error_state(wifi_manager_ap_h ap, wifi_manager_error_e *error_state);
-
-/**
- * @brief Gets the Wi-Fi Association Status Code from the supplicant.
- * @since_tizen 5.0
- * @param[in] ap              The access point handle
- * @param[out] status_code    The supplicant Wi-Fi association status code
- * @return 0 on success, otherwise negative error value
- * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_OPERATION    Invalid operation
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
- */
-
-int wifi_manager_ap_get_assoc_status_code(wifi_manager_ap_h ap,
-                                                       wifi_manager_assoc_status_code_e *status_code);
-/**
- * @brief Gets the VSIE result of the AP.
- * @since_tizen 5.0
- * @remarks You must release @a vsie using free().
- *
- * @param[in] ap               The access point handle
- * @param[out] vsie            The vendor specific information element
- * @param[out] length          The VSIE length
- *
- * @return 0 on success, otherwise negative error value
- * @retval #WIFI_MANAGER_ERROR_NONE                 Successful
- * @retval #WIFI_MANAGER_ERROR_INVALID_PARAMETER    Invalid parameter
- * @retval #WIFI_MANAGER_ERROR_OUT_OF_MEMORY        Out of memory
- * @retval #WIFI_MANAGER_ERROR_NOT_SUPPORTED        Not supported
- */
-int wifi_manager_ap_get_vsie(wifi_manager_ap_h ap,
-               char **vsie, int *length);
-
-
 /**
 * @}
 */