~paulliu/ubuntu/quantal/freerdp/fixext

« back to all changes in this revision

Viewing changes to libfreerdp/mcs.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120131100214-zvig71djj2sqgq22
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- c-basic-offset: 8 -*-
2
 
   freerdp: A Remote Desktop Protocol client.
3
 
   Protocol services - Multipoint Communications Service
4
 
   Copyright (C) Jay Sorg 2009
5
 
 
6
 
   This program is free software; you can redistribute it and/or modify
7
 
   it under the terms of the GNU General Public License as published by
8
 
   the Free Software Foundation; either version 2 of the License, or
9
 
   (at your option) any later version.
10
 
 
11
 
   This program is distributed in the hope that it will be useful,
12
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
   GNU General Public License for more details.
15
 
 
16
 
   You should have received a copy of the GNU General Public License
17
 
   along with this program; if not, write to the Free Software
18
 
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
 
*/
20
 
 
21
 
#ifndef __MCS_H
22
 
#define __MCS_H
23
 
 
24
 
#include "iso.h"
25
 
 
26
 
struct rdp_mcs
27
 
{
28
 
        struct rdp_sec * sec;
29
 
        uint16 mcs_userid;
30
 
        struct rdp_iso * iso;
31
 
        struct rdp_channels * chan;
32
 
};
33
 
typedef struct rdp_mcs rdpMcs;
34
 
 
35
 
STREAM
36
 
mcs_init(rdpMcs * mcs, int length);
37
 
STREAM
38
 
mcs_fp_init(rdpMcs * mcs, int length);
39
 
void
40
 
mcs_send_to_channel(rdpMcs * mcs, STREAM s, uint16 channel);
41
 
void
42
 
mcs_send(rdpMcs * mcs, STREAM s);
43
 
void
44
 
mcs_fp_send(rdpMcs * mcs, STREAM s, uint32 flags);
45
 
STREAM
46
 
mcs_recv(rdpMcs * mcs, uint16 * channel, isoRecvType * ptype);
47
 
RD_BOOL
48
 
mcs_connect(rdpMcs * mcs);
49
 
void
50
 
mcs_disconnect(rdpMcs * mcs);
51
 
rdpMcs *
52
 
mcs_new(struct rdp_sec * secure);
53
 
void
54
 
mcs_free(rdpMcs * mcs);
55
 
 
56
 
#endif