File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -1354,8 +1354,14 @@ nc_send_hello_io(struct nc_session *session)
13541354 return ret ;
13551355}
13561356
1357+ /**
1358+ * @brief Receive server hello message on the client.
1359+ *
1360+ * @param[in] session Client session to use.
1361+ * @return Received message type.
1362+ */
13571363static NC_MSG_TYPE
1358- nc_recv_client_hello_io (struct nc_session * session )
1364+ nc_client_recv_hello_io (struct nc_session * session )
13591365{
13601366 struct ly_in * msg ;
13611367 struct lyd_node * hello = NULL , * iter ;
@@ -1437,8 +1443,14 @@ nc_recv_client_hello_io(struct nc_session *session)
14371443 return rc ;
14381444}
14391445
1446+ /**
1447+ * @brief Receive client hello message on the server.
1448+ *
1449+ * @param[in] session Server session to use.
1450+ * @return Received message type.
1451+ */
14401452static NC_MSG_TYPE
1441- nc_recv_server_hello_io (struct nc_session * session )
1453+ nc_server_recv_hello_io (struct nc_session * session )
14421454{
14431455 struct ly_in * msg ;
14441456 struct lyd_node * hello = NULL , * iter ;
@@ -1515,9 +1527,9 @@ nc_handshake_io(struct nc_session *session)
15151527 }
15161528
15171529 if (session -> side == NC_CLIENT ) {
1518- type = nc_recv_client_hello_io (session );
1530+ type = nc_client_recv_hello_io (session );
15191531 } else {
1520- type = nc_recv_server_hello_io (session );
1532+ type = nc_server_recv_hello_io (session );
15211533 }
15221534
15231535 return type ;
You can’t perform that action at this time.
0 commit comments