#include <ios>
#include <memory>
#include <event2/event.h>
#include <event2/http.h>
Go to the source code of this file.
#define MAKE_RAII |
( |
|
type | ) |
|
Value:\
void operator()(
struct type* ob) {
\ }\
};\
\
typedef std::unique_ptr<struct type, type##_deleter> raii_##
typePlatformStyle::TableColorType type
Definition at line 14 of file events.h.
MAKE_RAII |
( |
evhttp_request |
| ) |
|
MAKE_RAII |
( |
evhttp_connection |
| ) |
|
raii_event obtain_event |
( |
struct event_base * |
base, |
|
|
evutil_socket_t |
s, |
|
|
short |
events, |
|
|
event_callback_fn |
cb, |
|
|
void * |
arg |
|
) |
| |
|
inline |
raii_event_base obtain_event_base |
( |
| ) |
|
|
inline |
raii_evhttp obtain_evhttp |
( |
struct event_base * |
base | ) |
|
|
inline |
raii_evhttp_connection obtain_evhttp_connection_base |
( |
struct event_base * |
base, |
|
|
std::string |
host, |
|
|
uint16_t |
port |
|
) |
| |
|
inline |
raii_evhttp_request obtain_evhttp_request |
( |
void(*)(struct evhttp_request *, void *) |
cb, |
|
|
void * |
arg |
|
) |
| |
|
inline |