aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-06 22:53:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-06 22:53:50 +0000
commit9f4f16b55d7df262774aee227933347e0ae3846e (patch)
tree26ebae60a02e272ec1fb8d2ead8dfc7559372fd5 /lib/urldata.h
parente05922c4285bf72b2246c9909703c7411f98163b (diff)
new getpass proto and function pointer usage
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 857e5e93f..5f5bb7b95 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -435,6 +435,10 @@ struct UrlData {
curl_progress_callback fprogress;
void *progress_client; /* pointer to pass to the progress callback */
+ /* function to call instead of the internal for password */
+ curl_passwd_callback fpasswd;
+ void *passwd_client; /* pointer to pass to the passwd callback */
+
long timeout; /* in seconds, 0 means no timeout */
long infilesize; /* size of file to upload, -1 means unknown */