curl.h: add CURLPROTO_GOPHERS as own protocol identifier

Follow-up to a1f06f32b8, to make sure it can be handled separately
from plain gopher.

Closes #6418
This commit is contained in:
Daniel Stenberg 2021-01-05 17:22:09 +01:00
parent ab525c059e
commit f52c6981c5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 8 additions and 3 deletions

View file

@ -1016,6 +1016,7 @@ typedef CURLSTScode (*curl_hstswrite_callback)(CURL *easy,
#define CURLPROTO_SMB (1<<26)
#define CURLPROTO_SMBS (1<<27)
#define CURLPROTO_MQTT (1<<28)
#define CURLPROTO_GOPHERS (1<<29)
#define CURLPROTO_ALL (~0) /* enable everything */
/* long may be 32 or 64 bits, but we should never depend on anything else