Searched refs:myhttp (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_http.c | 93 http_bind(struct evhttp *myhttp, ev_uint16_t *pport, int mask) in http_bind() argument 100 sock = evhttp_bind_socket_with_handle(myhttp, "::1", *pport); in http_bind() 102 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", *pport); in http_bind() 137 struct evhttp *myhttp; in http_setup_gencb() local 140 myhttp = evhttp_new(base); in http_setup_gencb() 142 if (http_bind(myhttp, pport, mask) < 0) in http_setup_gencb() 147 evhttp_set_bevcb(myhttp, https_bev, NULL); in http_setup_gencb() 151 evhttp_set_gencb(myhttp, cb, cbarg); in http_setup_gencb() 154 evhttp_set_cb(myhttp, "/test", http_basic_cb, myhttp); in http_setup_gencb() 155 evhttp_set_cb(myhttp, "/test nonconformant", http_basic_cb, myhttp); in http_setup_gencb() [all …]
|
H A D | regress_rpc.c | 78 struct evhttp *myhttp; in http_setup() local 82 myhttp = evhttp_new(NULL); in http_setup() 83 if (!myhttp) in http_setup() 87 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", 0); in http_setup() 94 return (myhttp); in http_setup()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_http.c | 93 http_bind(struct evhttp *myhttp, ev_uint16_t *pport, int mask) in http_bind() argument 100 sock = evhttp_bind_socket_with_handle(myhttp, "::1", *pport); in http_bind() 102 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", *pport); in http_bind() 137 struct evhttp *myhttp; in http_setup_gencb() local 140 myhttp = evhttp_new(base); in http_setup_gencb() 142 if (http_bind(myhttp, pport, mask) < 0) in http_setup_gencb() 147 evhttp_set_bevcb(myhttp, https_bev, NULL); in http_setup_gencb() 151 evhttp_set_gencb(myhttp, cb, cbarg); in http_setup_gencb() 154 evhttp_set_cb(myhttp, "/test", http_basic_cb, myhttp); in http_setup_gencb() 155 evhttp_set_cb(myhttp, "/test nonconformant", http_basic_cb, myhttp); in http_setup_gencb() [all …]
|
H A D | regress_rpc.c | 78 struct evhttp *myhttp; in http_setup() local 82 myhttp = evhttp_new(NULL); in http_setup() 83 if (!myhttp) in http_setup() 87 sock = evhttp_bind_socket_with_handle(myhttp, "127.0.0.1", 0); in http_setup() 94 return (myhttp); in http_setup()
|