]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/anyp/UriScheme.cc
2 * DEBUG: section 23 URL Scheme parsing
3 * AUTHOR: Robert Collins, Amos Jeffries
6 #include "anyp/UriScheme.h"
9 AnyP::UriScheme::c_str() const
11 if (theScheme_
== AnyP::PROTO_UNKNOWN
)
14 static char out
[BUFSIZ
];
17 if (theScheme_
> AnyP::PROTO_NONE
&& theScheme_
< AnyP::PROTO_MAX
) {
18 const char *in
= AnyP::ProtocolType_str
[theScheme_
];
19 for (; p
< (BUFSIZ
-1) && in
[p
] != '\0'; ++p
)
20 out
[p
] = xtolower(in
[p
]);