summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-05 17:22:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-06 15:23:41 +0100
commitf52c6981c53ae55b3f9e9179c698a66bd2f7b655 (patch)
tree3e90890823addae75241108670137973fcba8d6d /src
parentab525c059eb44883db32c728a667a2a65974e37c (diff)
downloadcurl-f52c6981c53ae55b3f9e9179c698a66bd2f7b655.tar.gz
curl.h: add CURLPROTO_GOPHERS as own protocol identifier
Follow-up to a1f06f32b860, to make sure it can be handled separately from plain gopher. Closes #6418
Diffstat (limited to 'src')
-rw-r--r--src/tool_libinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tool_libinfo.c b/src/tool_libinfo.c
index 1b0f98e08..58088eab0 100644
--- a/src/tool_libinfo.c
+++ b/src/tool_libinfo.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, 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
@@ -55,15 +55,18 @@ CURLcode get_libcurl_info(void)
{ "ftp", CURLPROTO_FTP },
{ "ftps", CURLPROTO_FTPS },
{ "gopher", CURLPROTO_GOPHER },
+ { "gophers",CURLPROTO_GOPHERS},
{ "http", CURLPROTO_HTTP },
{ "https", CURLPROTO_HTTPS },
{ "imap", CURLPROTO_IMAP },
{ "imaps", CURLPROTO_IMAPS },
{ "ldap", CURLPROTO_LDAP },
{ "ldaps", CURLPROTO_LDAPS },
+ { "mqtt", CURLPROTO_MQTT },
{ "pop3", CURLPROTO_POP3 },
{ "pop3s", CURLPROTO_POP3S },
{ "rtmp", CURLPROTO_RTMP },
+ { "rtmps", CURLPROTO_RTMPS },
{ "rtsp", CURLPROTO_RTSP },
{ "scp", CURLPROTO_SCP },
{ "sftp", CURLPROTO_SFTP },