/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/vchannel.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /sourceforge.net/trunk/seamlessrdp/ServerExe/vchannel.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1177 - (show annotations)
Tue Mar 21 14:42:25 2006 UTC (18 years, 2 months ago) by ossman_
File MIME type: text/plain
File size: 1679 byte(s)
Support for window groups and modal windows.

1 /* -*- c-basic-offset: 8 -*-
2 rdesktop: A Remote Desktop Protocol client.
3 Seamless windows - Virtual channel handling
4
5 Copyright (C) Pierre Ossman <ossman@cendio.se> 2006
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22 #ifndef __VCHANNEL_H__
23 #define __VCHANNEL_H__
24
25 #define DLL_EXPORT __declspec(dllexport)
26
27 #define VCHANNEL_MAX_LINE 1024
28
29 #define SEAMLESS_CREATE_MODAL 0x0001
30
31 DLL_EXPORT void debug(char *format, ...);
32
33 DLL_EXPORT const char *unicode_to_utf8(const unsigned short *string);
34
35 DLL_EXPORT int vchannel_open();
36 DLL_EXPORT void vchannel_close();
37
38 DLL_EXPORT int vchannel_is_open();
39
40 /* read may only be used by a single process. write is completely safe */
41 DLL_EXPORT int vchannel_read(char *line, size_t length);
42 DLL_EXPORT int vchannel_write(const char *command, const char *format, ...);
43
44 DLL_EXPORT void vchannel_block();
45 DLL_EXPORT void vchannel_unblock();
46
47 DLL_EXPORT const char *vchannel_strfilter(char *string);
48 DLL_EXPORT const char *vchannel_strfilter_unicode(const unsigned short *string);
49
50 #endif

  ViewVC Help
Powered by ViewVC 1.1.26