~ubuntu-branches/ubuntu/lucid/curl/lucid-security

« back to all changes in this revision

Viewing changes to lib/url.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-12 15:04:52 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212150452-2ymlra67b2p7kjyy
Tags: 7.15.1-1ubuntu1
Resynchronise with Debian to get URL parser overflow fix from 7.15.1
(CVE-2005-4077).

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: url.h,v 1.22 2005/04/07 15:27:14 bagder Exp $
 
23
 * $Id: url.h,v 1.23 2005/07/17 12:44:11 bagder Exp $
24
24
 ***************************************************************************/
25
25
 
 
26
#include <stdarg.h> /* to make sure we have ap_list */
 
27
 
26
28
/*
27
29
 * Prototypes for library-wide functions provided by url.c
28
30
 */
29
31
 
30
32
CURLcode Curl_open(struct SessionHandle **curl);
31
 
CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...);
 
33
CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
 
34
                     va_list arg);
32
35
CURLcode Curl_close(struct SessionHandle *data); /* opposite of curl_open() */
33
36
CURLcode Curl_connect(struct SessionHandle *, struct connectdata **,
34
37
                      bool *async, bool *protocol_connect);