NeoMutt  2023-03-22
Teaching an old dog new tricks
DOXYGEN
private.h
Go to the documentation of this file.
1
23#ifndef MUTT_CONN_PRIVATE_H
24#define MUTT_CONN_PRIVATE_H
25
26#include <stddef.h>
27#include <time.h>
28
29struct Connection;
30
31int raw_socket_close(struct Connection *conn);
32int raw_socket_open (struct Connection *conn);
33int raw_socket_poll (struct Connection *conn, time_t wait_secs);
34int raw_socket_read (struct Connection *conn, char *buf, size_t len);
35int raw_socket_write(struct Connection *conn, const char *buf, size_t count);
36
37void mutt_tunnel_socket_setup(struct Connection *conn);
38
39#endif /* MUTT_CONN_PRIVATE_H */
void mutt_tunnel_socket_setup(struct Connection *conn)
Sets up tunnel connection functions.
Definition: tunnel.c:233
int raw_socket_close(struct Connection *conn)
Close a socket - Implements Connection::close() -.
Definition: raw.c:374
int raw_socket_open(struct Connection *conn)
Open a socket - Implements Connection::open() -.
Definition: raw.c:129
int raw_socket_poll(struct Connection *conn, time_t wait_secs)
Checks whether reads would block - Implements Connection::poll() -.
Definition: raw.c:336
int raw_socket_read(struct Connection *conn, char *buf, size_t len)
Read data from a socket - Implements Connection::read() -.
Definition: raw.c:276
int raw_socket_write(struct Connection *conn, const char *buf, size_t count)
Write data to a socket - Implements Connection::write() -.
Definition: raw.c:306