Searched refs:fetch_read (Results 1 – 4 of 4) sorted by relevance
/freebsd/lib/libfetch/ |
H A D | common.h | 123 ssize_t fetch_read(conn_t *, char *, size_t);
|
H A D | common.c | 429 if (fetch_read(conn, buf, 2) != 2) { in fetch_socks5_init() 472 if (!fetch_read(conn, buf, BUFF_SIZE)) { in fetch_socks5_init() 1300 fetch_read(conn_t *conn, char *buf, size_t len) in fetch_read() function 1399 len = fetch_read(conn, &c, 1); in fetch_getln()
|
H A D | http.c | 224 if ((nbytes = fetch_read(io->conn, io->buf, len)) == -1) { in http_fillbuf() 250 if ((nbytes = fetch_read(io->conn, io->buf, len)) == -1) { in http_fillbuf() 259 if (fetch_read(io->conn, &ch, 1) != 1 || ch != '\r' || in http_fillbuf() 260 fetch_read(io->conn, &ch, 1) != 1 || ch != '\n') in http_fillbuf()
|
H A D | ftp.c | 512 r = fetch_read(io->dconn, buf, len); in ftp_readfn()
|