aboutsummaryrefslogtreecommitdiff
path: root/lib/gemini.h
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-05-21 15:00:11 -0400
committerBen Burwell <ben@benburwell.com>2020-06-16 20:30:15 -0400
commitd8c87b67316fa87fdb9bd5c8b6b1d3291d9ebc9f (patch)
tree11fa34fa971880d47df6e8bfbf98bb3796ff0025 /lib/gemini.h
parent477a4e31d724a9e14f92092c3d2ec8e486b99403 (diff)
Add gemini protocol supportHEADmaster
The gemini protocol's "speculative specification" is documented at the following URLs: https://gemini.circumlunar.space/docs/spec-spec.txt gopher://gemini.circumlunar.space/1/docs/spec-spec.txt gemini://gemini.circumlunar.space/docs/spec-spec.txt This patch introduces preliminary support for version 0.11.0 of the specification, as of March 1st 2020.
Diffstat (limited to 'lib/gemini.h')
-rw-r--r--lib/gemini.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/gemini.h b/lib/gemini.h
new file mode 100644
index 000000000..54cc6afd0
--- /dev/null
+++ b/lib/gemini.h
@@ -0,0 +1,29 @@
+#ifndef HEADER_CURL_GEMINI_H
+#define HEADER_CURL_GEMINI_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at https://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+
+#ifndef CURL_DISABLE_GEMINI
+extern const struct Curl_handler Curl_handler_gemini;
+#endif
+
+#endif /* HEADER_CURL_GEMINI_H */