Searched refs:myhttp (Results 1 - 4 of 4) sorted by relevance
/freebsd-13-stable/contrib/libevent/test/ |
H A D | regress_rpc.c | 79 struct evhttp *myhttp; local 83 myhttp = evhttp_new(NULL); 84 if (!myhttp) 88 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", 0); 95 return (myhttp);
|
H A D | regress_http.c | 90 http_bind(struct evhttp *myhttp, ev_uint16_t *pport, int mask) argument 97 sock = evhttp_bind_socket_with_handle(myhttp, "::1", *pport); 99 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", *pport); 133 struct evhttp *myhttp; local 136 myhttp = evhttp_new(base); 138 if (http_bind(myhttp, pport, mask) < 0) 143 evhttp_set_bevcb(myhttp, https_bev, NULL); 148 evhttp_set_cb(myhttp, "/test", http_basic_cb, myhttp); 149 evhttp_set_cb(myhttp, "/larg 2341 struct evhttp *myhttp = NULL; local [all...] |
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_rpc.c | 79 struct evhttp *myhttp; local 83 myhttp = evhttp_new(NULL); 84 if (!myhttp) 88 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", 0); 95 return (myhttp);
|
H A D | regress_http.c | 98 http_bind(struct evhttp *myhttp, ev_uint16_t *pport, int ipv6) argument 104 sock = evhttp_bind_socket_with_handle(myhttp, "::1", *pport); 106 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", *pport); 126 struct evhttp *myhttp; local 129 myhttp = evhttp_new(base); 131 if (http_bind(myhttp, pport, ipv6) < 0) 135 evhttp_set_cb(myhttp, "/test", http_basic_cb, base); 136 evhttp_set_cb(myhttp, "/chunked", http_chunked_cb, base); 137 evhttp_set_cb(myhttp, "/streamed", http_chunked_cb, base); 138 evhttp_set_cb(myhttp, "/posti 2088 struct evhttp *myhttp = NULL; local [all...] |
Completed in 163 milliseconds