Compatibility: libevent: accessors for struct event
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 16 Sep 2015 21:15:19 +0000 (14:15 -0700)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Wed, 16 Sep 2015 22:20:18 +0000 (15:20 -0700)
commit99eb3f45bba336163f28cefe5d549731ea4a886b
tree788a49cad3baee11a0065ddf503aa6950f9d3cb3
parent21bbc9a92ad4d0368212c00af8afd1f071a19500
Compatibility: libevent: accessors for struct event

Summary: [Folly] Compatibility: libevent: accessors for `struct event`.

Some libevent fields in `struct event` moved between `v1.4` and `v2`. Add some accessors which are defined per-libevent-version.

Reviewed By: @JoelMarcey

Differential Revision: D2447537
folly/io/async/AsyncTimeout.cpp
folly/io/async/EventBase.cpp
folly/io/async/EventHandler.cpp
folly/io/async/EventUtil.h