diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-17 08:05:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-17 08:05:46 +0000 |
commit | 8001921112f726c10caa09d0725f90230636dea6 (patch) | |
tree | 7e9bd378737fd740ba24e4f3e76520e3a617a91d /lib/url.h | |
parent | d7cb09bd18f98dd870198e9474f4315f48d28daa (diff) |
I made Curl_done() take a pointer-pointer in the first argument instead, and
if the connection is killed it blanks the pointer it points to, to make it
easier to detect usage problems whereever Curl_done() is used.
Diffstat (limited to 'lib/url.h')
-rw-r--r-- | lib/url.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,10 +1,10 @@ #ifndef __URL_H #define __URL_H /*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | - * / __| | | | |_) | | - * | (__| |_| | _ <| |___ + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al. @@ -12,7 +12,7 @@ * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at http://curl.haxx.se/docs/copyright.html. - * + * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. @@ -35,7 +35,7 @@ CURLcode Curl_connect(struct SessionHandle *, struct connectdata **, CURLcode Curl_async_resolved(struct connectdata *conn); CURLcode Curl_do(struct connectdata **); CURLcode Curl_do_more(struct connectdata *); -CURLcode Curl_done(struct connectdata *, CURLcode); +CURLcode Curl_done(struct connectdata **, CURLcode); CURLcode Curl_disconnect(struct connectdata *); CURLcode Curl_protocol_connect(struct connectdata *conn); bool Curl_ssl_config_matches(struct ssl_config_data* data, |