summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2006-02-21 17:16:09 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2006-02-21 17:16:09 +0100
commite4206de3f50195955efd7ddb324719eb9d163416 (patch)
tree3b249dc446aa1b6ffe2b4434804490264341f234 /keyserver/curl-shim.h
parent* gpgv.c: Stub keyserver_import_ldap. (diff)
downloadgnupg2-e4206de3f50195955efd7ddb324719eb9d163416.tar.xz
gnupg2-e4206de3f50195955efd7ddb324719eb9d163416.zip
* curl-shim.h, curl-shim.c (curl_easy_init, curl_easy_setopt,
curl_easy_perform): Add CURLOPT_VERBOSE and CURLOPT_STDERR for easier debugging.
Diffstat (limited to 'keyserver/curl-shim.h')
-rw-r--r--keyserver/curl-shim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/keyserver/curl-shim.h b/keyserver/curl-shim.h
index f8a111466..7fee3b70f 100644
--- a/keyserver/curl-shim.h
+++ b/keyserver/curl-shim.h
@@ -1,5 +1,5 @@
/* curl-shim.h
- * Copyright (C) 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2005, 2006 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
@@ -66,10 +66,12 @@ typedef struct
void *file;
char *postfields;
unsigned int status;
+ FILE *stderr;
struct
{
unsigned int post:1;
unsigned int failonerror:1;
+ unsigned int verbose:1;
} flags;
struct http_context hd;
} CURL;