diff --git a/include/event2/event.h b/include/event2/event.h index dbc2bbc4..ac5f8797 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -100,11 +100,6 @@ int event_base_dispatch(struct event_base *); */ const char *event_base_get_method(struct event_base *); -/** - Return a bitmask of the features implemented by an event base. - */ -enum event_method_feature event_base_get_features(struct event_base *base); - /** Gets all event notification mechanisms supported by libevent. @@ -162,6 +157,11 @@ enum event_method_feature { EV_FEATURE_FDS = 0x04, } event_method_feature; +/** + Return a bitmask of the features implemented by an event base. + */ +enum event_method_feature event_base_get_features(struct event_base *base); + /** Enters a required event method feature that the application demands.