Searched refs:inbuf_length (Results 1 – 1 of 1) sorted by relevance
82 size_t inbuf_length, outbuf_length; member139 c->inbuf_length = c->outbuf_length = 0; in client_new()373 if (!(e = memchr(c->inbuf, '\n', c->inbuf_length))) in handle_input()380 c->inbuf_length -= k + 1; in handle_input()381 memmove(c->inbuf, e+1, c->inbuf_length); in handle_input()390 if ((events & AVAHI_WATCH_IN) && c->inbuf_length < sizeof(c->inbuf)) { in client_work()393 … if ((r = read(c->fd, c->inbuf + c->inbuf_length, sizeof(c->inbuf) - c->inbuf_length)) <= 0) { in client_work()400 c->inbuf_length += r; in client_work()401 assert(c->inbuf_length <= sizeof(c->inbuf)); in client_work()430 (c->inbuf_length < sizeof(c->inbuf) ? AVAHI_WATCH_IN : 0)); in client_work()