bufferevent_decrement_read_limit

@name Rate limit manipulation

Subtract a number of bytes from a bufferevent's read or write bucket. The decrement value can be negative, if you want to manually refill the bucket. If the change puts the bucket above or below zero, the bufferevent will resume or suspend reading writing as appropriate. These functions make no change in the buckets for the bufferevent's group, if any.

Returns 0 on success, -1 on internal error.

@{

extern (C) nothrow
int
bufferevent_decrement_read_limit

Meta