/[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 1114 - (show annotations)
Fri Mar 10 16:41:49 2006 UTC (18 years, 2 months ago) by ossman_
File MIME type: text/plain
File size: 1327 byte(s)
Change format to const char* to kill off some warnings.

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 VCHANNEL_MAX_LINE 1024
26
27 void debug(char *format, ...);
28
29 int vchannel_open();
30 void vchannel_close();
31
32 int vchannel_is_open();
33
34 /* read may only be used by a single process. write is completely safe */
35 int vchannel_read(char *line, size_t length);
36 int vchannel_write(const char *format, ...);
37
38 void vchannel_block();
39 void vchannel_unblock();
40
41 const char *vchannel_strfilter(char *string);
42
43 #endif

  ViewVC Help
Powered by ViewVC 1.1.26