summaryrefslogtreecommitdiffstats
path: root/sesman/libscp/libscp_v0.h
diff options
context:
space:
mode:
authornorrarvid <norrarvid@gmail.com>2012-05-31 16:57:17 +0200
committernorrarvid <norrarvid@gmail.com>2012-05-31 16:57:17 +0200
commit10fdc5c17f7aec2df8885d2cf7354f6681af76f6 (patch)
treeb6f06d3c08430ebee080c36a5d9f1744a87ee575 /sesman/libscp/libscp_v0.h
parent60b052965634be151d88f7011149d0edc71f23d8 (diff)
downloadxrdp-proprietary-10fdc5c17f7aec2df8885d2cf7354f6681af76f6.tar.gz
xrdp-proprietary-10fdc5c17f7aec2df8885d2cf7354f6681af76f6.zip
separate pam authentication for gateways
Diffstat (limited to 'sesman/libscp/libscp_v0.h')
-rw-r--r--sesman/libscp/libscp_v0.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sesman/libscp/libscp_v0.h b/sesman/libscp/libscp_v0.h
index 7c6fd4b2..92b835f0 100644
--- a/sesman/libscp/libscp_v0.h
+++ b/sesman/libscp/libscp_v0.h
@@ -73,5 +73,14 @@ scp_v0s_allow_connection(struct SCP_CONNECTION* c, SCP_DISPLAY d);
enum SCP_SERVER_STATES_E
scp_v0s_deny_connection(struct SCP_CONNECTION* c);
+/**
+ * @brief send reply to an authentication request
+ * @param c connection descriptor
+ * @param value the reply code 0 means ok
+ * @return
+ */
+enum SCP_SERVER_STATES_E
+scp_v0s_replyauthentication(struct SCP_CONNECTION* c, unsigned short int value);
+
#endif