Home
last modified time | relevance | path

Searched refs:fetch_read (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libfetch/
H A Dcommon.h123 ssize_t fetch_read(conn_t *, char *, size_t);
H A Dcommon.c429 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 Dhttp.c224 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 Dftp.c512 r = fetch_read(io->dconn, buf, len); in ftp_readfn()