@@ -297,11 +297,11 @@ void nc_server_reply_free(struct nc_server_reply *reply);
297297 * @brief Create Event Notification object to be sent to the subscribed client(s).
298298 *
299299 * @param[in] event Notification data tree (valid as LYD_OPT_NOTIF) from libyang. The tree is directly used in created
300- * object, so the caller is supposed to not free the tree on its own, but only via freeng the created object.
300+ * object, so the caller is supposed to not free the tree on its own, but only via freeing the created object.
301301 * @param[in] eventtime YANG dateTime format value of the time when the event was generated by the event source.
302302 * Caller can use nc_timespec2datetime() to create the value from a timespec value.
303303 * @param[in] paramtype How to further manage data parameters.
304- * @return Newly created structure of the Event Notification object to be sent to the clients via nc_server_send_notif ()
304+ * @return Newly created structure of the Event Notification object to be sent to the clients via nc_server_notif_send ()
305305 * and freed using nc_server_notif_free().
306306 */
307307struct nc_server_notif * nc_server_notif_new (struct lyd_node * event , char * eventtime , NC_PARAMTYPE paramtype );
@@ -310,8 +310,8 @@ struct nc_server_notif *nc_server_notif_new(struct lyd_node *event, char *eventt
310310 * @brief Send NETCONF Event Notification via the session.
311311 *
312312 * @param[in] session NETCONF session where the Event Notification will be written.
313- * @param[in] notif NETCOFN Notification object to send via specified session. Object can be created by
314- * nc_notif_new () function.
313+ * @param[in] notif NETCONF Notification object to send via specified session. Object can be created by
314+ * nc_server_notif_new () function.
315315 * @param[in] timeout Timeout for writing in milliseconds. Use negative value for infinite
316316 * waiting and 0 for return if data cannot be sent immediately.
317317 * @return #NC_MSG_NOTIF on success,
0 commit comments