MCPcopy Create free account
hub / github.com/apache/httpd / attr_char

Function attr_char

modules/http2/h2_proxy_util.c:753–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751} link_ctx;
752
753static int attr_char(char c)
754{
755 switch (c) {
756 case '!':
757 case '#':
758 case '$':
759 case '&':
760 case '+':
761 case '-':
762 case '.':
763 case '^':
764 case '_':
765 case '`':
766 case '|':
767 case '~':
768 return 1;
769 default:
770 return apr_isalnum(c);
771 }
772}
773
774static int ptoken_char(char c)
775{

Callers 1

skip_pnameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected