Searched refs:scheme (Results 1 – 3 of 3) sorted by relevance
| /libevent-2.1.12/sample/ |
| H A D | https-client.c | 222 const char *scheme, *host, *path, *query; in main() local 311 scheme = evhttp_uri_get_scheme(http_uri); in main() 312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main() 313 strcasecmp(scheme, "http") != 0)) { in main() 326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main() 432 if (strcasecmp(scheme, "http") == 0) { in main()
|
| /libevent-2.1.12/ |
| H A D | http.c | 1725 const char *scheme; in evhttp_parse_request_line() local 1889 if (scheme && (!evutil_ascii_strcasecmp(scheme, "http") || in evhttp_parse_request_line() 4482 char *scheme; /* scheme; e.g http, ftp etc */ member 4806 uri->scheme = mm_strdup(readp); in evhttp_uri_parse_with_flags() 4807 if (uri->scheme == NULL) { in evhttp_uri_parse_with_flags() 4936 URI_FREE_STR_(scheme); in evhttp_uri_free() 4963 if (uri->scheme) { in evhttp_uri_join() 4964 URI_ADD_(scheme); in evhttp_uri_join() 5014 return uri->scheme; in evhttp_uri_get_scheme() 5063 if (scheme && !scheme_ok(scheme, scheme+strlen(scheme))) in evhttp_uri_set_scheme() [all …]
|
| /libevent-2.1.12/include/event2/ |
| H A D | http.h | 1078 int evhttp_uri_set_scheme(struct evhttp_uri *uri, const char *scheme);
|