Searched refs:cbuf_valid (Results 1 – 1 of 1) sorted by relevance
87 size_t cbuf_valid; member247 buf_avail = sizeof s->cbuf - s->cbuf_valid; in client_read()248 clientread = bufferevent_read(bufev, s->cbuf + s->cbuf_valid, in client_read()250 s->cbuf_valid += clientread; in client_read()252 while ((n = get_line(s->cbuf, &s->cbuf_valid)) > 0) { in client_read()555 s->cbuf_valid = 0; in init_session()