Home | History | Annotate | Download | only in libevent

Lines Matching refs:inbuf

100 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf)
107 size_t oldoff = inbuf->off;
111 SWAP(outbuf, inbuf);
112 SWAP(inbuf, &tmp);
117 * of data that we transfered from inbuf to outbuf
119 if (inbuf->off != oldoff && inbuf->cb != NULL)
120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg);
127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off);
130 evbuffer_drain(inbuf, inbuf->off);