Lines Matching defs:line
52 * httpGets() - Get a line of text from a HTTP connection.
65 * blank line.
1273 * 'httpGets()' - Get a line of text from a HTTP connection.
1277 httpGets(char *line, /* I - Line to read into */
1281 char *lineptr, /* Pointer into line */
1287 DEBUG_printf(("httpGets(line=%p, length=%d, http=%p)\n", line, length, http));
1289 if (http == NULL || line == NULL)
1337 * Nope, can't get a line this time...
1383 * Read a line from the buffer...
1386 lineptr = line;
1414 DEBUG_printf(("httpGets: Returning \"%s\"\n", line));
1415 return (line);
1418 DEBUG_puts("httpGets: No new line available!");
1554 char line[1024], /* Line from connection... */
1555 *value; /* Pointer to value on line */
1574 line[0] = '\0';
1575 while (httpGets(line, sizeof(line), http) != NULL)
1577 DEBUG_printf(("httpUpdate: Got \"%s\"\n", line));
1579 if (line[0] == '\0')
1582 * Blank line means the start of the data section (if any). Return
1633 else if (strncmp(line, "HTTP/", 5) == 0)
1639 if (sscanf(line, "HTTP/%d.%d%d", &major, &minor, &status) != 3)
1645 else if ((value = strchr(line, ':')) != NULL)
1659 if (!strcasecmp(line, "expect"))
1667 else if (!strcasecmp(line, "cookie"))
1675 else if ((field = http_field(line)) == HTTP_FIELD_UNKNOWN)
1677 DEBUG_printf(("httpUpdate: unknown field %s seen!\n", line));
1978 * 'http_send()' - Send a request with all fields and the trailing blank line.