summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.h
diff options
context:
space:
mode:
authorspeidy <speidy@gmail.com>2014-02-09 01:42:04 +0200
committerspeidy <speidy@gmail.com>2014-02-09 01:42:04 +0200
commitcbf5d50a5c96de83178e910318db540334f289b1 (patch)
tree85fc35d23438713559fa5188bbf2563f4b9a531d /libxrdp/libxrdp.h
parent9a98299e2b3bb0c3e4f047efa4ad8f8450656dda (diff)
downloadxrdp-proprietary-cbf5d50a5c96de83178e910318db540334f289b1.tar.gz
xrdp-proprietary-cbf5d50a5c96de83178e910318db540334f289b1.zip
libxrdp: work on fastpath input
Diffstat (limited to 'libxrdp/libxrdp.h')
-rw-r--r--libxrdp/libxrdp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libxrdp/libxrdp.h b/libxrdp/libxrdp.h
index a9150111..b15cc989 100644
--- a/libxrdp/libxrdp.h
+++ b/libxrdp/libxrdp.h
@@ -42,6 +42,8 @@ struct xrdp_tcp
{
struct trans* trans;
struct xrdp_iso* iso_layer; /* owner */
+ struct xrdp_fastpath* fastpath_layer; /* owner */
+
};
/* iso */
@@ -73,11 +75,21 @@ struct xrdp_mcs
struct list* channel_list;
};
+/* fastpath */
+struct xrdp_fastpath
+{
+ struct xrdp_sec* sec_layer; /* owner */
+ struct xrdp_tcp* tcp_layer;
+ int numEvents;
+ int secFlags;
+};
+
/* sec */
struct xrdp_sec
{
struct xrdp_rdp* rdp_layer; /* owner */
struct xrdp_mcs* mcs_layer;
+ struct xrdp_fastpath* fastpath_layer;
struct xrdp_channel* chan_layer;
char server_random[32];
char client_random[64];
@@ -494,4 +506,12 @@ int APP_CC
xrdp_channel_process(struct xrdp_channel* self, struct stream* s,
int chanid);
+/* xrdp_fastpath.c */
+struct xrdp_fastpath *APP_CC
+xrdp_fastpath_create(struct xrdp_sec *owner, struct trans *trans);
+void APP_CC
+xrdp_fastpath_delete(struct xrdp_fastpath *self);
+int APP_CC
+xrdp_fastpath_recv(struct xrdp_fastpath *self, struct stream *s);
+
#endif