LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rfbssl_none.c
Go to the documentation of this file.
1 /*
2  * rfbssl_none.c - Secure socket functions (fallback to failing)
3  */
4 
5 /*
6  * Copyright (C) 2011 Johannes Schindelin
7  *
8  * This is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This software is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this software; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21  * USA.
22  */
23 
24 #include "rfbssl.h"
25 
26 struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert)
27 {
28  return NULL;
29 }
30 
31 int rfbssl_init(rfbClientPtr cl)
32 {
33  return -1;
34 }
35 
36 int rfbssl_write(rfbClientPtr cl, const char *buf, int bufsize)
37 {
38  return -1;
39 }
40 
41 int rfbssl_peek(rfbClientPtr cl, char *buf, int bufsize)
42 {
43  return -1;
44 }
45 
46 int rfbssl_read(rfbClientPtr cl, char *buf, int bufsize)
47 {
48  return -1;
49 }
50 
51 int rfbssl_pending(rfbClientPtr cl)
52 {
53  return -1;
54 }
55 
56 void rfbssl_destroy(rfbClientPtr cl)
57 {
58 }