summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdp.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-31 23:03:38 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-31 23:03:38 -0700
commitf0a91c444d87bd09961185d888f87799ab817790 (patch)
tree821f80686ab9c4b5a17d0f67468e74b5f90a39e5 /xorg/server/module/rdp.h
parent635e2dba387b64a947a21b6334ab0a50e94e7407 (diff)
downloadxrdp-proprietary-f0a91c444d87bd09961185d888f87799ab817790.tar.gz
xrdp-proprietary-f0a91c444d87bd09961185d888f87799ab817790.zip
xorg driver, add xrdp connection
Diffstat (limited to 'xorg/server/module/rdp.h')
-rw-r--r--xorg/server/module/rdp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/xorg/server/module/rdp.h b/xorg/server/module/rdp.h
index 085e114f..0cc5d6ee 100644
--- a/xorg/server/module/rdp.h
+++ b/xorg/server/module/rdp.h
@@ -33,6 +33,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define PixelDPI 100
#define PixelToMM(_size) (((_size) * 254 + (PixelDPI) * 5) / ((PixelDPI) * 10))
+#define RDPMIN(_val1, _val2) ((_val1) < (_val2) ? (_val1) : (_val2))
+#define RDPMAX(_val1, _val2) ((_val1) < (_val2) ? (_val2) : (_val1))
+
+/* defined in rdpClientCon.h */
+typedef struct _rdpClientCon rdpClientCon;
+
/* move this to common header */
struct _rdpRec
{
@@ -73,6 +79,8 @@ struct _rdpRec
RRGetPanningProcPtr rrGetPanning;
RRSetPanningProcPtr rrSetPanning;
+ int listen_sck;
+ rdpClientCon *clientCon;
};
typedef struct _rdpRec rdpRec;
typedef struct _rdpRec * rdpPtr;