[CodeClean] fix typo
authorJaeyun Jung <jy1210.jung@samsung.com>
Fri, 4 Aug 2023 11:34:31 +0000 (20:34 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 8 Aug 2023 01:00:56 +0000 (10:00 +0900)
Code clean, fix typo in edge header.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
include/nnstreamer-edge.h

index fc03f11d3d40d7519e0dbc411f98c337ecc77aea..df8d0f859b5bc8136bb2775b7b40205869b440e8 100644 (file)
@@ -170,7 +170,7 @@ typedef void (*nns_edge_data_destroy_cb) (void *data);
  * //  - All connection type: HOST, PORT
  * //  - Hybrid and AITT: DEST_HOST, DEST_PORT, TOPIC
  *
- * // Set infomation for query-client of TCP connection.
+ * // Set information for query-client of TCP connection.
  * ret = nns_edge_set_info (edge_h, "HOST", "127.0.0.1");
  * ret = nns_edge_set_info (edge_h, "PORT", "1234");
  * ret = nns_edge_set_info (edge_h, "CAPS", "CAPABILITY_STRING");
@@ -293,8 +293,7 @@ int nns_edge_send (nns_edge_h edge_h, nns_edge_data_h data_h);
  * @retval #NNS_EDGE_ERROR_INVALID_PARAMETER Given parameter is invalid.
  * @retval #NNS_EDGE_ERROR_IO No available connection.
  */
-int
-nns_edge_is_connected (nns_edge_h edge_h);
+int nns_edge_is_connected (nns_edge_h edge_h);
 
 /**
  * @brief Set nnstreamer edge info.
@@ -408,7 +407,7 @@ int nns_edge_data_copy (nns_edge_data_h data_h, nns_edge_data_h *new_data_h);
  * @note See NNS_EDGE_DATA_LIMIT, the maximum number of raw data in handle.
  * @param[in] data_h The edge data handle.
  * @param[in] data The raw data.
- * @param[in] data_len data length.
+ * @param[in] data_len The byte size of the data.
  * @param[in] destroy_cb The callback for destroying the added data.
  * @return 0 on success. Otherwise a negative error value.
  * @retval #NNS_EDGE_ERROR_NONE Successful.
@@ -423,7 +422,7 @@ int nns_edge_data_add (nns_edge_data_h data_h, void *data, nns_size_t data_len,
  * @param[in] data_h The edge data handle.
  * @param[in] index The index of the data to get.
  * @param[out] data The data in the data handle.
- * @param[out] data_len Byte size of the data.
+ * @param[out] data_len The byte size of the data.
  * @return 0 on success. Otherwise a negative error value.
  * @retval #NNS_EDGE_ERROR_NONE Successful.
  * @retval #NNS_EDGE_ERROR_NOT_SUPPORTED Not supported.