diff options
author | ilsimo <ilsimo> | 2007-04-07 16:20:08 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2007-04-07 16:20:08 +0000 |
commit | 9c4b9f8390c992a7b08fd487e17b6067571dfa52 (patch) | |
tree | b73d470ef843f79c8ba7421af963fa29e0a9dd2f /sesman/session.h | |
parent | e9a9c8dc97124148365ae1cc8d7c2044136fc720 (diff) | |
download | xrdp-proprietary-9c4b9f8390c992a7b08fd487e17b6067571dfa52.tar.gz xrdp-proprietary-9c4b9f8390c992a7b08fd487e17b6067571dfa52.zip |
added sessvc as session supervisor
first code for password changing
Diffstat (limited to 'sesman/session.h')
-rw-r--r-- | sesman/session.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/sesman/session.h b/sesman/session.h index 339aeab6..dd3e531c 100644 --- a/sesman/session.h +++ b/sesman/session.h @@ -22,7 +22,7 @@ * @file session.h * @brief Session management definitions * @author Jay Sorg, Simone Fedele - * + * */ @@ -97,21 +97,30 @@ session_start(int width, int height, int bpp, char* username, char* password, * * @brief kills a session * @param pid the pid of the session to be killed - * @return - * + * @return + * */ int DEFAULT_CC session_kill(int pid); /** * + * @brief sends sigkill to all sessions + * @return + * + */ +void DEFAULT_CC +session_sigkill_all(); + +/** + * * @brief retrieves a session's descriptor * @param pid the session pid * @return a pointer to the session descriptor on success, NULL otherwise * */ struct session_item* DEFAULT_CC -session_get_bypid(int pid); +session_get_bypid(int pid); /** * @@ -120,8 +129,8 @@ session_get_bypid(int pid); * @return a pointer to the session descriptor on success, NULL otherwise * */ -struct SCP_DISCONNECTED_SESSION* -session_get_byuser(char* user, int* cnt); +struct SCP_DISCONNECTED_SESSION* +session_get_byuser(char* user, int* cnt); #endif |