| 1 | See https://github.com/libevent/libevent/pull/442 |
| 2 | |
| 3 | diff -u -r ../libevent-release-2.1.8-stable/include/event2/bufferevent_compat.h ./include/event2/bufferevent_compat.h |
| 4 | --- ../libevent-release-2.1.8-stable/include/event2/bufferevent_compat.h 2017-01-26 00:37:15.000000000 +0100 |
| 5 | +++ ./include/event2/bufferevent_compat.h 2017-01-28 00:45:04.068858074 +0100 |
| 6 | @@ -72,6 +72,7 @@ |
| 7 | error occurred |
| 8 | @see bufferevent_base_set(), bufferevent_free() |
| 9 | */ |
| 10 | +EVENT2_EXPORT_SYMBOL |
| 11 | struct bufferevent *bufferevent_new(evutil_socket_t fd, |
| 12 | evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg); |
| 13 | |
| 14 | @@ -83,6 +84,7 @@ |
| 15 | @param timeout_read the read timeout |
| 16 | @param timeout_write the write timeout |
| 17 | */ |
| 18 | +EVENT2_EXPORT_SYMBOL |
| 19 | void bufferevent_settimeout(struct bufferevent *bufev, |
| 20 | int timeout_read, int timeout_write); |
| 21 | |