~ubuntu-branches/ubuntu/hardy/curl/hardy

« back to all changes in this revision

Viewing changes to lib/gtls.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-12-04 01:09:30 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204010930-he4zlo7f3qdaz3qz
Tags: 7.17.1-1ubuntu1
* Merge with Debian; remaining changes:
  - Drop the stunnel build dependency.
* Drop the build-dependency on libdb4.5-dev, add build-dependency on
  openssh-server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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: gtls.h,v 1.3 2007-01-05 23:11:16 bagder Exp $
 
23
 * $Id: gtls.h,v 1.5 2007-09-27 02:45:58 danf Exp $
24
24
 ***************************************************************************/
25
25
int Curl_gtls_init(void);
26
26
int Curl_gtls_cleanup(void);
29
29
/* tell GnuTLS to close down all open information regarding connections (and
30
30
   thus session ID caching etc) */
31
31
void Curl_gtls_close_all(struct SessionHandle *data);
32
 
void Curl_gtls_close(struct connectdata *conn); /* close a SSL connection */
 
32
 
 
33
 /* close a SSL connection */
 
34
void Curl_gtls_close(struct connectdata *conn, int sockindex);
33
35
 
34
36
/* return number of sent (non-SSL) bytes */
35
37
ssize_t Curl_gtls_send(struct connectdata *conn, int sockindex,