]> granicus.if.org Git - libevent/commit
Add function to fetch underlying ratelimit cfg
authorMark Ellzey <mark.thomas@mandiant.com>
Thu, 11 Jul 2013 16:31:39 +0000 (12:31 -0400)
committerMark Ellzey <mark.thomas@mandiant.com>
Thu, 11 Jul 2013 16:31:39 +0000 (12:31 -0400)
commit4b3d5af8e2ccc5a6ec29922869bdeac40d15c854
tree2a9462de3efa894850d7e4bf3aa327856029275b
parentc3260cb97497005767f31d4ad89415d83c062ea3
Add function to fetch underlying ratelimit cfg

bufferevent_get_token_bucket_cfg() will return the struct ev_token_bucket_cfg
for a bufferevent if available.
bufferevent_ratelim.c
include/event2/bufferevent.h
test/test-ratelim.c