Fix header documentation typo 63/324763/1 tizen_9.0
authorJiung Yu <jiung.yu@samsung.com>
Mon, 26 May 2025 03:52:13 +0000 (12:52 +0900)
committerJiung Yu <jiung.yu@samsung.com>
Mon, 26 May 2025 03:55:12 +0000 (03:55 +0000)
Change-Id: I6992897aeaf7a466b56b989755ea7b9441bad0df
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
include/wifi-direct.h

index 1ef8ab9ba8bc0768f65fb222f2ef9ab3e62ffe51..23fc8a72d5fdf55fbb441e35e537071e7ed426ac 100644 (file)
@@ -1123,7 +1123,7 @@ int wifi_direct_unset_discovery_state_changed_cb(void);
  *               wifi_direct_discovery_state_e discovery_state,
  *               const char *mac_address,
  *               void *user_data)
- *{
+ * {
  *     switch (discovery_state) {
  *     case WIFI_DIRECT_DISCOVERY_FOUND:
  *             printf("Peer found\n");
@@ -1136,7 +1136,7 @@ int wifi_direct_unset_discovery_state_changed_cb(void);
  *     default:
  *             break;
  *     }
- *}
+ * }
  *
  * void function(void)
  * {
@@ -1236,7 +1236,7 @@ int wifi_direct_unset_peer_found_cb(void);
  *               wifi_direct_connection_state_e connection_state,
  *               const char *mac_address,
  *               void *user_data)
- *{
+ * {
  *     char *ip;
  *     bool owner;
  *     int wps_mode;
@@ -1324,7 +1324,7 @@ int wifi_direct_unset_peer_found_cb(void);
  *     default:
  *     break;
  *     }
- *}
+ * }
  *
  * void function(void)
  * {
@@ -1459,13 +1459,13 @@ int wifi_direct_unset_peer_info_connection_state_changed_cb(void);
  *               const char *ip_address,
  *               const char *interface_address,
  *               void *user_data);
- *{
+ * {
  *     printf("IP Assigned to the client device\n");
  *
  *     printf("mac=%s\n", mac_address);
  *     printf("ip=%s\n", ip_address);
  *     printf("iface=%s\n", interface_address);
- *}
+ * }
  *
  * void function(void)
  * {
@@ -1570,7 +1570,7 @@ int wifi_direct_unset_client_ip_address_assigned_cb(void);
  *               void *response_data,
  *               const char *mac_address,
  *               void *user_data);
- *{
+ * {
  *     switch (discovery_state) {
  *     case WIFI_DIRECT_SERVICE_DISCOVERY_STARTED:
  *             printf("Discovery Started\n");
@@ -1603,7 +1603,7 @@ int wifi_direct_unset_client_ip_address_assigned_cb(void);
  *     default:
  *     break;
  *     }
- *}
+ * }
  *
  * void function(void)
  * {
@@ -2527,7 +2527,7 @@ int wifi_direct_foreach_discovered_peers(wifi_direct_discovered_peer_cb callback
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
@@ -2682,13 +2682,13 @@ int wifi_direct_connect(char *mac_address);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *             g_source_remove(connection_timeout);
  *     break;
@@ -2701,7 +2701,7 @@ int wifi_direct_connect(char *mac_address);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -2788,13 +2788,13 @@ int wifi_direct_cancel_connection(char *mac_address);
  * void callback(int error_code,
  *               wifi_direct_connection_state_e state,
  *               const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  * break;
  *
@@ -2806,7 +2806,7 @@ int wifi_direct_cancel_connection(char *mac_address);
  *             printf("Disconnected\n"); // disconnect notification
  *     break;
  * }
- *}
+ * }
  *
  * int function(void)
  * {
@@ -2885,13 +2885,13 @@ int wifi_direct_disconnect_all(void);
  * void callback_1(int error_code,
  *               wifi_direct_connection_state_e state,
  *               const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  * break;
  *
@@ -2903,7 +2903,7 @@ int wifi_direct_disconnect_all(void);
  *             printf("Disconnected mac=%s\n", mac_address); // disconnect notification
  *     break;
  * }
- *}
+ * }
  *
  * int function(char *mac)
  * {
@@ -3700,13 +3700,13 @@ int wifi_direct_get_network_interface_name(char **name);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *
  *             function();
@@ -3720,7 +3720,7 @@ int wifi_direct_get_network_interface_name(char **name);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -3846,13 +3846,13 @@ int wifi_direct_get_ip_address(char **ip_address);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *
  *             function();
@@ -3866,7 +3866,7 @@ int wifi_direct_get_ip_address(char **ip_address);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -3992,13 +3992,13 @@ int wifi_direct_get_subnet_mask(char **subnet_mask);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *
  *             function();
@@ -4012,7 +4012,7 @@ int wifi_direct_get_subnet_mask(char **subnet_mask);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -4139,13 +4139,13 @@ int wifi_direct_get_gateway_address(char **gateway_address);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *
  *             function();
@@ -4159,7 +4159,7 @@ int wifi_direct_get_gateway_address(char **gateway_address);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -4779,7 +4779,7 @@ int wifi_direct_activate_pushbutton(void);
  *               wifi_direct_connection_state_e connection_state,
  *               const char *mac_address,
  *               void *user_data)
- *{
+ * {
  *     char *ip;
  *     bool owner;
  *     int wps_mode;
@@ -4875,7 +4875,7 @@ int wifi_direct_activate_pushbutton(void);
  *     default:
  *     break;
  *     }
- *}
+ * }
  *
  * int main()
  * {
@@ -4947,7 +4947,7 @@ int wifi_direct_set_wps_pin(char *pin);
  *               wifi_direct_connection_state_e connection_state,
  *               const char *mac_address,
  *               void *user_data)
- *{
+ * {
  *     char *ip;
  *     bool owner;
  *     int wps_mode;
@@ -5042,7 +5042,7 @@ int wifi_direct_set_wps_pin(char *pin);
  *     default:
  *     break;
  *     }
- *}
+ * }
  *
  * int main()
  * {
@@ -6166,13 +6166,13 @@ int wifi_direct_is_autoconnection_mode(bool *mode);
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
  *     break;
  *
- *     case WIFI_DIRECT_CONNECTON_RSP:
+ *     case WIFI_DIRECT_CONNECTION_RSP:
  *             printf("Connected\n");
  *             g_source_remove(connection_timeout);
  * break;
@@ -6185,7 +6185,7 @@ int wifi_direct_is_autoconnection_mode(bool *mode);
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,
@@ -8389,7 +8389,7 @@ int wifi_direct_remove_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie
  * void callback_2(int error_code,
  *                 wifi_direct_connection_state_e state,
  *                 const char *mac, void *user_data)
- *{
+ * {
  *     switch (state) {
  *     case WIFI_DIRECT_CONNECTION_IN_PROGRESS:
  *             printf("Connection in progress\n");
@@ -8410,7 +8410,7 @@ int wifi_direct_remove_vsie(wifi_direct_vsie_frames_e frame_id, const char *vsie
  *             printf("Disconnected\n");
  *     break;
  * }
- *}
+ * }
  *
  * void callback_1(int error_code,
  *               wifi_direct_discovery_state_e discovery_state,