summaryrefslogtreecommitdiffstats
path: root/libxrdp/libxrdp.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2010-05-04 09:24:24 +0000
committerjsorg71 <jsorg71>2010-05-04 09:24:24 +0000
commit574355f3e3a24ad7f0c27bc4c7fd2248ed89e99e (patch)
treed70599f6a8d101c6d92f1fa4aa23d929ac392342 /libxrdp/libxrdp.c
parent27e097663f6b70801268e53d24a8fa45517367e9 (diff)
downloadxrdp-proprietary-574355f3e3a24ad7f0c27bc4c7fd2248ed89e99e.tar.gz
xrdp-proprietary-574355f3e3a24ad7f0c27bc4c7fd2248ed89e99e.zip
use trans
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r--libxrdp/libxrdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c
index 23689db5..7e7446dd 100644
--- a/libxrdp/libxrdp.c
+++ b/libxrdp/libxrdp.c
@@ -14,7 +14,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
xrdp: A Remote Desktop Protocol server.
- Copyright (C) Jay Sorg 2004-2009
+ Copyright (C) Jay Sorg 2004-2010
this is the interface to libxrdp
@@ -24,13 +24,13 @@
/******************************************************************************/
struct xrdp_session* EXPORT_CC
-libxrdp_init(long id, int sck)
+libxrdp_init(tbus id, struct trans* trans)
{
struct xrdp_session* session;
session = (struct xrdp_session*)g_malloc(sizeof(struct xrdp_session), 1);
session->id = id;
- session->rdp = xrdp_rdp_create(session, sck);
+ session->rdp = xrdp_rdp_create(session, trans);
session->orders = xrdp_orders_create(session, (struct xrdp_rdp*)session->rdp);
session->client_info = &(((struct xrdp_rdp*)session->rdp)->client_info);
make_stream(session->s);