Searched refs:cbuf_valid (Results 1 – 1 of 1) sorted by relevance
84 size_t cbuf_valid; member244 buf_avail = sizeof s->cbuf - s->cbuf_valid; in client_read()245 clientread = bufferevent_read(bufev, s->cbuf + s->cbuf_valid, in client_read()247 s->cbuf_valid += clientread; in client_read()249 while ((n = get_line(s->cbuf, &s->cbuf_valid)) > 0) { in client_read()552 s->cbuf_valid = 0; in init_session()