]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/anyp/ProtocolType.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / anyp / ProtocolType.h
index a3b4b2c6108da36001ee079c319934ac1310948a..6e2542b9857337c2f2fe4df1f08ad1f5cf9fd60a 100644 (file)
@@ -1,9 +1,15 @@
+/*
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 #ifndef _SQUID_SRC_ANYP_PROTOCOLTYPE_H
 #define _SQUID_SRC_ANYP_PROTOCOLTYPE_H
 
-#if HAVE_OSTREAM
 #include <ostream>
-#endif
 
 namespace AnyP
 {
@@ -18,6 +24,8 @@ typedef enum {
     PROTO_HTTP,
     PROTO_FTP,
     PROTO_HTTPS,
+    PROTO_COAP,
+    PROTO_COAPS,
     PROTO_GOPHER,
     PROTO_WAIS,
     PROTO_CACHE_OBJECT,
@@ -27,11 +35,10 @@ typedef enum {
 #endif
     PROTO_URN,
     PROTO_WHOIS,
-    PROTO_INTERNAL, // miss on an internal object such as an icon
     PROTO_ICY,
-#if USE_SSL
-    PROTO_SSL_PEEK, // an internal request to peek at an HTTPS server
-#endif
+    PROTO_TLS,
+    PROTO_SSL,
+    PROTO_AUTHORITY_FORM,
     PROTO_UNKNOWN,
     PROTO_MAX
 } ProtocolType;
@@ -55,3 +62,4 @@ operator <<(std::ostream &os, ProtocolType const &p)
 } // namespace AnyP
 
 #endif /* _SQUID_SRC_ANYP_PROTOCOLTYPE_H */
+