Add missing description for doxygen doc
[platform/core/api/connection.git] / include / connection_extension.h
index 5a76443..667c969 100755 (executable)
@@ -694,6 +694,48 @@ int connection_profile_save_ethernet_eap_config(connection_h connection,
 int connection_clock_is_updated(connection_h connection, bool *updated);
 
 /**
+ * @brief Sets NTP server.
+ * @since_tizen 8.0
+ * @param[in] connection       The connection handle
+ * @param[in] ntp_server       requested NTP server IP/URL
+ * @return 0 on success, otherwise a negative error value
+ * @retval #CONNECTION_ERROR_NONE                 Successful
+ * @retval #CONNECTION_ERROR_INVALID_OPERATION    Invalid operation
+ * @retval #CONNECTION_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #CONNECTION_ERROR_PERMISSION_DENIED    Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED        Not supported
+ */
+int connection_set_ntp_server(connection_h connection, const char *ntp_server);
+
+/**
+ * @brief Get NTP server url.
+ * @since_tizen 8.0
+ * @remarks You must release @a ntp_server using free().
+ * @param[in] connection       The connection handle
+ * @param[out] ntp_server       The IP/URL of NTP Server
+ * @return 0 on success, otherwise a negative error value
+ * @retval #CONNECTION_ERROR_NONE                 Successful
+ * @retval #CONNECTION_ERROR_INVALID_OPERATION    Invalid operation
+ * @retval #CONNECTION_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #CONNECTION_ERROR_PERMISSION_DENIED    Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED        Not supported
+ */
+int connection_get_ntp_server(connection_h connection, char **ntp_server);
+
+/**
+ * @brief Clear NTP server.
+ * @since_tizen 8.0
+ * @param[in] connection       The connection handle
+ * @return 0 on success, otherwise a negative error value
+ * @retval #CONNECTION_ERROR_NONE                 Successful
+ * @retval #CONNECTION_ERROR_INVALID_OPERATION    Invalid operation
+ * @retval #CONNECTION_ERROR_INVALID_PARAMETER    Invalid parameter
+ * @retval #CONNECTION_ERROR_PERMISSION_DENIED    Permission denied
+ * @retval #CONNECTION_ERROR_NOT_SUPPORTED        Not supported
+ */
+int connection_clear_ntp_server(connection_h connection);
+
+/**
 * @}
 */