diff options
author | ilsimo <ilsimo> | 2006-11-05 13:11:20 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2006-11-05 13:11:20 +0000 |
commit | dd76b40a35c1b41dc7cd75b007ced9ccf7f857d5 (patch) | |
tree | 907aa2de6bffdce439ed79c3e3eeeef5d0961ded /sesman/session.h | |
parent | c127c2b2a4bff813347181a77657edaacc445c78 (diff) | |
download | xrdp-proprietary-dd76b40a35c1b41dc7cd75b007ced9ccf7f857d5.tar.gz xrdp-proprietary-dd76b40a35c1b41dc7cd75b007ced9ccf7f857d5.zip |
some fixes for libscp
Diffstat (limited to 'sesman/session.h')
-rw-r--r-- | sesman/session.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sesman/session.h b/sesman/session.h index bc499d97..8c3a2b6f 100644 --- a/sesman/session.h +++ b/sesman/session.h @@ -29,6 +29,8 @@ #ifndef SESSION_H #define SESSION_H +#include "libscp_types.h" + #define SESMAN_SESSION_TYPE_XRDP 1 #define SESMAN_SESSION_TYPE_XVNC 2 @@ -111,5 +113,15 @@ session_kill(int pid); struct session_item* DEFAULT_CC session_get_bypid(int pid); +/** + * + * @brief retrieves a session's descriptor + * @param pid the session pid + * @return a pointer to the session descriptor on success, NULL otherwise + * + */ +struct SCP_DISCONNECTED_SESSION* +session_get_byuser(char* user, int* cnt); + #endif |