1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* curl-shim.h, curl-shim.c: New. This is code to fake the curl API in

terms of the current HTTP iobuf API.

* gpgkeys_curl.c [FAKE_CURL], Makefile.am: If FAKE_CURL is set, link with
the iobuf code rather than libcurl.
This commit is contained in:
David Shaw 2005-02-11 18:05:13 +00:00
parent 8ba44ec180
commit 25001837e9
5 changed files with 243 additions and 0 deletions

View file

@ -27,7 +27,11 @@
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#ifdef FAKE_CURL
#include "curl-shim.h"
#else
#include <curl/curl.h>
#endif
#include "keyserver.h"
#include "ksutil.h"