Add session_get_parameters()

Also add useful comment to session_send_term()
This commit is contained in:
matt335672
2024-12-07 17:38:54 +00:00
parent 7268580f24
commit eadbb6a190
2 changed files with 23 additions and 0 deletions
+13
View File
@@ -103,10 +103,23 @@ session_active(const struct session_data *sd);
* Returns the start time for an active session
*
* @param sd session_data for this session
* @return session start time
*/
time_t
session_get_start_time(const struct session_data *sd);
/**
* Returns the parameters used to start the session
*
* @param sd session_data for this session
* @return Pointer to parameters
*
* The pointed-to data returned must not be modified in
* any way.
*/
const struct session_parameters *
session_get_parameters(const struct session_data *sd);
/***
* Ask a session to terminate by signalling the window manager
*