doxygen: add privilege
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 13 Apr 2020 10:17:52 +0000 (19:17 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 13 Apr 2020 10:17:52 +0000 (19:17 +0900)
include/wifi-aware.h

index a1ee315..bfa605c 100644 (file)
@@ -439,6 +439,8 @@ int wifi_aware_enable(wifi_aware_enabled_cb callback, void *user_data);
 /**
  * @brief Disables Wi-Fi Aware functions.
  * @since_tizen 6.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/network.set
  * @return 0 on success, otherwise a negative error value
  * @retval #WIFI_AWARE_ERROR_NONE
  * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED
@@ -517,6 +519,8 @@ int wifi_aware_session_unset_terminated_cb(wifi_aware_session_h session);
 /**
  * @brief Stops a Wi-Fi Aware session.
  * @since_tizen 6.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/network.set
  * @param[in] session The Wi-Fi Aware Session handle
  * @remark The function of the session, Publish or Subscribe, will be cancelled.
  * @return 0 on success, otherwise a negative error value
@@ -900,6 +904,8 @@ typedef void(*wifi_aware_data_path_open_cb)(wifi_aware_data_path_h data_path, wi
  * @brief Requests to open a Wi-Fi Aware Data Path.
  * @remarks The @a callback will be always invoked whether the open request succeeds or fails.
  * @since_tizen 6.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/network.set
  * @param[in] data_path The Data Path handle
  * @param[in] callback  The callback function
  * @param[in] user_data The user data passed to the callback function
@@ -918,6 +924,8 @@ int wifi_aware_data_path_open(wifi_aware_data_path_h data_path,
 /**
  * @brief Closes a Wi-Fi Aware Data Path.
  * @since_tizen 6.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/network.set
  * @param[in] data_path The Data Path handle
  * @retval #WIFI_AWARE_ERROR_NONE
  * @retval #WIFI_AWARE_ERROR_NOT_INITIALIZED