mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
31d89f274b
OpenSSL uses something like this to implement get/set access for properties on its BIOs, so that it doesn't need to add a pair of get/set functions to the vtable struct for every new abstract property it provides an accessor for. Doing this lets us make bufferevent_setfd abstract, and implement an abstract bufferevent_getfd. svn:r1284