aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
commit08ef208fb78fb2eabc5cec08c23e74e251eac898 (patch)
treec52fa36be6197717f9ab12031a623091d785b51c /lib/setup.h
parent8c45e2a6415a3a12231b88cd2791141ec809d163 (diff)
added disable-[protocol] support, largely provided by Miklos Nemeth
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index fef994297..2bd0588e8 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -23,7 +23,17 @@
* $Id$
*****************************************************************************/
-
+/* MN 06/07/02 */
+/* #define HTTP_ONLY
+*/
+#ifdef HTTP_ONLY
+#define CURL_DISABLE_FTP
+#define CURL_DISABLE_LDAP
+#define CURL_DISABLE_TELNET
+#define CURL_DISABLE_DICT
+#define CURL_DISABLE_FILE
+#define CURL_DISABLE_GOPHER
+#endif
#if !defined(WIN32) && defined(_WIN32)
/* This _might_ be a good Borland fix. Please report whether this works or