diff options
author | Ben Burwell <ben@benburwell.com> | 2020-05-21 15:00:11 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2020-05-21 18:38:31 -0400 |
commit | c365f2cb4ffcbef02d2e9a5e17aa9d7f1fe81df7 (patch) | |
tree | 6edbb7f1c12a8afbde06a56423a1c5092a9dbacd /lib/gemini.h | |
parent | 5d965b48987457eb0db01c2eb65712aec37e49f5 (diff) |
Add gemini protocol support
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.h | 29 |
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 */ |