/* Bitmask of all HTTP methods that we accept and pass to user
* callbacks. */
- ev_uint16_t allowed_methods;
+ ev_uint32_t allowed_methods;
/* Fallback callback if all the other callbacks for this connection
don't match. */
}
void
-evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods)
+evhttp_set_allowed_methods(struct evhttp* http, ev_uint32_t methods)
{
http->allowed_methods = methods;
}
@param methods bit mask constructed from evhttp_cmd_type values
*/
EVENT2_EXPORT_SYMBOL
-void evhttp_set_allowed_methods(struct evhttp* http, ev_uint16_t methods);
+void evhttp_set_allowed_methods(struct evhttp* http, ev_uint32_t methods);
/**
Set a callback for a specified URI