13 #ifndef TOR_BUFFERS_NET_H
14 #define TOR_BUFFERS_NET_H
int buf_flush_to_socket(struct buf_t *buf, tor_socket_t s, size_t sz)
int buf_read_from_pipe(struct buf_t *buf, int fd, size_t at_most, int *reached_eof, int *socket_error)
int buf_read_from_socket(struct buf_t *buf, tor_socket_t s, size_t at_most, int *reached_eof, int *socket_error)
int buf_flush_to_pipe(struct buf_t *buf, int fd, size_t sz)