evbuffer_expand

Expands the available space in an evbuffer.

Expands the available space in the evbuffer to at least datlen, so that appending datlen additional bytes will not require any new allocations.

@param buf the evbuffer to be expanded @param datlen the new minimum length requirement @return 0 if successful, or -1 if an error occurred

extern (C) nothrow
int
evbuffer_expand
(,
size_t datlen
)

Meta