aboutsummaryrefslogtreecommitdiffstats
path: root/curl.h
diff options
context:
space:
mode:
Diffstat (limited to 'curl.h')
-rw-r--r--curl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/curl.h b/curl.h
new file mode 100644
index 0000000..7507d78
--- /dev/null
+++ b/curl.h
@@ -0,0 +1,5 @@
+#ifdef HAVE_LIBCURL
+extern int curl_is_url(const char *url);
+#else
+static inline int curl_is_url(const char *url) { return 0; }
+#endif