summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.h
diff options
context:
space:
mode:
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