From 492290499105496458c4f76abdaef115adb0ec4c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 17 Jul 2005 12:44:11 +0000 Subject: Simplified the code within curl_easy_perform() that calls Curl_perform(). Pointed out by Bjorn Reese. --- lib/url.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/url.h') diff --git a/lib/url.h b/lib/url.h index 7b3a76319..40b406c68 100644 --- a/lib/url.h +++ b/lib/url.h @@ -23,12 +23,15 @@ * $Id$ ***************************************************************************/ +#include /* to make sure we have ap_list */ + /* * Prototypes for library-wide functions provided by url.c */ CURLcode Curl_open(struct SessionHandle **curl); -CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...); +CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, + va_list arg); CURLcode Curl_close(struct SessionHandle *data); /* opposite of curl_open() */ CURLcode Curl_connect(struct SessionHandle *, struct connectdata **, bool *async, bool *protocol_connect); -- cgit v1.2.3