Lines Matching refs:linebuf
64 char linebuf[CTRL_LINEBUF_SIZE];
164 cmd = utils_string_unescape(slave->linebuf);
407 offs = strlen(it->linebuf);
408 res = recv(it->sock, it->linebuf + offs, CTRL_LINEBUF_SIZE - offs, 0);
412 if (it->linebuf[CTRL_LINEBUF_SIZE - 1] != '\0' &&
413 it->linebuf[CTRL_LINEBUF_SIZE - 1] != '\n')
423 if ((p = strchr(it->linebuf, '\n')) == NULL)
430 if (p > it->linebuf && *(p - 1) != '\\')
439 /* strip new linebuf and dispatch command */
442 memset(it->linebuf, 0, CTRL_LINEBUF_SIZE);