session CHANGE new killed-by atrribute of every session
Also 2 new setters added.
diff --git a/src/session.h b/src/session.h
index 2d35243..0ac4908 100644
--- a/src/session.h
+++ b/src/session.h
@@ -119,7 +119,15 @@
* @param[in] session Session to get the information from.
* @return Session termination reason enum value.
*/
-NC_SESSION_TERM_REASON nc_session_get_termreason(const struct nc_session *session);
+NC_SESSION_TERM_REASON nc_session_get_term_reason(const struct nc_session *session);
+
+/**
+ * @brief Get session killer session ID.
+ *
+ * @param[in] session Session to get the information from.
+ * @return Session killer ID.
+ */
+uint32_t nc_session_get_killed_by(const struct nc_session *session);
/**
* @brief Get session ID.