| 43 | } |
| 44 | |
| 45 | inline raii_evhttp_request obtain_evhttp_request(void(*cb)(struct evhttp_request *, void *), void *arg) { |
| 46 | return raii_evhttp_request(evhttp_request_new(cb, arg)); |
| 47 | } |
| 48 | |
| 49 | inline raii_evhttp_connection obtain_evhttp_connection_base(struct event_base* base, std::string host, uint16_t port) { |
| 50 | auto result = raii_evhttp_connection(evhttp_connection_base_new(base, nullptr, host.c_str(), port)); |
no outgoing calls
no test coverage detected