/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1192 - (hide annotations)
Wed Mar 22 16:19:41 2006 UTC (18 years, 3 months ago) by ossman_
File MIME type: text/plain
File size: 1758 byte(s)
Detect when another desktop is activated and tell the connected client.

1 ossman_ 1073 /* -*- 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 ossman_ 1163 #define DLL_EXPORT __declspec(dllexport)
26    
27 ossman_ 1074 #define VCHANNEL_MAX_LINE 1024
28    
29 ossman_ 1177 #define SEAMLESS_CREATE_MODAL 0x0001
30    
31 ossman_ 1192 #define SEAMLESS_HELLO_RECONNECT 0x0001
32     #define SEAMLESS_HELLO_HIDDEN 0x0002
33    
34 ossman_ 1163 DLL_EXPORT void debug(char *format, ...);
35 ossman_ 1073
36 ossman_ 1163 DLL_EXPORT const char *unicode_to_utf8(const unsigned short *string);
37 ossman_ 1134
38 ossman_ 1163 DLL_EXPORT int vchannel_open();
39     DLL_EXPORT void vchannel_close();
40 ossman_ 1073
41 ossman_ 1163 DLL_EXPORT int vchannel_is_open();
42 ossman_ 1073
43 ossman_ 1074 /* read may only be used by a single process. write is completely safe */
44 ossman_ 1163 DLL_EXPORT int vchannel_read(char *line, size_t length);
45     DLL_EXPORT int vchannel_write(const char *command, const char *format, ...);
46 ossman_ 1073
47 ossman_ 1163 DLL_EXPORT void vchannel_block();
48     DLL_EXPORT void vchannel_unblock();
49 ossman_ 1075
50 ossman_ 1163 DLL_EXPORT const char *vchannel_strfilter(char *string);
51     DLL_EXPORT const char *vchannel_strfilter_unicode(const unsigned short *string);
52 ossman_ 1113
53 ossman_ 1073 #endif

  ViewVC Help
Powered by ViewVC 1.1.26