~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to lib/ssluse.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: ssluse.h,v 1.32 2008-09-05 14:29:21 bagder Exp $
24
23
 ***************************************************************************/
25
24
 
26
25
#ifdef USE_SSLEAY
57
56
int Curl_ossl_init(void);
58
57
void Curl_ossl_cleanup(void);
59
58
 
60
 
ssize_t Curl_ossl_send(struct connectdata *conn,
61
 
                       int sockindex,
62
 
                       const void *mem,
63
 
                       size_t len);
64
 
ssize_t Curl_ossl_recv(struct connectdata *conn, /* connection data */
65
 
                       int num,                  /* socketindex */
66
 
                       char *buf,                /* store read data here */
67
 
                       size_t buffersize,        /* max amount to read */
68
 
                       bool *wouldblock);
69
 
 
70
59
size_t Curl_ossl_version(char *buffer, size_t size);
71
60
int Curl_ossl_check_cxn(struct connectdata *cxn);
72
61
int Curl_ossl_seed(struct SessionHandle *data);
87
76
#define curlssl_set_engine(x,y) Curl_ossl_set_engine(x,y)
88
77
#define curlssl_set_engine_default(x) Curl_ossl_set_engine_default(x)
89
78
#define curlssl_engines_list(x) Curl_ossl_engines_list(x)
90
 
#define curlssl_send Curl_ossl_send
91
 
#define curlssl_recv Curl_ossl_recv
92
79
#define curlssl_version Curl_ossl_version
93
80
#define curlssl_check_cxn Curl_ossl_check_cxn
94
81
#define curlssl_data_pending(x,y) Curl_ossl_data_pending(x,y)