summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_types.h
diff options
context:
space:
mode:
authornorrarvid <norrarvid@gmail.com>2012-05-30 17:11:53 +0200
committernorrarvid <norrarvid@gmail.com>2012-05-30 17:11:53 +0200
commitf4ffaafc20f454481b87e500ef5ca8d651083a1d (patch)
tree277460e442b8a8c390774c7c000422c2a4017cb8 /xrdp/xrdp_types.h
parent60b052965634be151d88f7011149d0edc71f23d8 (diff)
downloadxrdp-proprietary-f4ffaafc20f454481b87e500ef5ca8d651083a1d.tar.gz
xrdp-proprietary-f4ffaafc20f454481b87e500ef5ca8d651083a1d.zip
channels can be disabled by XRDP
Diffstat (limited to 'xrdp/xrdp_types.h')
-rw-r--r--xrdp/xrdp_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index 0366fd83..84f1bd3a 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -20,6 +20,9 @@
*/
+
+#define MAX_NR_CHANNELS 16
+#define MAX_CHANNEL_NAME 16
/* lib */
struct xrdp_mod
{
@@ -286,6 +289,8 @@ struct xrdp_wm
struct xrdp_bitmap* target_surface; /* either screen or os surface */
int current_surface_index;
int hints;
+ int allowedchannels[MAX_NR_CHANNELS];
+ int allowedinitialized ;
};
/* rdp process */