~ubuntu-branches/ubuntu/wily/freerdp/wily-proposed

« back to all changes in this revision

Viewing changes to libfreerdp-channels/wtsvc.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, Jeremy Bicha, Jean-Louis Dupond, Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120131100214-jaok3uwvni7sqxth
Tags: 1.0.0-0git1
Upload current Debian packaging git to get this rolling for precise.

[ Jeremy Bicha ]
* New upstream release. Closes: #647498.
* Updated symbols and bumped soname
* debian/control:
  - Added new build dependencies
  - Bump Standards-Version to 3.9.2
* debian/source/format: Set to 3.0 (quilt)
* debian/rules: Turn on strict symbols checking
* debian/watch: Watch github

[ Jean-Louis Dupond ]
* debian/control: Updated homepage
* debian/copyright: Reflect upstream switch to the Apache license

[ Martin Pitt ]
* debian/libfreerdp0.symbols: Fix version number, should
  be 1.0~beta5, not 1.0-beta5.
* debian/control: Add libavcodec-dev build dependency, upstream build system
  checks for that. Thanks Jean-Louis Dupond!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * FreeRDP: A Remote Desktop Protocol client.
 
3
 * Server Virtual Channel Interface
 
4
 *
 
5
 * Copyright 2011-2012 Vic Lee
 
6
 *
 
7
 * Licensed under the Apache License, Version 2.0 (the "License");
 
8
 * you may not use this file except in compliance with the License.
 
9
 * You may obtain a copy of the License at
 
10
 *
 
11
 *     http://www.apache.org/licenses/LICENSE-2.0
 
12
 *
 
13
 * Unless required by applicable law or agreed to in writing, software
 
14
 * distributed under the License is distributed on an "AS IS" BASIS,
 
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
16
 * See the License for the specific language governing permissions and
 
17
 * limitations under the License.
 
18
 */
 
19
 
 
20
#ifndef __WTSVC_H
 
21
#define __WTSVC_H
 
22
 
 
23
#include <freerdp/freerdp.h>
 
24
#include <freerdp/utils/stream.h>
 
25
#include <freerdp/utils/list.h>
 
26
#include <freerdp/utils/mutex.h>
 
27
#include <freerdp/utils/wait_obj.h>
 
28
#include <freerdp/channels/wtsvc.h>
 
29
 
 
30
enum
 
31
{
 
32
        RDP_PEER_CHANNEL_TYPE_SVC = 0,
 
33
        RDP_PEER_CHANNEL_TYPE_DVC = 1,
 
34
        RDP_PEER_CHANNEL_TYPE_DVC_SUB = 2
 
35
};
 
36
 
 
37
typedef struct rdp_peer_channel
 
38
{
 
39
        WTSVirtualChannelManager* vcm;
 
40
        freerdp_peer* client;
 
41
        uint16 channel_id;
 
42
        uint16 channel_type;
 
43
        uint16 index;
 
44
 
 
45
        STREAM* receive_data;
 
46
        struct wait_obj* receive_event;
 
47
        LIST* receive_queue;
 
48
        freerdp_mutex mutex;
 
49
} rdpPeerChannel;
 
50
 
 
51
struct WTSVirtualChannelManager
 
52
{
 
53
        freerdp_peer* client;
 
54
        struct wait_obj* send_event;
 
55
        LIST* send_queue;
 
56
        freerdp_mutex mutex;
 
57
 
 
58
        rdpPeerChannel* drdynvc_channel;
 
59
};
 
60
 
 
61
#endif /* __WTSVC_H */